Skip to content

Commit

Permalink
make orbited standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
tpetr committed Jan 20, 2011
1 parent e357d36 commit 9f380f1
Show file tree
Hide file tree
Showing 92 changed files with 17,306 additions and 2 deletions.
12 changes: 12 additions & 0 deletions bin/orbited
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python

import os, sys
ROOT_PATH = os.path.abspath("%s/.." % os.path.dirname(__file__))

if os.path.join(ROOT_PATH, 'lib/') not in sys.path:
sys.path.insert(0, os.path.join(ROOT_PATH, 'lib/'))


from orbited.start import main

main()
2 changes: 1 addition & 1 deletion etc/orbited.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[listen]
http://:9000
stomp://:61613 stomp.cfg
stomp://:61613

[access]
* -> localhost:61613
Expand Down
1 change: 0 additions & 1 deletion etc/stomp.cfg

This file was deleted.

1 change: 1 addition & 0 deletions lib/orbited
18 changes: 18 additions & 0 deletions src/orbited-0.7.10/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Metadata-Version: 1.0
Name: orbited
Version: 0.7.10
Summary: A browser(javascript)->tcp bridge; Comet is used to emulate TCP connections in the browser; Allows you to connect a web browser directly to an IRC or XMPP server, for instance.
Home-page: http://www.orbited.org
Author: Michael Carter
Author-email: [email protected]
License: MIT License
Download-URL: http://www.orbited.org/download
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
57 changes: 57 additions & 0 deletions src/orbited-0.7.10/orbited-debug.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[global]
session.ping_interval = 10
session.ping_timeout = 5
user=orbited

[listen]
http://:8000
http://:5000
echo://:8001
lineecho://:8002
rude://:8003
announce://:8004
monitor://:8005
stomp://:61613
# uncomment to enable ssl on port 8043 using given .key and .crt files
#https://:8043
#
#[ssl]
#key=orbited.key
#crt=orbited.crt

[test]
stompdispatcher.enabled = 1

[static]

[access]
# freenode irc:
* -> irc.freenode.net:6667
# local stomp:
* -> localhost:61613
# local irc:
* -> localhost:6667
# local jabber/xmpp:
* -> localhost:5222
# local websocket:
* -> localhost:81
# local test port:
* -> localhost:7777
# built-in debugging servers
* -> localhost:8001 # echo
* -> localhost:8002 # lineecho
* -> localhost:8003 # rude
* -> localhost:8004 # announce
* -> localhost:8005 # daemon monitoring feed

[logging]
debug=STDERR,debug.log
info=STDERR,info.log
access=STDERR,info.log
warn=STDERR,error.log
error=STDERR,error.log

enabled.default=debug,info,access,warn,error

[loggers]

41 changes: 41 additions & 0 deletions src/orbited-0.7.10/orbited.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Example Orbited Configuration file

[global]
reactor=select
# reactor=kqueue
# reactor=epoll
session.ping_interval = 40
session.ping_timeout = 30
# once the sockets are open, orbited will drop its privileges to this user.
user=orbited

[listen]
http://:8000
#stomp://:61613
# uncomment to enable SSL on port 8043 using given .key and .crt files
#https://:8043
#
#[ssl]
#key=orbited.key
#crt=orbited.crt

[static]

[access]
localhost:8000 -> irc.freenode.net:6667
* -> localhost:4747
#* -> localhost:61613

[logging]
debug=STDERR,debug.log
info=STDERR,info.log
access=STDERR,info.log
warn=STDERR,error.log
error=STDERR,error.log

#Don't enable debug by default
enabled.default=info,access,warn,error

