Skip to main content

Simple bookmarking service, using a SQLite database to store bookmarks, supporting tags, automatic title fetching and REST API calls.

Project description

PyPI version PyPI license Code Health Codacy Badge

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:

pip install digimarks

From Git

Create a new virtualenv (if you are not already in one) and install the necessary packages:

git clone https://codeberg.org/diginaut/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).

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

Bookmarklet

To easily save a link from your browser, open its bookmark manager and create a new bookmark with as url:

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

What’s new?

See the Changelog.

Attributions

‘M’ favicon by Freepik.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

digimarks-1.2.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

digimarks-1.2.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file digimarks-1.2.0.tar.gz.

File metadata

  • Download URL: digimarks-1.2.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for digimarks-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7e5e249c60ae58de2bc554ef26e9b5c97e6a38d6ba01cc40c9d245eadb1e3e78
MD5 5e8578273784c6900db7311ec526bb1f
BLAKE2b-256 dc087a4c9156989e30a9a64163197f1965c518a549bb403e8dd58bacd79f6ed6

See more details on using hashes here.

File details

Details for the file digimarks-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: digimarks-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for digimarks-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa27f33a71468032d86907ea771b043881fdf9e59416222bbdc8001c15ad22d9
MD5 6cd695387a13f28869805b14004940d2
BLAKE2b-256 a58ba0bde0c9ddaa4bf5ced2536d0e26df3bf6e2187f73fbf80d48fc8f5f5d97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page