A personnal links shelf
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
minne
screenshots
.gitignore
LICENSE
README.rst
manage.py
minify.sh
requirements.txt

README.rst

Minne

I'm Minne, your personnal (or not )links shelf which support Persona authentification!

https://raw.github.com/socketubs/minne/master/screenshots/screenshot_01.png

Installation

This is the right way, with virtualenv:

git clone https://github.com/socketubs/minne.git && cd minne
virtualenv virtenv
source virtenv/bin/activate
pip install -r requirements.txt
cp minne/local_settings_example.py minne/local_settings.py
# During syncdb, you'll need to create superuser, use admin as username if
# you want to use minne as a single user.
python manage.py syncdb
python manage.py migrate
python manage.py runserver

Open your browser at http://localhost:8000/.

If you want to use Mozilla Persona authentification take a look at local_settings.py file.

Import

You can import bookmarks html file with:

python manage.py import_bookmarks you_file.html

Update

This is how to update your Minne:

source virtenv/bin/activate
git pull
pip install -r requirements.txt -U

Nginx

For people which want to use it with a https reverse proxy (like Nginx).

In you settings.py:

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')

In your nginx conf:

location / {
  proxy_pass http://127.0.0.1:8000;
  proxy_set_header Host $host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Forwarded-Protocol https; # Tell django we're using https
}

Bookmarklet

Change https://links.socketubs.org to your minne location.

javascript:(function(){ window.open("https://links.socketubs.org/#/add?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)); })();

License

License is AGPL3. See LICENSE.