An offline, zero-trust cryptographic notebook with local async AI utilities.
Project description
Cryptor App ๐ก๏ธ
A zero-trust, local-first cryptographic notebook workspace designed to encrypt, store, and manage highly sensitive credentials, access keys, and multi-factor backup tokens.
Built on a native Python Tkinter desktop stack, this architecture integrates real-time session tracking defenses, dynamic system UI scaling, and an optimized, completely offline asynchronous local AI Copilot engine.
๐ Key Features
- Production PyPI Distribution: Fully packaged and distributed as a native system command-line utility.
- Local Asynchronous AI Copilot: Seamless interface integration with local Ollama (
llama3:8b) models via non-blocking asynchronous socket pipes. Generates mathematically complex passwords or cryptographic templates without freezing the view layer canvas thread. - Dynamic Canvas Loading Overlay: Automatically masks the active workspace with an accelerated native vector circular spinner tracking loop while background inference threads compile data streams.
- Auto-Maturity Session Defenses: A background daemon tracking countdown lifecycles. At
t-minus 3 minutes, a centered dark warning modal prompts users to extend or safely terminate credentials. If abandoned, an automated absolute destruction routine wipes memory addresses at 0 seconds. - Chronological Explorer Sidebar: Metadata-driven treeview displays records ordered dynamically, bubbling the latest modified payloads directly to the top. Secretly routes cryptographic mapping IDs behind the scenes, keeping the interface completely clear of ugly raw hexadecimal strings.
๐ ๏ธ Architecture & Core Data Flow
The codebase separates interface layouts, async threading abstractions, and local file encryption engines into standalone decoupled modules:
cryptor_app/
โโโ pyproject.toml # Modern build configuration (SPDX license & script bindings)
โโโ README.md # System documentation
โโโ src/
โโโ cryptor_app/
โโโ __init__.py # Package initialization marker
โโโ __main__.py # Global CLI terminal launcher bridge
โโโ main.py # Primary application loop & daemon supervisor
โโโ cryp.ico # Main interface visual asset icon
โโโ app_files/
โ โโโ run_cookie.py # Non-blocking session timeout security guard routines
โโโ config_files/
โ โโโ ai_texter.py # Async AI interface, blinking handles, and loading canvas
โ โโโ monitor_cookie.py # Centered material dark theme session renewal alert frame
โ โโโ styles.py # Central layout style sheet configuration (Teal/Dark theme)
โโโ extras/
โ โโโ models.py # SQLite transactional queries and encryption insertions
โ โโโ encryt.py # AES-GCM 256-bit envelope encryption core logic
โ โโโ init_run.py # Pre-flight migration guard checking and table schemas
โโโ tabs/
โโโ base_frame_tab.py # Workspace view layout structural alignment engine
The Non-Blocking Async AI Pipeline
To keep the desktop UI running smoothly at 60 FPS while querying a local LLM, the application avoids processing work directly on the main thread loop:
[Main Tkinter UI Thread] ---> Spawns ---> [Worker Thread Group]
| |
(Stays Responsive: Initializes fresh
Animates Vector Spinner asyncio Event Loop
at 45ms loop refresh) |
^ v
|-- Invokes via .after() <--- [Awaits AsyncClient.chat()]
โ๏ธ Installation & Deployment Setup
1. Fulfill Local Requirements
Ensure you have the Ollama background engine up and running offline on your local machine configuration:
# Verify ollama execution and pull down your target model weight
ollama run llama3:8b
2. Install via PyPI
Open your command terminal and pull down the compiled application wheel directly from the official Python Package Index:
pip install cryptor-app
3. Launch the Application
Once installed, run the global console shortcut command anywhere on your machine:
cryptor-app
(If your system environment PATH variables have not updated to register the shortcut instantly, you can execute the module directly by running python -m cryptor_app).
๐ Security Commitments
- True Zero-Knowledge Execution: All operations, encryption cycles, and text generation queries run completely localized on your client hardware machine. No internet sockets are ever opened to third-party APIs.
- Zero Residual Cryptographic Traces: Background timers clear out background threading loop processes completely upon safe exit routes to guarantee zero memory address leaks or orphaned data handles remain accessible to the host OS runtime space.
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
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 cryptor_app-0.1.2.tar.gz.
File metadata
- Download URL: cryptor_app-0.1.2.tar.gz
- Upload date:
- Size: 55.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c107b92e579cdecbb27cf370706f7eb27381517c9594d2023411bbeee6addca
|
|
| MD5 |
5aa007fd3695c5a5e0bbae5285f04d85
|
|
| BLAKE2b-256 |
e51db0943e33e89e2195dab25c445970032d9597294e79204d062a22f44de396
|
File details
Details for the file cryptor_app-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cryptor_app-0.1.2-py3-none-any.whl
- Upload date:
- Size: 59.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b3c93dbceb9d201a18e02ec7a41dfcc623ced37e7073cf4e651380e80a1158e
|
|
| MD5 |
b4f8a9f0400fa6208189be1fc84451e6
|
|
| BLAKE2b-256 |
07879456de60faf5c74edf3b37eac279d5db6028614d55722396fb18ca76b7c1
|