Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher. https://pypi.org/project/bouquin/
Find a file
Miguel Jacq a4e9af4444
All checks were successful
CI / test (push) Successful in 2m21s
Attempt to add forgejo workflow (!2)
Reviewed-on: #2
2025-11-12 21:25:01 -06:00
.forgejo/workflows Attempt to add forgejo workflow (!2) 2025-11-12 21:25:01 -06:00
bouquin Well, 95% test coverage is okay I guess 2025-11-13 11:52:21 +11:00
screenshots Update screenshot 2025-11-12 14:09:52 +11:00
tests Well, 95% test coverage is okay I guess 2025-11-13 11:52:21 +11:00
.gitignore Ignore .coverage 2025-11-04 18:16:11 +11:00
CHANGELOG.md Fix hiding status bar (and find bar) when locked 2025-11-12 14:09:47 +11:00
LICENSE Initial commit 2025-10-31 16:00:54 +11:00
poetry.lock Add AppImage 2025-11-12 10:00:21 +11:00
pyproject.toml Add translation capability, offer English and French as options 2025-11-12 13:58:58 +11:00
README.md Add AppImage 2025-11-12 10:00:21 +11:00
release.sh Add AppImage 2025-11-12 10:00:21 +11:00
tests.sh Add option to automatically move yesterday's unchecked TODOs to today on startup 2025-11-06 15:45:31 +11:00

Bouquin

Introduction

Bouquin ("Book-ahn") is a simple, opinionated notebook application written in Python, PyQt and SQLCipher.

It uses SQLCipher bindings as a drop-in replacement for SQLite3. This means that the underlying database for the notebook is encrypted at rest.

To increase security, the SQLCipher key is requested when the app is opened, and is not written to disk unless the user configures it to be in the settings.

There is deliberately no network connectivity or syncing intended.

Screenshots

Screenshot of Bouquin Screenshot of Bouquin History Preview pane Screenshot of Bouquin History Diff pane

Features

  • Data is encrypted at rest
  • Encryption key is prompted for and never stored, unless user chooses to via Settings
  • Every 'page' is linked to the calendar day
  • All changes are version controlled, with ability to view/diff versions and revert
  • Text is Markdown with basic styling
  • Tabs are supported - right-click on a date from the calendar to open it in a new tab.
  • Images are supported
  • Search all pages, or find text on page (Ctrl+F)
  • Automatic periodic saving (or explicitly save)
  • Transparent integrity checking of the database when it opens
  • Automatic locking of the app after a period of inactivity (default 15 min)
  • Rekey the database (change the password)
  • Export the database to json, txt, html, csv, markdown or .sql (for sqlite3)
  • Backup the database to encrypted SQLCipher format (which can then be loaded back in to a Bouquin)
  • Dark and light themes
  • Automatically generate checkboxes when typing 'TODO'
  • Optionally automatically move unchecked checkboxes from yesterday to today, on startup

How to install

Make sure you have libxcb-cursor0 installed (it may be called something else on non-Debian distributions).

If downloading from my Forgejo's Releases page, you may wish to verify the GPG signatures with my GPG key.

From PyPi/pip

  • pip install bouquin

From AppImage

  • Download the Bouquin.AppImage from the Releases page, make it executable with chmod +x, and run it.

From source

  • Clone this repo or download the tarball from the releases page
  • Ensure you have poetry installed
  • Run poetry install to install dependencies
  • Run poetry run bouquin to start the application.

From the releases page

  • Download the whl and run it

How to run the tests

  • Clone the repo
  • Ensure you have poetry installed
  • Run poetry install --with test
  • Run ./tests.sh