🎉 Now available - v1.0.0
Build Fast Web Apps with Squirrel🐿️
A simple and minimalist web framework for Go. Fast, lightweight, and developer-friendly.
Lightning Fast
Built for performance with minimal overhead and optimized routing.
Developer Friendly
Simple API design that feels familiar and intuitive to use.
Production Ready
Built-in middleware, error handling, and recovery mechanisms.
Installation
Get Started in Seconds
Install Squirrel Framework with a single command
Install via Go Modules
Requires Go 1.22 or later
$ go get github.com/useranonymous001/squirrel
1
Install
Add Squirrel to your Go project
2
Import
Import and create your server
3
Deploy
Build and deploy your application
Quick Start
Your First Squirrel Server
Create a powerful web server with just a few lines of code
Hello World Server
A simple HTTP server that responds with "e;Hello, World!"e;
package main
import "github.com/useranonymous001/squirrel"
func main() {
// Create a new server instance
server := SpawnServer()
// Define a simple route
server.Get("/", func(req *Request, res *Response) {
res.Write("Hello, World!")
res.Send()
})
// Start the server on port 8080
server.Listen(":8080")
}Features
Everything You Need
Squirrel Framework comes packed with features to build modern web applications
Lightning Fast
Built for performance with minimal overhead and optimized request handling.
Simple API
Intuitive and familiar API design that feels natural to Go developers.
Middleware Support
Powerful middleware system for request processing and cross-cutting concerns.
Built-in Recovery
Automatic panic recovery and error handling to keep your server running smoothly.
Cookie Management
Full cookie support with parsing, setting, and secure cookie handling.
Static File Serving
Efficient static file serving with customizable paths and caching.
HTTP Methods
Support for all standard HTTP methods: GET, POST, PUT, DELETE, and more.
URL Parameters
Dynamic routing with URL parameters and query string parsing.
Secure by Default
Security-focused design with safe defaults and best practices built-in.
Production Ready
Battle-tested and ready for your next production application