Skip to main content

An offline, zero-trust cryptographic notebook with local async AI utilities.

Project description

Cryptor App ๐Ÿ›ก๏ธ

PyPI version License: MIT

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

cryptor_app-0.1.2.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

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

cryptor_app-0.1.2-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

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

Hashes for cryptor_app-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c107b92e579cdecbb27cf370706f7eb27381517c9594d2023411bbeee6addca
MD5 5aa007fd3695c5a5e0bbae5285f04d85
BLAKE2b-256 e51db0943e33e89e2195dab25c445970032d9597294e79204d062a22f44de396

See more details on using hashes here.

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

Hashes for cryptor_app-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b3c93dbceb9d201a18e02ec7a41dfcc623ced37e7073cf4e651380e80a1158e
MD5 b4f8a9f0400fa6208189be1fc84451e6
BLAKE2b-256 07879456de60faf5c74edf3b37eac279d5db6028614d55722396fb18ca76b7c1

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