Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aquatix/digimarks
Simple bookmarking service
https://github.com/aquatix/digimarks
Last synced: about 1 month ago
JSON representation
Simple bookmarking service
- Host: GitHub
- URL: https://github.com/aquatix/digimarks
- Owner: aquatix
- License: apache-2.0
- Created: 2016-07-07T12:42:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-14T19:55:21.000Z (8 months ago)
- Last Synced: 2024-04-16T02:19:31.252Z (8 months ago)
- Language: Python
- Size: 267 KB
- Stars: 18
- Watchers: 4
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - aquatix/digimarks - Simple bookmarking service (others)
README
digimarks
=========|PyPI version| |PyPI license| |Code health| |Codacy|
Simple bookmarking service, using a SQLite database to store bookmarks, supporting tags and automatic title fetching.
Installation
------------From PyPI
~~~~~~~~~Assuming you already are inside a virtualenv:
.. code-block:: bash
pip install digimarks
From Git
~~~~~~~~Create a new virtualenv (if you are not already in one) and install the
necessary packages:.. code-block:: bash
git clone https://github.com/aquatix/digimarks.git
cd digimarks
mkvirtualenv digimarks # or whatever project you are working on
pip install -r requirements.txtUsage / example configuration
-----------------------------Copy ``settings.py`` from example_config to the parent directory and
configure to your needs (*at the least* change the value of `SYSTEMKEY`).Do not forget to fill in the `MASHAPE_API_KEY` value, which you [can request on the RapidAPI website](https://rapidapi.com/realfavicongenerator/api/realfavicongenerator).
Run digimarks as a service under nginx or apache and call the appropriate
url's when wanted.Url's are of the form https://marks.example.com//
Bookmarklet
~~~~~~~~~~~To easily save a link from your browser, open its bookmark manager and create a new bookmark with as url:
.. code-block:: javascript
javascript:location.href='http://marks.example.com/1234567890abcdef/add?url='+encodeURIComponent(location.href);
Creating a new user
-------------------After having set up the ```settings.py``` as under Usage, you can add a new user, by going to this path on your digimarks server:
//adduser
where `secretkey` is the value set in settings.SYSTEMKEY
digimarks will then redirect to the bookmarks overview page of the new user. Please remember the user key (the hash in the url), as it will not be visible otherwise in the interface.
If you for whatever reason would lose this user key, just either look on the console (or webserver logs) where the list of available user keys is printed on digimarks startup, or open bookmarks.db with a SQLite editor.
Server configuration
~~~~~~~~~~~~~~~~~~~~* `vhost for Apache2.4`_
* `uwsgi.ini`_What's new?
-----------See the `Changelog`_.
Attributions
------------'M' favicon by `Freepik`_.
.. _digimarks: https://github.com/aquatix/digimarks
.. _webhook: https://en.wikipedia.org/wiki/Webhook
.. |PyPI version| image:: https://img.shields.io/pypi/v/digimarks.svg
:target: https://pypi.python.org/pypi/digimarks/
.. |PyPI license| image:: https://img.shields.io/github/license/aquatix/digimarks.svg
:target: https://pypi.python.org/pypi/digimarks/
.. |Code health| image:: https://landscape.io/github/aquatix/digimarks/master/landscape.svg?style=flat
:target: https://landscape.io/github/aquatix/digimarks/master
:alt: Code Health
.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/9a34319d917b43219a29e59e9ac75e3b
:alt: Codacy Badge
:target: https://app.codacy.com/app/aquatix/digimarks?utm_source=github.com&utm_medium=referral&utm_content=aquatix/digimarks&utm_campaign=badger
.. _hook settings: https://github.com/aquatix/digimarks/blob/master/example_config/examples.yaml
.. _vhost for Apache2.4: https://github.com/aquatix/digimarks/blob/master/example_config/apache_vhost.conf
.. _uwsgi.ini: https://github.com/aquatix/digimarks/blob/master/example_config/uwsgi.ini
.. _Changelog: https://github.com/aquatix/digimarks/blob/master/CHANGELOG.md
.. _Freepik: http://www.flaticon.com/free-icon/letter-m_2041