Leapkit Core is a Go web framework library that provides essential building blocks for building web applications. It's designed to be a lightweight, modular foundation with clean APIs and sensible defaults.
- HTTP server with routing capabilities
- Middleware support
- Session management
- Error handling with templating support
- Built on top of standard Go
net/http
- Database connection management
- Support for SQLite and PostgreSQL
- Database migration system
- Database creation utilities
- Template rendering system using Plush templating engine
- Support for layouts and partials
- File system-based template loading
- Context-aware rendering
- Form data decoding
- Form validation system
- HTTP request form processing
- Environment variable loading utilities
This library serves as a foundational component for the Leapkit ecosystem - a Go-based web framework that aims to provide:
- Simplicity: Clean, straightforward APIs for common web development tasks
- Modularity: Each component can be used independently
- Convention over Configuration: Sensible defaults (like
app/layouts/application.htmlfor layouts) - Database Agnostic: Support for multiple database systems
- Modern Go Practices: Uses Go 1.22+ and follows contemporary Go patterns
The project uses minimal, well-established dependencies:
- Plush: For templating (from Buffalo ecosystem)
- Gorilla Sessions: For session management
- SQLite3: For database support
This project is licensed under the MIT License - see the LICENSE file for details.