Skip to main content

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.ini is 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.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

bookup_fuse-0.1.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file bookup_fuse-0.1.1.tar.gz.

File metadata

  • Download URL: bookup_fuse-0.1.1.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

Hashes for bookup_fuse-0.1.1.tar.gz
Algorithm Hash digest
SHA256 237cea5a66bd5c625313aec3f30ddbb6b10905d2074551134fb33fcd50bbc762
MD5 4615c16545531b48c36388f407ea87ac
BLAKE2b-256 4e012c5fb88e45952b0c813cd3e220faf7d7e005913ffe92bbfb8e5c6c70eadb

See more details on using hashes here.

File details

Details for the file bookup_fuse-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bookup_fuse-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for bookup_fuse-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 462efb6fa5907b9e8aca4ced7194f44ba7a120cd1828e41c655660219c8649d6
MD5 dd1d62c32636c84034e39838d52832df
BLAKE2b-256 cb227e9af8a889ab1e1e30e21ffa0a4ab02c01d06e01aba93e47272bc0b91ade

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