Messy Notes about using ZeroNet and other things
All code published here are under CC-BY-SA licence, if not compatible, then MIT license X)
White theme is for noob, light theme is for amateur, dark theme is for expert ;)
This userstyle has been actively polished for more than 1 year, should work on all official zites and their clones.
Many unofficial zites are also supported, like NullPaste, ZeroWiki, Kaffiene Search, Git Center. Nevertheless, some other zites may have side effects - that some bright elements are still not changed. You can try it yourself, ask me to modify them or temporarily disable the theme.
Some devs may find the way I develop this userstyle very stupid, I should be able to automate a lot of things by writing a python script, but I enjoy the procedure like playing jigsaw puzzles, and having some simple time X)
Code theme is Vim Desert.
For Firefox family browser before Firefox 57, you can install it by Stylish plugin/add-on (version 2.0.x).
For Chrome family browser, you can use Stylus. The Chrome version of Stylish and the Firefox version newer than 3.xx is not recommended, as it's not opensource and has an opt-out option to collect user data, and I confirm that even I uncheck the data collection option, every time I start Inox (an ungoogled Chromium) it will connect to google-analytics. Even so use a firefox family browser if you care your privacy.
Currently Stylus Beta is available for Firefox 57, but in my Firefox (Iceweasel, Debian's rebranded version), it doesn't work for ZeroNet. There is another add-on called xStyle but it doesn't work, too... So for now there is no solution for Firefox 57.
If you use Firefox (version < 57) and Stylish 2.xx, in the
Manage Styles Setting you can choose
Install from URLs, then simply copy this link and install it (for NullPaste bin it doesn't work in this way).
If you use Stylus, under
Manage page, use
Import styles and import this file, then click the update button to update it to the lastet version. You can also set up auto-update interval under
If you use remote server mode or clearnet proxy and your ZeroNet address is not
127.0.0.1:43110, you need to change the addresses below in the json file.
... "updateUrl": "http://127.0.0.1:43110/1EiMAqhd6sMjPG2tznkkGXxhdwFBDdeqT9/shared/zeronet-dark-theme.userstyle.json", "md5Url": "http://127.0.0.1:43110/1EiMAqhd6sMjPG2tznkkGXxhdwFBDdeqT9/shared/zeronet-dark-theme.userstyle.md5", "url": "http://127.0.0.1:43110/1EiMAqhd6sMjPG2tznkkGXxhdwFBDdeqT9/?Post:3:A+Dark+Theme+For+ZeroNet", ...
In another way you can create a new theme and choose import Mozilla Format from the left panel, then copy & paste the content of this link, but you need to manually repeat these steps for update.
More screenshot at My Jekyll Zite
My repo on Git Center. You can track the update log, submit issue and make request there.
repository on git.gnu.io
my gallery (Unmaintained, too lazy to update it :3)
my NullPaste bin (Unmaintained, too lazy to update it :3)
Hope you enjoy it :)