A lightweight, secure, and cross-platform memo/note-taking application built with Python and Tkinter. It features a system tray integration, local SQLite storage, AES/RSA encryption for sensitive data, and an optional blockchain data-persistence layer.
- System Tray Integration: Runs quietly in the background with a system tray icon.
- Local Storage: Automatically saves your memos to a local SQLite database (
memo.db). - Data Encryption: Support for AES (Fernet) and RSA encryption. You can selectively encrypt specific parts of your memos.
- Optional Blockchain Upload: Persist your memos on-chain (using Web3) for tamper-proof storage.
- Cross-Platform: Works on both Windows and Linux.
Install it directly from PyPI:
pip install tiny-memoThe application requires a .env file in the directory where you run it. You can copy the provided .env sample to .env:
cp ".env sample" .envConfiguration options:
FOLD_TIME: Time interval (in minutes) for folding/refreshing historical memos.KEY_FILE: Path to your encryption key file.ENC_METHOD: Encryption method to use (e.g.,AESorRSA).STRING_LENGTH: Maximum string length allowed before skipping blockchain upload.TO_BLOCKCHAIN: Set toTrueto enable blockchain upload, orFalseto disable.
Start the application by running the following command in your terminal:
memo(Note: Ensure your Python Scripts or bin directory is in your system's PATH).
When the application window is focused, you can use the following hotkeys:
- Ctrl + S : 保存 (Save the current memo)
- Ctrl + F : 搜索 (Search through historical memos)
- Ctrl + L : 列出所有 (List all historical memos)
- Ctrl + R : 加密 (Insert
<ENC><DEC>tags to encrypt specific text) - Ctrl + B : 退出 (Exit the application completely)
- Alt + M : 最小化 (Minimize to system tray)
When editing a memo, you can press Ctrl + R to insert <ENC><DEC>. Any text placed between these tags (e.g., <ENC>My Secret<DEC>) will be encrypted automatically upon saving using your configured ENC_METHOD. When you view historical memos, you can click on the encrypted text to enter your password and decrypt it.
MIT License