Simple readline irc client in Golang
lk86 / went Goto Github PK
View Code? Open in Web Editor NEWGolang Irc Client
Golang Irc Client
Just highlight a whole line when it starts with your current nick? or something more complicated? Use colons to be smart somehow? What does irssi do?
Some of the earliest code left, still likely buggy, defintely hard to read/work with
Should the prompt show your nick by default? should it allow custom prompt strings? Can I do this without parsing?
the readline library supports autocompletion via a custom function. Maybe use /names output?
Should be relatively easy due to recent refactoring
maybe nick color = default, auto, or a selected color
same for "window" color
and self color too
possibly more items? like "server" color or "accent" color (which would not have an auto option)?
Specifically SendPM, dispErr
should be pretty easy, need to put together the protocol messages
Currently, everything is underscore_based instead of the suggested smallCaps, which will make a difference when splitting things into libraries and imports
Possibly using the mirc system?
Possibly pre-hash all of the names in a channel? (could be an issue for huge channels) (async?)
hash table that populated with 256 colors when more new colors come up? (still requires 'hashing' each time a message is recieved)
Especially in the server processing. If the irc struct can apply to errors, everything can be dispMsg and the case statement can just "return" a struct, that gets displayed (similar to how procinput works)
most server messages are given verbatim or ignored. need to make these more useful to give the client context, and not look terrible.
how do? custom parsing? simple format that leverages the existing flag parsing?
Should it have a windowed mode that re-renders the text when you switch back and forth instead of just listing out all of the messages?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.