Simple tool to manage your bookmarks
Project description
PyMarks (WIP)
🌟 About
PyMarks
is a Python program designed to help you manage your bookmarks in a
more efficient way. Uses SQLite3
as a database to store your bookmarks,
allowing you to add
, delete
and update
them as needed.
To make it easier to access your bookmarks, the program provides a menu system
that can be accessed using tools such as Dmenu
, Rofi
or fzf
in terminal.
With this menu system, you can search and fuzzy
find the bookmark you're
looking for, and then open it in your preferred web browser. PyMarks
is a
great tool for anyone who wants to keep their bookmarks organized and
accessible.
⚡️ Requirements
📦 Installation
You can install this tool using pipx
(recommended), pip
or by cloning
the repository
⭐ Using pipx (recommended)
pipx install pymarks
Using pip
pip install pymarks
Clone repository
# clone repository
$ git clone "https://github.com/haaag/PyMarks"
$ cd PyMarks
# create virtual environment & source
$ python -m venv .venv && source .venv/bin/activate
# install dependencies
$ pip install -r requirements.txt
# run
$ pymarks
🚀 Usage
$ pymarks --help
PyMarks is a simple tool to assist you in efficiently
organizing and managing your bookmarks.
The tool simplifies the process of accessing, adding, updating,
and removing bookmarks.
options:
-m, --menu Select menu (default: rofi)
-V, --version Show version
-h, --help Show help
-v, --verbose Verbose mode
supported menus:
['dmenu', 'rofi', 'fzf']
optional environment variables:
PYMARKS_HOME Overrides default PyMarks location
PYMARKS_BACKUP_MAX_AGE Overrides backup age check interval
PYMARKS_BACKUP_MAX_AMOUNT Overrides backup max amount
⌨️ Keybinds (rofi exclusive)
If using rofi
, you can use some keybinds
.
Keybind | Description |
---|---|
Alt+a | Add new bookmark |
Alt+e | Record options |
Alt+t | Filter by tag |
Alt+d | Record detail |
Alt+c | Change database |
Alt+i | App information |
TODO: Find a way to work with dmenu,fzf
📁 Folder structure
Directory structure (directory: $XDG_CONFIG_HOME/pymarks
)
$ ~/.config/pymarks (main*) tree
├── backup
│ ├── YYYY-MM-DD_bookmarks.db
│ └── YYYY-MM-DD_bookmarks.db
└── databases
├── bookmarks.db <-- Default
├── trash.db <-- Deleted records
├── private.db
└── work.db
🔥 Similar projects and inspiration
- Buku 🌟 Thank You 🤘
Done
TODO
Project
Description | Progress |
---|---|
Use XDG_DIRS |
Environment variables
Description | Progress |
---|---|
PYMARKS_HOME | |
PYMARKS_BACKUP_MAX_AGE | |
PYMARKS_BACKUP_MAX_AMOUNT |
Actions
Description | Progress |
---|---|
Update record (tags, URL) | |
Delete record (tags, URL) | |
Option to switch databases | |
Option to add/remove database | |
Option to show information (backups, keys, records, etc) | |
Scrape title from website |
|
Multi-Select (for delete? for migrate? for any action…🤔) |
Databases
Description | Progress |
---|---|
Add support for multi-database (e.g: personal and work) | |
Create trash.db or dump.db for deleted records |
|
Option to search in ALL databases |
Backups
Description | Progress |
---|---|
Prompt for backup every <PYMARKS_BACKUP_MAX_AGE> number of days |
|
Option to disable check on runtime | |
Keep <PYMARKS_BACKUP_MAX_AMOUNT> of backup files |
Misc
Description | Progress |
---|---|
Add renumbered for the rowid (Each time a record is deleted?) |
|
validation when reading from clipboard |
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
Built Distribution
File details
Details for the file pymarks-0.0.6.tar.gz
.
File metadata
- Download URL: pymarks-0.0.6.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed8c5e4f56597c27ada45ee56c552910cf5b282ecc15315b59705c990d5ea0a |
|
MD5 | 589dba1ccced0563dd3e320671fce242 |
|
BLAKE2b-256 | 5fb8b4ad08315d75a077a8a80e0faa01fa665b1c7c9b958e69b37d9e185d6427 |
File details
Details for the file pymarks-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: pymarks-0.0.6-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22212f82b8c765c3091e354dc352652b400a5896f78be988189c2294edaaa506 |
|
MD5 | e4ff4fd74b151eea0b0b78b788146c10 |
|
BLAKE2b-256 | 91f68d5126b0c0cd9041e46e9506bb2a19515d85fc6db990ea6ad4375414157c |