Skip to content
View caspel26's full-sized avatar

Block or report caspel26

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
caspel26/README.md
Hi, I'm Giuseppe. Software Engineer at Namirial Group. Terminal session: whoami, cat about.txt, ls projects/ listing hinoki, django-ninja-aio-crud, goninja, shimwire and lilac-nights

Portfolio Β· LinkedIn Β· GitHub Β· Email

About Me

I write backend software for a living β€” cybersecurity and PKI with the Namirial Group β€” and frameworks, developer tools and small products for fun. Mostly Python and Go, almost always around APIs. I work AI-first: prompt engineering and agentic programming are part of how I design, build and test.

caspel26: work, cybersecurity and PKI at Namirial Group; languages Python, Go, TypeScript; likes backend, APIs, developer tools; practice AI-first agentic programming; editor Lilac Nights

Outside the day job I build Hinoki, a typed Python API framework with a Rust core, and maintain django-ninja-aio-crud (50+ stars), its Go counterpart goninja and shimwire, an OpenAPI mock-and-test CLI. More below.

Projects

hinoki: Typed Python APIs with a Rust core, and architecture rules you can check. django-ninja-aio-crud: Async CRUD framework for Django Ninja, with an MCP server for AI agents. goninja: Code-first CRUD REST APIs for Go, generated from annotated structs. shimwire: Mock and test an API from one OpenAPI spec. A Bun and TypeScript CLI. lilac-nights: A dark VS Code theme with a lilac spine, built to be read for eight hours. Shiori: Anime discovery and tracking, built end to end and in public beta.

Currently

  • Building async CRUD/backend infrastructure in Python and Go
  • Integrating LLMs into production backends β€” tool calling, agentic workflows, structured outputs, RAG, async/streaming inference
  • Exploring system design and architecture patterns for async services

Stack

Languages: Python, Go, TypeScript, JavaScript, Rust, SQL. Backend and frontend: Django, DRF, FastAPI, Django Ninja, Gin, Echo, Huma, GORM, Node.js, Bun, Vue, Next.js, Tailwind CSS. Data and delivery: PostgreSQL, MySQL, SQLite, Redis, Docker, Linux, Nginx, HAProxy, GitHub Actions, GitLab, Jenkins, Cloudflare, AWS. Testing and AI: Pytest, Playwright, Anthropic, OpenAI, Gemini, Perplexity.

Frontend work is used in my projects, with AI assistance for the implementation.

Hinoki

Python APIs with architecture you can check.

Handlers in Python, a core in Rust. What I am building right now.

CI Coverage Python 3.12, 3.13 and 3.14 Status: pre-alpha MIT license

Documentation Β· Quick start Β· Tutorial Β· Examples Β· Source

An endpoint declares its types, who may call it, whether it runs in a transaction and which errors it returns. That one declaration drives routing, validation, the OpenAPI document and the optional rules that hinoki check runs against your source β€” so the architecture of the app is something you can verify, not something you remember.

The pieces are plain Python, one per file. Here is the task tracker from the repository's examples, abridged:

# security.py: who may call. One reusable policy.
member_only = Access(auth=MemberTokens(), permissions=[USE])

# schemas.py: what crosses the boundary. A model column reaches a client only through a Schema.
class TaskIn(Schema):
    title: Annotated[str, Field(min_length=1, max_length=120)]

@derive(Task, exclude=("owner_id",))
class TaskOut(Schema): ...

# api.py: the endpoint. Access and transactions are stated once for the whole group.
tasks = RouteGroup("/tasks", access=member_only, atomic=True)

@tasks.post("/", status=201)
async def create_task(data: TaskIn, caller: Caller[Member]) -> TaskOut:
    return await operations.create_task(caller.user.id, data)

Routing, input validation, the OpenAPI document and the docs come from those declarations. Add a handler without an access policy and hinoki check reports it with the file, the line and the rule (sample from the Rules guide):

tests/projects/rulesapp.py:12: HNK-ACC-001 [violated] POST /items (create) declares no access policy

In a terminal window, hinoki new asks for a project name, a database, a server and the rest, then creates an app named posts. hinoki check reports no violated rules, hinoki dev starts the Kiso server, a curl request to POST /posts returns 201 Created with the new post, and a request to the docs URL returns 200.

  • Declared β€” access, transactions and errors are options of the decorator or defaults of a route group, and they land in OpenAPI.
  • Checked β€” eleven built-in rules (access, permissions, transactions, exposed fields, imports and more); a new project turns on eight. Every finding has a file, a line and a fix.
  • Strict β€” input is validated without coercion and unknown fields are refused. A response carries only what its Schema names.
  • Explicit β€” nothing connects at import. Tables change only through SQL migration files you review and apply.
  • Rust core β€” path matching, schema validation, cryptography and database execution run in a compiled extension, and apps run on Kiso, Hinoki's own Rust HTTP server (Granian is optional). Handlers stay Python, sync or async.
  • Included β€” typed schemas and settings, generated OpenAPI, an ORM for PostgreSQL, SQLite, MySQL and MariaDB, generated CRUD, test clients, MCP tools and an optional admin.
Hinoki admin, Studio style: a list of blog posts with search and filters
Admin Β· Studio
Hinoki admin, Console style: a dense list of blog posts
Admin Β· Console

