A fastcgi wrapper for weave-minimal (for uberspace).
Project description
I am a great fan of Firefox. I love its sync feature. But the sync service provided by Mozilla sucks. Sorry for being rude.
Luckily, you can setup your own sync server. Either as described in the official guide or by using the awesome weave-minimal sync server. I prefer weave-minimal, cause it is easy to setup, has just a view dependencies and it works like a charm.
I am also a fan of uberspace, a great hosting service located in Germany. They offer two options to host your own web applications/services - fastcgi or as daemon process listening to a port. While it is fine to run weave-minimal as a service, I prefer the fastcgi solution. It uses less resources, no need to reserve a port and easier to maintain.
uberspace + weave-minimal + this project = ♥︎
Installation
Install the code.
$ pip-2.7 install weave-minimal-uberspace $ cp ~/bin/weave-minimal.fcgi ~/fcgi-bin/
Add a rewrite rule for a nice and clean url.
Just add the following rewrite rule to the .htaccess file in the ~/html/ directory.
RewriteEngine on RewriteRule ^weave/(.*)$ /fcgi-bin/weave-minimal.fcgi/$1 [QSA,L]
Afterwards your own firefox sync server is accessible under the following url(s):
- http(s)://<uberspace name>.<uberspace host>.uberspace.de/weave/
- http(s)://<any domain you bound to your uberspace/weave/
The firefox sync server accepts new registrations by default and stores the sync data in the directory ~/.weave/.
Configuration
You can only configure wether you want to allow new reagistrations or not. To disable new registrations for your server, just create a file named ~/.weave/disable_registration and you are done. If you remove the file, new registrations are allowed again.
Patches welcome: https://github.com/oa/weave-minimal-uberspace
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size weave-minimal-uberspace-0.9.1.tar.gz (3.1 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for weave-minimal-uberspace-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c1f9e1e7b66eb0e26fd1d1d0457b6322312e451891476b8c965061031a91dab |
|
MD5 | 4bf3d7e919ae3fd5e47d7677300b6495 |
|
BLAKE2-256 | 941d5ca074a7073df9995be7a8f82a8de660b29672a657c10aff702adcdd6807 |