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+c | Change database |
Alt+d | Record detail |
Alt+e | Record options |
Alt+i | App information |
Alt+t | Filter by tag |
📁 Folder structure
Directory structure ($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
Priority
Description | Progress |
---|---|
Use XDG_DIRS |
|
Add encrypt/decrypt option to database |
|
Create deleted/removed table |
|
Get keybinds in dmenu/fzf to work |
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 |
|
Scrape Description from website |
|
Multi-Select (for delete? for migrate? for any action…🤔) |
Databases
Description | Progress |
---|---|
Add support for multi-database (e.g: personal and work) | |
trash.db or dump.db for deleted records |
|
Option to migrate from deleted to bookmark table |
|
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.8.tar.gz
.
File metadata
- Download URL: pymarks-0.0.8.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8f626272404a720027c1489ba74b7ab6b7c7ed1ddb0f7ae66d35557a030b257 |
|
MD5 | 2abb6caed782495ea282ef175db29378 |
|
BLAKE2b-256 | fe54b9d109a9ba1e91ba1d6f73b5eeb700e9642dce2713b8f8ce4b9df57c0455 |
File details
Details for the file pymarks-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: pymarks-0.0.8-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd69d1389b8b2472ab8fe9c1c76273c8a6704c48c2e8d2580b7bd69f5fefb48 |
|
MD5 | 0e91347967fca2c6c260a80f5abe5eaa |
|
BLAKE2b-256 | 698870e8d6117ea587c19b74c85100540b6731fca6f767261692af77083660a2 |