Mount Bookup .bdb (SQLite) files as a FUSE filesystem exposing Markdown pages.
Project description
Hier ist ein Vorschlag für eine prägnante, aber informative README.md für dein Projekt:
# bookup-fuse
**Mount Bookup `.bdb` (SQLite) databases as a virtual FUSE filesystem** — browse and edit your Bookup pages and sections directly as Markdown files.
## Features
- Mount a Bookup `.bdb` file into a directory
- Exposes two top-level folders:
- `Pages/` — all pages without section nesting
- `Sections/` — hierarchical structure of sections containing pages
- Read and edit Markdown content directly via any text editor
- Changes are written back to the `.bdb` database in real time
- Works with standard FUSE mounts on Linux
## Requirements
- **Python** ≥ 3.9
- **libfuse** installed on your system
Fedora / RHEL:
```bash
sudo dnf install fuse fuse3 fuse3-libs
Debian / Ubuntu:
sudo apt install fuse
- Python package fusepy (installed automatically with this package)
Installation
pip install bookup-fuse
Or from source:
git clone https://github.com/beimgraben/bookup-fuse.git
cd bookup-fuse
pip install .
Usage
bookup-fuse <bookup_bdb_file> <mount_point>
Example:
bookup-fuse my-notes.bdb /mnt/bookup
This will create a directory structure like:
/mnt/bookup
├── Pages
│ ├── Page One.md
│ └── Another Note.md
├── Sections
│ ├── Work
│ │ └── Task List.md
│ └── Personal
│ ├── Recipes.md
│ └── Journal.md
└── .desktop.ini
Unmounting
fusermount -u /mnt/bookup # Linux (FUSE)
# or
umount /mnt/bookup
Notes
.desktop.iniis included for compatibility with Windows' folder tooltips but can be ignored.- Page and section names containing
/are automatically sanitized to_in file names. - Timestamps are stored as UNIX epochs in the database.
Development
# Install in editable mode
pip install -e ".[dev]"
# Run from source
python src/bookup_fuse.py my-notes.bdb /mnt/bookup
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
bookup_fuse-0.1.4.tar.gz
(19.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bookup_fuse-0.1.4.tar.gz.
File metadata
- Download URL: bookup_fuse-0.1.4.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a76c4c1d5c6b0cda9ceb35bf5f1efb5c895eb8a1133df66b11d532715a7a2fd3
|
|
| MD5 |
e2143d950326fba31489b3004c42f715
|
|
| BLAKE2b-256 |
9501decb499b19019d0f112a8dd108a48cdc5c8993b2d6a2aeb77ab5e8551710
|
File details
Details for the file bookup_fuse-0.1.4-py3-none-any.whl.
File metadata
- Download URL: bookup_fuse-0.1.4-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58eb30e37d8b2a28856fab6f5eadc9307a38a03b2f3bbe5445ae48e62c30f2aa
|
|
| MD5 |
7720687c6747f61f1de1b9db6b688ffd
|
|
| BLAKE2b-256 |
cbc6fe34dc92e313d5f5327831e06f6f56c50dd86e13e91d85037a74eb8448db
|