{"id":37139171,"url":"https://github.com/soongo/soon","last_synced_at":"2026-01-14T16:02:44.724Z","repository":{"id":57532548,"uuid":"216477624","full_name":"soongo/soon","owner":"soongo","description":"Soon is a web framework written in Go (Golang). It features an Express.js-like API.","archived":false,"fork":false,"pushed_at":"2020-12-10T13:38:52.000Z","size":329,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T18:54:28.818Z","etag":null,"topics":["express","expressjs","framework","go","golang","middleware","router","server","soon","soongo"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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/soongo.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}},"created_at":"2019-10-21T04:29:16.000Z","updated_at":"2024-06-20T18:54:28.819Z","dependencies_parsed_at":"2022-09-26T18:20:42.527Z","dependency_job_id":null,"html_url":"https://github.com/soongo/soon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soongo/soon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soongo%2Fsoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soongo%2Fsoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soongo%2Fsoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soongo%2Fsoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soongo","download_url":"https://codeload.github.com/soongo/soon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soongo%2Fsoon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["express","expressjs","framework","go","golang","middleware","router","server","soon","soongo"],"created_at":"2026-01-14T16:02:43.814Z","updated_at":"2026-01-14T16:02:44.713Z","avatar_url":"https://github.com/soongo.png","language":"Go","readme":"# Soon Web Framework\n\n[![Build Status](https://github.com/soongo/soon/workflows/build/badge.svg?branch=master)](https://github.com/soongo/soon/actions?query=workflow%3Abuild)\n[![codecov](https://codecov.io/gh/soongo/soon/branch/master/graph/badge.svg)](https://codecov.io/gh/soongo/soon)\n[![Go Report Card](https://goreportcard.com/badge/github.com/soongo/soon)](https://goreportcard.com/report/github.com/soongo/soon)\n[![GoDoc](https://godoc.org/github.com/soongo/soon?status.svg)](https://godoc.org/github.com/soongo/soon)\n[![License](https://img.shields.io/badge/MIT-green.svg)](https://opensource.org/licenses/MIT)\n\nSoon is a web framework written in Go (Golang). It features an expressjs-like API.\n\n## Installation\n\nTo install `Soon`, you need to install Go and set your Go workspace first.\n\nThe first need [Go](https://golang.org/) installed (**version 1.11+ is required**), then you can use the below Go command to install `Soon`.\n\n```sh\n$ go get -u github.com/soongo/soon\n```\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n\t\"github.com/soongo/soon\"\n)\n\n// an example middleware\nfunc logger(c *soon.Context) {\n\t// do something before\n\tc.Next()\n\t// do something after\n}\n\nfunc main() {\n\t// soon.SetMode(soon.DebugMode) // enable soon framework debug mode\n\n\t// Create an app with default router\n\tapp := soon.New()\n\n\tapp.Use(logger) // use middleware\n\n\tapp.GET(\"/\", func(c *soon.Context) {\n\t\tc.Send(\"Hello World\")\n\t})\n\n\tapp.GET(\"/:foo\", func(c *soon.Context) {\n\t\tc.Send(c.Params().Get(\"foo\"))\n\t})\n\n\t// an example error handler\n\tapp.Use(func(v interface{}, c *soon.Context) {\n\t\tmsg := \"Internal Server Error\"\n\t\tswitch err := v.(type) {\n\t\tcase error:\n\t\t\tmsg = err.Error()\n\t\tcase string:\n\t\t\tmsg = err\n\t\t}\n\t\tc.Status(500)\n\t\tc.Send(msg)\n\t})\n\n\tapp.Run() // listen and serve on 0.0.0.0:8080 (for windows \"localhost:8080\")\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoongo%2Fsoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoongo%2Fsoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoongo%2Fsoon/lists"}