Note

Hinoki is pre-alpha and not released: the API and the migration format may change, and I make no performance claims. Try it from a source checkout, with disposable data: git clone https://github.com/caspel26/hinoki, then follow the quick start.

More about the projects

django-ninja-aio-crud Β· features, install, demo

Async dynamic CRUD framework for Django Ninja.

  • ⚑ Async-first API generation
  • πŸ” Built-in authentication
  • πŸ”Ž Filtering & pagination
  • 🧩 Dynamic model CRUD
  • πŸ“¦ Automatic serialization
  • πŸ€– MCP server for AI agents β€” expose ViewSets as tools any MCP client can call directly, zero glue code
  • 🐍 Django + Django Ninja

Documentation Β· PyPI Β· GitHub

pip install django-ninja-aio-crud

django-ninja-aio-crud quick start demo
goninja Β· features, install, demo

Code-first CRUD REST APIs for Go, generated from annotated structs.

  • 🧬 Annotate a struct, run one command, get real .go files you commit
  • 🚫 Zero reflection on the request path β€” a bad tag fails go build, not production
  • 🧷 Output types are separate structs, so a field can't leak into a response
  • πŸͺ’ No N+1 by construction β€” list never preloads, retrieve preloads what it carries
  • πŸ”Ž Filters, range queries, ordering and limit/offset pagination
  • πŸ” Authenticator objects, per-route policy, reflected into the OpenAPI security schemes
  • πŸ“˜ OpenAPI 3.0 with Swagger UI and ReDoc embedded β€” no external CDN
  • 🐹 Plain net/http + GORM, no custom router

Documentation Β· Changelog Β· GitHub

go install github.com/caspel26/goninja/cmd/goninja@latest

goninja quick start demo
shimwire Β· features, install, demo

One CLI for both sides of an API you don't fully control yet β€” mocks the parts that aren't built, and tests the parts that are, from a single OpenAPI/Swagger spec.

  • πŸ”€ Spec-driven mock server and test collections, from one shared engine
  • πŸ“ Git-native collections β€” plain TOML, reviewable in a normal PR diff
  • 🎭 Schema-aware fake data, not just random junk
  • 🎯 Overrides for status/latency/exact-body edge-case testing
  • πŸ–±οΈ Guided interactive menu, or full CI-friendly flags
  • πŸ“Š HTML reports and --fail-on-error for CI
  • πŸ€– MCP server β€” an AI agent can inspect a spec, scaffold a project, and verify it actually works, without knowing shimwire's flags

GitHub

npm install -g shimwire

shimwire terminal demo
lilac-nights Β· features, install, previews

A dark VS Code theme with a lilac spine β€” built to be read for eight hours straight.

  • 🟣 Purple carries the structure β€” keywords, properties, decorators
  • 🎨 Every other hue has exactly one job, so nothing looks alike by accident
  • πŸ” Semantic-token aware, down to variable.classMember for Python attributes
  • β™Ώ Every syntax color clears WCAG AA against the editor background
  • πŸ–₯️ Full workbench, terminal ANSI, diff, debug and notebook coverage

Open VSX Β· GitHub

codium --install-extension caspel26.lilac-nights

Previews β€” click a language to open it here:

Python
Lilac Nights in Python
TypeScript
Lilac Nights in TypeScript
JavaScript
Lilac Nights in JavaScript
Go
Lilac Nights in Go
Rust
Lilac Nights in Rust
C++
Lilac Nights in C++

Other Projects

  • Shiori β€” an anime discovery and tracking product, in public beta (Go, PostgreSQL)
  • mana-oly-tools β€” community calculators, planners and trackers for Olympus Prison on ManaCube
  • ninja-aio-blog-example β€” production-oriented example integrating django-ninja-aio-crud with JWT (RS256) authentication

Other Experiments

  • ssh-manager β€” a Vue-based SSH connection manager
  • password_manager β€” a desktop password manager (Electron, Vue 3, TypeScript) that keeps credentials in encrypted local vault files

Connect

Portfolio LinkedIn Email GitHub

Pinned Loading

  1. hinoki hinoki Public

    Pre-alpha Python framework for typed HTTP APIs with a Rust core. Apps run on Kiso, Hinoki's own Rust HTTP server (Granian optional). Typed schemas and settings, generated OpenAPI, an ORM with revie…

    Python 4

  2. django-ninja-aio-crud django-ninja-aio-crud Public

    Async dynamic CRUD framework for Django Ninja β€” built-in auth, filtering, pagination, automatic serialization, and MCP tools for AI agents.

    Python 53 1

  3. goninja goninja Public

    Code-first Go framework: annotate a struct, generate a full CRUD REST API (routing, validation, OpenAPI, filters, pagination).

    Go 5

  4. password_manager password_manager Public

    Python password manager which use rsa key to crypt password file

    Vue 7 1

  5. shimwire shimwire Public

    Mock an OpenAPI/Swagger spec into a fake server, or run git-friendly TOML test collections against a real one β€” one CLI, one shared engine, built on Bun.

    TypeScript 2

  6. lilac-nights lilac-nights Public

    A dark VS Code theme with a lilac/violet spine and a full, contrast-checked syntax palette.

    Python 4