Dracory Packages
Dracory provides a set of small, focused Go packages designed to be used both within the framework and standalone in any Go project.
Explore the packages below to learn how to install and use them.
Database & Core
- neat — ORM, query builder, migrations, and multi-driver connections powering every datastore
- dataobject — Change-tracking data structure backing all datastore entities
- aztablessql — SQL translation driver for Azure Table Storage / Cosmos DB
- gorm-sqlite — CGO-free SQLite dialector for GORM
HTTP & Web
- api — Lightweight HTTP helpers for Go APIs
- rtr — Declarative routing utilities for Go web apps
- websrv — Configurable HTTP server with graceful shutdown
- req — HTTP request helpers: parameters, trimmed strings, client IP
- csrf — CSRF token generation, validation middleware, and form helpers
- base — Core building blocks (CLI dispatcher, layouts, session, testutils)
- cmd — Helpers for executing system commands and parsing CLI args
- test — Testing utilities: request builders and test environment helpers
Frontend & UI
- hb — Fluent, type-safe HTML builder underpinning all Dracory UI
- bs — Bootstrap component builder on top of hb
- ui — Higher-level composite UI components
- form — HTML form builder with validation, theming, HTMX, and grid layouts
- icons — Bootstrap Icons and Boxicons as renderable Go tags
- liveflux — Server-driven reactive components over HTTP/WebSocket
- blockeditor — Embeddable block-based content editor
- stepeditor — Step-by-step workflow editor with branching (Power Automate style)
- cdn — Helpers to include popular frontend libraries via CDN
- uncdn — Serve packaged frontend assets locally, no CDN required
Admin Modules
- blogadmin — Blog administration panel (posts, categories, tags)
- cmsadmin — CMS administration panel (pages, menus, templates)
- fileadmin — File manager admin panel over media storage
- logadmin — Log viewer admin panel over logstore
- shopadmin — Shop administration (products, orders, subscriptions)
- useradmin — User management, roles, and impersonation panel
Security & Auth
- auth — Authentication primitives: cookies, tokens, rate limiting
- envenc — Environment variable encryption and secure vault management
- crypto — Hashing, encryption, and token utilities
Utilities
- arr — Utility functions for arrays, slices, and maps
- str — String utilities: validation, manipulation, formatting, encoding, hashing
- env — Environment configuration loader for Go applications
- email — Email sending and templating utilities
- filesystem — Driver-based file storage abstraction (StorageInterface)
- csvutils — Read CSV files into arrays or header-keyed maps
- shortcode — WordPress-style shortcode parsing and rendering
- social — Social share link generation for 30+ platforms
- omni — Composable, thread-safe hierarchical data model
Workflows, Rules & AI
- wf — Programmable workflows: steps, pipelines, and DAGs
- swf — Simple linear, human-driven workflow engine
- rule — Composable business rules engine
- llm — Multi-provider LLM abstraction (Anthropic, Gemini, OpenAI, OpenRouter, Vertex)