HTML5+Bottle=Chat Client+Server

315 views
Skip to first unread message

Juan Carlos Ojeda

unread,
Jul 1, 2011, 9:23:21 PM7/1/11
to bott...@googlegroups.com
People from the List, i have done an HTML5+Bottle Proyect,
Its a Web Chat Server and Client, it includes :
  • 1 HTML5 Chat Client of only 1 Line, Real-Time.
  • 1 HTML5 Chat Client full featured, Conectivity detection, Local Echo, AntiSpamm, Limited Anti-Flood,Real-Time.
  • 1 Chat Server pure Python.
  • 1 Core Server Bottle for Chat.
Its on Spanish, but you can traduce it :)
Usage and Debug:

juan@natty:~/chat-html5$ python webchatserver.py

Bottle server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8000/
Use Ctrl-C to quit.

No PYTHON-PSYCO avaliable...
Starting Python HTML5 Chat Server on
linux2 with 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2]
Using Local Port TCP/9999
localhost - - [30/Jun/2011 02:01:28] "GET / HTTP/1.1" 200
Connected from ('127.0.0.1', 59066), Hello!
TCP 3-Way HandShake on Port 9999 in progress...
Waiting Data from ('127.0.0.1', 59066)...
OK!
Incoming Chats from ('127.0.0.1', 59067) said "hello world"
Waiting Data from ('127.0.0.1', 59067)...
OK!
No Data
Client Disconnected:('127.0.0.1', 59066), Bye.
^C
Shutting down...
juan@natty:~/chat-html5$

I dont have too much time to write this right now..., 
but maybe we can add an "Appliances" or "Demos" small section on the Bottle Website,
just like Web2Py does for example: http://web2py.com/appliances 
and put some ready-to-run examples there (.tar.gz's), like a Showcase of the framework,
What do you say DefNull ?

--
.
chat-html5.tar.gz

john mahugu

unread,
Jul 5, 2011, 1:08:38 PM7/5/11
to bott...@googlegroups.com, juancar...@ubuntu.com
great work! i agree that we should have an appliances section, cant imagine how i struggled to get staic files served, it would have helped to have an example.

Juan Carlos Ojeda

unread,
Jul 12, 2011, 1:02:37 PM7/12/11
to bott...@googlegroups.com
On Tue, Jul 5, 2011 at 2:08 PM, john mahugu <johnm...@gmail.com> wrote:
great work! i agree that we should have an appliances section, cant imagine how i struggled to get staic files served, it would have helped to have an example.

People, iam trying to add Live Video, with Bottle, WebM, HTML5;
not working yet, if anyone want to help...

bazaar:

--
.
Reply all
Reply to author
Forward
0 new messages