57
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''[https://github.com/londonhackspace/irccat | '''[https://github.com/londonhackspace/irccat IRCCat]''' is now in the progress of being migrated to [[Lamarr#Chomsky|Chomsky]], to help link [[IRC]] to things happening in the space. The documentation below reflects the refreshed instance on [[Lamarr#Chomsky|Chomsky]]. | ||
== Contributing commands == | == Contributing commands == | ||
Line 7: | Line 7: | ||
=== Persistent commands === | === Persistent commands === | ||
We (the maintainers) of Robonaut maintain a supervised set of persistent commands on [https://github.com/londonhackspace/irccat-commands]. If one wants to add a command to the persistent set of commands, one would need to fork this repository and issue a pull request so we can safeguard the quality of essential and commonly used commands. Each revision will have to go through this process. | We (the maintainers) of Robonaut maintain a supervised set of persistent commands on [https://github.com/londonhackspace/irccat-commands irccat-commands]. If one wants to add a command to the persistent set of commands, one would need to fork this repository and issue a pull request so we can safeguard the quality of essential and commonly used commands. Each revision will have to go through this process. | ||
=== Contributed commands === | === Contributed commands === | ||
Line 17: | Line 17: | ||
One of the major changes to Robonaut compared to the old instance running on babbage is that write access to the persistent commands directory is prohibited, and that all data should be written to <code>/opt/irccat/irccat-data</code>. While it would also be possible to write to <code>/opt/irccat/irccat-commands-contrib</code>, this would be a very bad idea since this would prevent you from promoting your command to a persistent command. All commands writing outside of the <code>/opt/irccat/irccat-data</code> will be rejected, as well as commands which don't perform proper input filtering and thus offer an opportunity to write outside this directory. | One of the major changes to Robonaut compared to the old instance running on babbage is that write access to the persistent commands directory is prohibited, and that all data should be written to <code>/opt/irccat/irccat-data</code>. While it would also be possible to write to <code>/opt/irccat/irccat-commands-contrib</code>, this would be a very bad idea since this would prevent you from promoting your command to a persistent command. All commands writing outside of the <code>/opt/irccat/irccat-data</code> will be rejected, as well as commands which don't perform proper input filtering and thus offer an opportunity to write outside this directory. | ||
== Robonaut Commands == | == Robonaut Commands == | ||
Line 129: | Line 121: | ||
*patriot - initiates enforced patriotism mode | *patriot - initiates enforced patriotism mode | ||
== Important Paths == | |||
=== Proposed commands to be implemented soon === | |||
(work in progress by xk_id) | |||
*last20 - PMs the most recent 20 chatlines (useful when you've just joined the room) | |||
*addquote <quote> - used in PM only, it adds the quote to the wiki list of IRC quotes. | |||
== Administrative Notes == | |||
To start robonaut, from [[Lamarr#Chomsky|Chomsky]] run the following commands: | |||
# /etc/init.d/irccat start | |||
For some bizzaro reason, irccat requires a TCP connection to localhost (and doesn't time out if it can't establish one), so I've also run this: | |||
$ sudo ip6tables -I INPUT 2 -i lo -j ACCEPT | |||
=== Important Paths == | |||
* Data directory: <code>/opt/irccat/irccat-data</code> | * Data directory: <code>/opt/irccat/irccat-data</code> | ||
Line 135: | Line 143: | ||
* Persistent scripts directory: <code>/opt/irccat/irccat-commands</code> | * Persistent scripts directory: <code>/opt/irccat/irccat-commands</code> | ||
* IRCcat installation directory: <code>/opt/irccat/irccat-bin</code> | * IRCcat installation directory: <code>/opt/irccat/irccat-bin</code> | ||
[[Category:Reference]] | [[Category:Reference]] |