Skip to content

A-Solo-Engineer/L_INKBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L_INKBook

A tamper-proof digital logbook where every entry is cryptographically locked using SHA-256 hashing and Merkle Trees. Once saved, entries cannot be silently edited. Any tampering breaks the cryptographic chain and becomes visible.

Built on the same core architecture as Bitcoin — but focused on a single integrity property.


Status

  • 🔧 Backend — Complete
  • ✅ Frontend — Complete
  • ⬜ Tests — Pending
  • ✅ Documentation — Added

Overview

L_INKBook stores entries in a SQLite database and links each record to the previous one through cryptographic hashing. Each entry hashes its text, images, and table content, combines those values into a Merkle root, then chains to the previous hash.

This design makes any edit detectable by verifying the chain.


Project Structure

L_INKBook/
├── backend/           — hashing, entry creation, verification, database access
├── frontend/          — Flask app, templates, and static assets
├── docs/              — project documentation and API reference
├── tests/             — test suites (pending)
├── config.py          — global application configuration
├── main.py            — application entry point and startup logic
├── README.md          — project overview
├── requirements.txt   — Python dependencies
└── user.json          — stored username configuration

Documentation

See the docs/ folder for detailed information:

  • docs/README.md — documentation index
  • docs/api.md — REST API reference
  • docs/frontend.md — frontend architecture and UI behavior
  • docs/backend.md — backend modules and chain verification
  • docs/setup.md — installation and local run instructions

Installation

git clone https://github.com/A-Solo-Engineer/L_INKBook.git
cd L_INKBook
pip install -r requirements.txt
python main.py

Usage

  • On first launch, main.py prompts for a username and saves it to user.json.
  • The app runs on http://localhost:5000 and opens automatically in the browser.
  • The frontend connects to backend endpoints for user, entries, projects, and chain status.

Author

Aarav (A-Solo-Engineer)


About

A tamper-proof digital logbook where every entry is cryptographically locked using SHA-256 hashing and Merkle Trees. Once saved, entries cannot be silently edited. Any tampering breaks the cryptographic chain and becomes visible.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors