aboutsummaryrefslogtreecommitdiffstats
path: root/globalist/Globalist.py
diff options
context:
space:
mode:
authoranonymous <foo@bar.com>2018-11-30 19:36:07 +0000
committeranonymous <foo@bar.com>2018-11-30 19:36:07 +0000
commit548e0c1e41de81e52bd1b3ac4c6a29486838efc3 (patch)
treead10d87836828a990a8159e8e5c4be854bf712db /globalist/Globalist.py
parent904a5aac0abf8ffca5e4363a623a3029cf7f4b25 (diff)
downloadcloudflare-tor-548e0c1e41de81e52bd1b3ac4c6a29486838efc3.tar.lz
cloudflare-tor-548e0c1e41de81e52bd1b3ac4c6a29486838efc3.tar.xz
cloudflare-tor-548e0c1e41de81e52bd1b3ac4c6a29486838efc3.zip
we are a code repository
Diffstat (limited to 'globalist/Globalist.py')
-rwxr-xr-xglobalist/Globalist.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/globalist/Globalist.py b/globalist/Globalist.py
new file mode 100755
index 00000000..fc21b685
--- /dev/null
+++ b/globalist/Globalist.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+# Globalist: manage a global repo via decentral git instances
+# you may peer with any number of other Globalist onions
+
+# Think onionshare, but with permanent onion addresses, P2P and DVCS
+
+# Python2/3. Dependencies:
+# - stem (torsocks pip install stem / via distro)
+# a recent version (>= 1.5.0) is needed for auth
+# - git must be installed
+# - torsocks must be installed
+# - tor must be up and running and the ControlPort open
+
+# Use scenario:
+# a) Run Tor.
+# b) Run the server in the background and schedule a job for pulling from peers.
+# it is a git server that listens on <your-identifier>.onion:9418
+# it's to be expected that peers uptime will intersect with yours
+# only a fraction of the time.
+# c) Globalist.py creates a git, which you may use to push and pull your own changes.
+
+# Bugs:
+# FIXME: clean up hidservauth entries on stop
+
+import globalist
+import sys
+
+if __name__=='__main__':
+ globalist.main(args=sys.argv[1:])