# Turn debug on for the "Proxy" logger
[loggers]
#Proxy=debug,info,access,warn,error
18 changes: 18 additions & 0 deletions src/orbited-0.7.10/orbited.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Metadata-Version: 1.0
Name: orbited
Version: 0.7.10
Summary: A browser(javascript)->tcp bridge; Comet is used to emulate TCP connections in the browser; Allows you to connect a web browser directly to an IRC or XMPP server, for instance.
Home-page: http://www.orbited.org
Author: Michael Carter
Author-email: [email protected]
License: MIT License
Download-URL: http://www.orbited.org/download
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
85 changes: 85 additions & 0 deletions src/orbited-0.7.10/orbited.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
orbited-debug.cfg
orbited.cfg
setup.py
start.py
orbited/__init__.py
orbited/cometsession.py
orbited/config.py
orbited/json.py
orbited/logging.py
orbited/proxy.py
orbited/start.py
orbited/util.py
orbited.egg-info/PKG-INFO
orbited.egg-info/SOURCES.txt
orbited.egg-info/dependency_links.txt
orbited.egg-info/entry_points.txt
orbited.egg-info/not-zip-safe
orbited.egg-info/requires.txt
orbited.egg-info/top_level.txt
orbited/servers/__init__.py
orbited/servers/announce.py
orbited/servers/echo.py
orbited/servers/lineecho.py
orbited/servers/monitor.py
orbited/servers/rude.py
orbited/static/HTMLFileClose.js
orbited/static/HTMLFileFrame.js
orbited/static/JSON.js
orbited/static/Orbited.js
orbited/static/log4js.js
orbited/static/test_csp.html
orbited/static/test_socket.html
orbited/static/xsdClose.html
orbited/static/xsdrBridge.html
orbited/static/demos/index.html
orbited/static/demos/chat/chat.css
orbited/static/demos/chat/chat.js
orbited/static/demos/chat/index.html
orbited/static/demos/dispatch/index.html
orbited/static/demos/lib/jquery.js
orbited/static/demos/stomp/index.html
orbited/static/demos/stomp/shell.js
orbited/static/demos/stomp/style.css
orbited/static/demos/telnet/index.html
orbited/static/demos/telnet/telnet-gui.js
orbited/static/demos/websocket/index.html
orbited/static/demos/xmpp/background.png
orbited/static/demos/xmpp/buddy.png
orbited/static/demos/xmpp/chat.js
orbited/static/demos/xmpp/index.html
orbited/static/demos/xmpp/userlist.js
orbited/static/demos/xmpp/xmpp.css
orbited/static/demos/xmpp/xmpp.js
orbited/static/protocols/irc/irc2.js
orbited/static/protocols/stomp/stomp.js
orbited/static/protocols/telnet/telnet.js
orbited/static/protocols/xmpp/xmpp.js
orbited/static/tests/b64.html
orbited/static/tests/freeform.html
orbited/static/tests/index.html
orbited/static/tests/tcpsocket.html
orbited/static/tests/tests.css
orbited/static/tests/utf8.html
orbited/static/tests/lib/doh/Makefile
orbited/static/tests/lib/doh/doh.js
orbited/static/tests/lib/doh/orbited.profile.js
orbited/static/tests/lib/doh/_firebug/LICENSE
orbited/static/tests/lib/doh/_firebug/errorIcon.png
orbited/static/tests/lib/doh/_firebug/firebug.css
orbited/static/tests/lib/doh/_firebug/infoIcon.png
orbited/static/tests/lib/doh/_firebug/tab_lft_norm.png
orbited/static/tests/lib/doh/_firebug/tab_lft_over.png
orbited/static/tests/lib/doh/_firebug/tab_rgt_norm.png
orbited/static/tests/lib/doh/_firebug/tab_rgt_over.png
orbited/static/tests/lib/doh/_firebug/warningIcon.png
orbited/system/__init__.py
orbited/system/monitor.py
orbited/system/test.py
orbited/transports/__init__.py
orbited/transports/base.py
orbited/transports/htmlfile.py
orbited/transports/longpoll.py
orbited/transports/poll.py
orbited/transports/sse.py
orbited/transports/xhrstream.py
1 change: 1 addition & 0 deletions src/orbited-0.7.10/orbited.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

4 changes: 4 additions & 0 deletions src/orbited-0.7.10/orbited.egg-info/entry_points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

[console_scripts]
orbited = orbited.start:main

1 change: 1 addition & 0 deletions src/orbited-0.7.10/orbited.egg-info/not-zip-safe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions src/orbited-0.7.10/orbited.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
demjson
morbid >= 0.8.7.1
1 change: 1 addition & 0 deletions src/orbited-0.7.10/orbited.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
orbited
1 change: 1 addition & 0 deletions src/orbited-0.7.10/orbited/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.7.10"
Loading

0 comments on commit 9f380f1

Please sign in to comment.