epicmorphism 80984de649 receive /NAMES properly (kinda?? lol) | 4 年之前 | |
---|---|---|
private | 4 年之前 | |
LICENSE | 4 年之前 | |
README.md | 4 年之前 | |
api.rkt | 4 年之前 | |
chat.rkt | 4 年之前 | |
ircd.rkt | 4 年之前 | |
macros.rkt | 4 年之前 | |
main.rkt | 4 年之前 |
This projects aims to create a bridge for the chat programed used in MoveNight. So far, this is work in progress. At the moment it is a simple IRC server that relays messages back and forth. Unfortunately, error handling is abscent, and errors from the MoveNight chat are not propagated. But hey, it kinda works.
By default, the ircd binds on port 6667 on all the available addresses.
Use the command line options --port
and --host
to change that.
The command line option --url
specifies the URL for the MovieNight chat server
(usually it is wss://movie-night-domain/ws
).
To produce logs set the env variables PLTSTDOUT or PLTSTDERR to "warning" or "info". See the Racket docs on loggers for details.
Coming soon...
This developement is known to work on Racket v7.5 with packages:
raco pkg install rfc6455
)Build it with raco make main.rkt
and run racket main.rkt
.
Or: build native with raco exe main.rkt
.