mirror of
https://github.com/twisterarmy/swizzler.git
synced 2025-03-11 13:01:08 +00:00

also made sure that default images (genericPerson and twister-64) come from {{site_root}} (in case we want a public server one day and we want to mount on a path other than /
Goals
Provide a twister web client that:
- is #NoJS
TM- currently, it has no JS at all, which is a trivial case ;), but all pull-requests should work when JS is disabled. That's the only "rule". - Is simple enough for people to fork and try other front-ends or features (I have a few in mind. I'm sure you have others).
In short: it's a "twister-client constructor kit". Even if what you do doesn't get merged upstream, who says we should all run the same client? Diversity is fun.
Status
We're this close to the "read-only functionality milestone".
Roadmap
- db instead of cache
- Add "write" functionality (post, follow, etc.). Implement all [or most of] the functionality of standrd/calm client.
- Additional features
- Insert here stuff I've overlooked
- Then we take Berlin
Dependencies
You also need tweaked versios
of python-bitcoinrpc
and functioncache
but these are defined as git submodules, so install.sh
takes care of them.
To install
- Install dependencies mentioned above
- Run
./install.sh
to createcherrypy.config
andappdir.py
- Edit
cherrypy.config
(at least edit the user:
pwd@
atrpc_url
, but it's also recommended to uncomment and edit thebrowser_user
andbrowser_password
lines to enable basic authentication before someone develops a swizzler-specific trojan ;) )
To run
python swizzler.py
- It should say
ENGINE Serving on 127.0.0.1:7919
(or whatever host and port you've defined atcherrypy.conf
) - Browse to that address
Languages
HTML
52.9%
Python
44.2%
Shell
1.9%
CSS
1%