Skip to content

Textual IRC theme (style) with auto light/dark modes, Emoji emotes and auto-correction features.

License

Notifications You must be signed in to change notification settings

nanoant/textual-chatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatter Modified Style for Textual

This is modified version of original Chatter style for Textual 5 with more Yosemite look.

Screenshot

You can install theme via command line:

cd ~/Library/Group\ Containers/8482Q6EPL6.com.codeux.irc.textual/Library/Application Support/Textual/Styles
git clone https://github.com/nanoant/textual-chatter.git

Original Style Features

Auto Light and Dark Mode Switching

Chatter will automatically switch its color scheme from light to dark based on the "Darken main window colors" setting, found in Textual Preferences → Interface → General:

Textual Prefs Screenshot

Auto Correction System

Chatter has an automatic correction system that works by looking for messages that start or end with an asterisk (which many people do anyway). It then uses an algorithm to try to figure out which word(s) you meant to correct, and actually makes the correction inline, highlighting it yellow. For example, if you typed these two messages:

	Now is the time for all good men to come to the aid of their county.
	*country

Chatter would assume *country is a correction, and locate the best-matching word(s) in your previously typed messages in the same channel. In this case it would correct the word county.

Note that only people who have the Chatter theme will "see" the corrections being made, as they are done at render time inside Textual. Other users will just see the *country message on its own line.

Regex Replace

Chatter also looks for the standard Perl-style regular expression match + replace syntax, and applies the correction to your previously typed messages. The syntax is: s/MATCH/REPLACE/. So for example, if you typed these two messages:

	Now is the time for all good men to come to the aid of their county.
	s/county/country/

Chatter would assume s/county/country/ is a correction, and locate matching word(s) in your previously typed messages in the same channel. In this case it would change the word county to country.

Single Character Auto-Append

How many times do you see people leaving a single character off the end of a sentence, then typing it on a subsequent line? Chatter detects this, and auto-appends the character to the previous line, highlighting it in yellow.

Emoji Emotes

Chatter will show Emoji for common emote character sequences. Here is the conversion table:

Emoji Emote Map

Conversions will only take place if the character sequence is surrounded by whitespace or nothing. So you should never see accidental emotes show up in URLs, etc.

Smart Time Stamps

Chatter hides all message time stamps unless the minute changes. However, you can roll your mouse over the right-hand gutter to see a tooltip of the selected message's timestamp, even if it is invisible.

This is based on a feature in Skylight.

Repeat Authors

Chatter hides the nickname for repeated subsequent messages from the same author.

This is based on a feature in Skylight.

Fixed Width Nickname Gutter

Chatter has a fixed width area for nicknames, which is much better for reading chats, in my opinion. If nicknames are too long to fit, they are chopped with an ellipsis.

This is based on a feature in Skylight.

Copyright and Legal

Chatter for Textual is copyright (c) 2013 - 2014 by Joseph Huckaby and PixlCore.com. It is released under the MIT License (see below).

Note that this software ships with some bundled 3rd party software libraries:

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Textual IRC theme (style) with auto light/dark modes, Emoji emotes and auto-correction features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.3%
  • CSS 5.6%
  • HTML 0.1%