Simple telnet server for write.as http://nerds.write.as
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Matt Baer 0b03cfa2c1 Attempt to happily accept all UTF-8 chars 9 anni fa
.gitignore Telnet server for nerds.write.as 9 anni fa
.travis.yml Add Travis CI config 9 anni fa
LICENSE Initial commit 9 anni fa
README.md Add server configuration with command args 9 anni fa
banner.txt Telnet server for nerds.write.as 9 anni fa
telnet.go Attempt to happily accept all UTF-8 chars 9 anni fa

README.md

Write.as

Build Status

This is a simple telnet-based interface for publishing text. Users connect and paste / type what they want to publish. Upon indicating that they’re finished, a link is generated to access their new post on the web.

Try it

telnet nerds.write.as

Run it yourself

Usage:
  telnet [options]

Options:
  --debug
       Enables garrulous debug logging.
  -o   
       Directory where text files will be stored.
  -s
       Directory where required static files exist (like the banner).
  -h
       Hostname of the server to rsync saved files to.
  -p
       Port to listen on.

The default configuration (without any flags) is essentially:

telnet -o /var/write -s . -p 2323

How it works

The user’s input is simply written to a flat file in a given directory. To provide web access, a web server (sold separately) serves all files in this directory as plain/text. That’s it!

License

This project is licensed under the MIT open source license.