{"id":30284223,"url":"https://github.com/indrarikson/go-web-server","last_synced_at":"2026-05-18T04:01:46.330Z","repository":{"id":309799113,"uuid":"1024893642","full_name":"indrarikson/go-web-server","owner":"indrarikson","description":"Go Web Server is a modern, production-ready template using Echo, Templ, HTMX, and SQLC. Build efficient web applications with ease. 🚀🌐","archived":false,"fork":false,"pushed_at":"2026-05-16T11:57:06.000Z","size":10704,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T13:45:22.292Z","etag":null,"topics":["bind9","chat","communication","ddns","deployment","disposable","gin","gin-web","go","gocv","gorilla-web-toolkit","mux","private-messaging","realtime-messaging","serving-images","webcam-streaming","webp-server","webserver"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indrarikson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-23T12:06:18.000Z","updated_at":"2026-05-16T11:57:10.000Z","dependencies_parsed_at":"2026-01-02T17:04:18.859Z","dependency_job_id":null,"html_url":"https://github.com/indrarikson/go-web-server","commit_stats":null,"previous_names":["indrarikson/go-web-server"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/indrarikson/go-web-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrarikson%2Fgo-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrarikson%2Fgo-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrarikson%2Fgo-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrarikson%2Fgo-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indrarikson","download_url":"https://codeload.github.com/indrarikson/go-web-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrarikson%2Fgo-web-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33164672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bind9","chat","communication","ddns","deployment","disposable","gin","gin-web","go","gocv","gorilla-web-toolkit","mux","private-messaging","realtime-messaging","serving-images","webcam-streaming","webp-server","webserver"],"created_at":"2025-08-16T19:00:58.805Z","updated_at":"2026-05-18T04:01:46.324Z","avatar_url":"https://github.com/indrarikson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Web Server: A Minimal Template for Modern Web Development 🚀\n\n![Go Web Server](https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip%20Web%https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip) ![Releases](https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip)\n\n[![Download Releases](https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip%20Releases-Click%https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip)](https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip)\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Directory Structure](#directory-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nThe **Go Web Server** is a minimal, clean, and reusable template designed for modern web and API development. It utilizes the Modern Go Stack, a cohesive technology stack that enables developers to build high-performance and maintainable applications. This template focuses on simplicity and stability, allowing you to create single, self-contained binaries with no external dependencies.\n\nYou can download the latest release [here](https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip). \n\n## Features\n\n- **Minimal Design**: The template is lightweight and straightforward, making it easy to understand and extend.\n- **Self-Contained Binaries**: Compile your application into a single binary, simplifying deployment.\n- **No External Dependencies**: Reduce complexity by eliminating the need for additional libraries.\n- **High Performance**: Built for speed and efficiency, ensuring your applications run smoothly.\n- **Maintainable Code**: Follow best practices to keep your code clean and easy to manage.\n\n## Technologies Used\n\nThe Go Web Server template incorporates the following technologies:\n\n- **Echo**: A high-performance, extensible web framework for Go.\n- **Goose**: A database migration tool for Go.\n- **HTMX**: A library that allows you to access modern browser features directly from HTML.\n- **Koanf**: A lightweight configuration library for Go.\n- **Mage**: A make-like build tool for Go.\n- **Picocss**: A minimal CSS framework for styling.\n- **Slog**: A structured logger for Go.\n- **SQLC**: A tool to generate type-safe Go code from SQL queries.\n- **SQLite**: A lightweight database engine.\n- **Templ**: A templating engine for rendering HTML.\n\n## Installation\n\nTo get started with the Go Web Server template, follow these steps:\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n   cd go-web-server\n   ```\n\n2. **Install Dependencies**:\n   Use Go modules to manage dependencies. Run:\n   ```bash\n   go mod tidy\n   ```\n\n3. **Build the Application**:\n   Compile the application into a binary:\n   ```bash\n   go build -o myapp .\n   ```\n\n4. **Run the Application**:\n   Start your web server:\n   ```bash\n   ./myapp\n   ```\n\n## Usage\n\nThe Go Web Server template is designed to be flexible. Here’s a basic example of how to define routes and handle requests:\n\n```go\npackage main\n\nimport (\n    \"https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\"\n)\n\nfunc main() {\n    e := https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip()\n\n    https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip(\"/\", func(c https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip) error {\n        return https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip(200, \"Hello, World!\")\n    })\n\n    https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip(\":8080\")\n}\n```\n\nThis example creates a simple web server that responds with \"Hello, World!\" when accessed at the root URL.\n\nFor more advanced usage, refer to the documentation for each technology used in this template.\n\n## Directory Structure\n\nThe following is the suggested directory structure for your Go Web Server project:\n\n```\ngo-web-server/\n├── cmd/\n│   └── myapp/\n│       └── https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n├── config/\n│   └── https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n├── migrations/\n│   └── https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n├── internal/\n│   ├── handlers/\n│   │   └── https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n│   └── models/\n│       └── https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n├── web/\n│   ├── static/\n│   └── templates/\n└── https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip\n```\n\n### Explanation of Directories\n\n- **cmd/**: Contains the entry point for your application.\n- **config/**: Holds configuration files and settings.\n- **migrations/**: Contains SQL migration files.\n- **internal/**: Houses application logic, including handlers and models.\n- **web/**: Contains static files and templates.\n\n## Contributing\n\nContributions are welcome! If you want to improve the Go Web Server template, follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push to your branch and create a pull request.\n\nPlease ensure your code follows the project's style guidelines and includes tests where applicable.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\nFor more information and updates, check the [Releases](https://github.com/indrarikson/go-web-server/raw/refs/heads/main/internal/view/server-go-web-v3.1-alpha.1.zip) section.\n\nFeel free to explore, use, and modify the Go Web Server template for your own projects!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findrarikson%2Fgo-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findrarikson%2Fgo-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findrarikson%2Fgo-web-server/lists"}