Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcsaaddupuy/dereferer
Stupid, simple, self hostable, dereferer
https://github.com/jcsaaddupuy/dereferer
Last synced: 3 months ago
JSON representation
Stupid, simple, self hostable, dereferer
- Host: GitHub
- URL: https://github.com/jcsaaddupuy/dereferer
- Owner: jcsaaddupuy
- Created: 2015-08-26T19:25:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T20:02:22.000Z (about 9 years ago)
- Last Synced: 2024-05-02T12:38:36.462Z (7 months ago)
- Language: Python
- Homepage:
- Size: 145 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
dereferer
===========Stupid, simple, self-hostable, dereferer.
Why ?
-----
Using a dereferer is cool. A selfhosted one is better.Features
--------Simply redirect your browser, hiding your referer.
Also follow url shotners links (bit.ly, goo.lg,...) to extract the final url and remove annoyings parameters (utm_*).
Installation from sources
--------------------------python setup.py install
Running in dev mode with manage.py
----------------------------------dereferer-manage runserver -p 8000
Running with gunicorn
----------------------gunicorn -w 4 dereferer:app
nginx setup examples
--------------------In a sub location, with caching :
::
location /d {
rewrite ^/d/(.*)$ /$1 break;
expires 1M;# with 'cache' a zone defined a nginx http level
proxy_cache cache;proxy_cache_valid 200 15d;
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;proxy_pass http://127.0.0.1:8000/;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /d;}
Demo
----
No demo, sorry. Host it yourself !TODO
----
Fork, hack, PR welcomes.