Created
February 3, 2016 02:37
-
-
Save etoxin/6470da753aabc99945ea to your computer and use it in GitHub Desktop.
Chat App in a tweet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r=require,f='<form><input name=m>';r('http').createServer((q,s)=>s.end(f=('<p>'+(r('querystring').parse(q.url)['/?m']||'')+f))).listen(3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment