The CodeKits notebook
Ideas into working code.
Practical tutorials, project walkthroughs and development notes. Explore the code, understand the structure, and build something of your own.
6 articles · Newest first
Rust
Build offline desktop notes with SQLite
Design a local SQLite notes store with parameterised queries, explicit migrations and conflict detection before adding a Rust desktop interface.
· 4 min read
Rust
Run Rust jobs with progress and cancellation
Build cooperative cancellation into a Rust worker and report bounded progress without blocking the desktop interface or promising instant stops.
· 3 min read
Rust
Build a Rust file renamer with a dry run
Build and test a Rust rename planner that previews every change, rejects collisions and leaves files untouched until a separate apply step.
· 3 min read
Rust
Read large log files with bounded Rust buffers
Read a bounded preview of a large log in Rust, avoid unbounded line allocations and keep truncation and text-decoding limits visible.
· 3 min read
Rust
Build a desktop app with Rust, Tauri and React
Create a Tauri 2 desktop starter with a React interface and a small Rust command, then understand packaging, permissions and platform limits.
· 3 min read
Rust
Validate inputs to Tauri and Rust commands
Validate Tauri command inputs in Rust, keep native operations narrowly scoped and test failures before adding filesystem or shell access.
· 3 min read
