falcon/corpus
2023-03-05 20:04:11 +10:30
..
bash.sh Add in corpus items. 2018-08-18 22:22:46 +09:30
c.c Add in indigo for more radness. 2019-09-05 12:42:00 +09:30
clojure.clj Lots of tweaking to filetypes. 2023-03-05 20:04:11 +10:30
cpp.cpp Update corpus with more examples. 2018-08-30 10:08:20 +09:30
css.css Lots of tweaking to filetypes. 2023-03-05 20:04:11 +10:30
elm.elm Add in background lsp highlighting. 2022-11-27 14:45:57 +10:30
go.go Fix undercurl colours in lsp. 2022-11-27 13:50:20 +10:30
html.html Add in doctype to html example. 2019-05-08 19:38:02 +09:30
java.java Update corpus with more examples. 2018-08-30 10:08:20 +09:30
javascript.js Add in background lsp highlighting. 2022-11-27 14:45:57 +10:30
json.json Tweak zen telescope. 2022-12-19 19:16:30 +10:30
lua.lua Lots of tweaking to filetypes. 2023-03-05 20:04:11 +10:30
markdown.md More markdown tweaking. 2023-02-10 09:53:33 +10:30
php_old.php Fix undercurl colours in lsp. 2022-11-27 13:50:20 +10:30
php.php Update lua palette and corpus examples. 2021-11-27 16:25:04 +10:30
python.py Update corpus with more examples. 2018-08-30 10:08:20 +09:30
react.js Update treesitter highlights to new style. 2023-03-03 15:51:38 +10:30
README.rst Swap ale and rst, whoops. 2019-07-31 10:02:23 +09:30
ruby.rb Start setup of corpus examples. 2018-06-28 09:49:41 +09:30
text.txt Spelling and folding tweaks. 2023-02-08 11:24:45 +10:30
twig.html.twig Add in twig. Update screenshots. 2019-03-25 13:12:31 +10:30
xml.xml Tweak html and xml. 2019-08-02 13:34:51 +09:30
yaml.yml Corpus updates. 2021-12-20 08:30:42 +10:30

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.txt


Usage / 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`).

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/<userkey>/<action>


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:

/<secretkey>/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