{"id":20572722,"url":"https://github.com/molnarmark/slid","last_synced_at":"2026-06-01T03:31:37.373Z","repository":{"id":92791161,"uuid":"84676639","full_name":"molnarmark/slid","owner":"molnarmark","description":"💭 Slid is a static file server with routing support.","archived":false,"fork":false,"pushed_at":"2018-03-14T19:19:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T19:56:02.239Z","etag":null,"topics":["file","go","golang","route","routing","server","slid","static","static-file-server"],"latest_commit_sha":null,"homepage":"","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/molnarmark.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}},"created_at":"2017-03-11T20:06:19.000Z","updated_at":"2018-03-14T19:19:26.000Z","dependencies_parsed_at":"2023-05-17T19:00:38.348Z","dependency_job_id":null,"html_url":"https://github.com/molnarmark/slid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/molnarmark/slid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fslid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fslid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fslid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fslid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molnarmark","download_url":"https://codeload.github.com/molnarmark/slid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fslid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33759178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":["file","go","golang","route","routing","server","slid","static","static-file-server"],"created_at":"2024-11-16T05:23:27.448Z","updated_at":"2026-06-01T03:31:37.349Z","avatar_url":"https://github.com/molnarmark.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slid\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nSlid is a static file server with routing.\n\n\n### Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/molnarmark/slid\"\n)\n\nfunc main() {\n\tconfig := \u0026slid.Config{\n\t\tPort: 9898,\n\t\tDir:  \"files\",\n\t}\n\n\t// Makes a new slid instance with the config\n\tapp := slid.New(config)\n\n\t// Adding a route with a path and a specific handler function.\n\tapp.Get(\"/\", func(c *slid.Context) {\n\t\tc.Text(\"Homepage, with plain text sent.\")\n\t})\n\n\t// You can also call the Serve method on the context to send back a file.\n\tapp.Get(\"/anotherindex\", func(c *slid.Context) {\n\t\tc.Serve(\"index\")\n\t})\n\n\t// A quick way is also available to map a route to a filename\n\tapp.GetFile(\"/index\", \"index\")\n\n\tapp.Run(func() {\n\t\tfmt.Println(\"Slid is running.\")\n\t})\n}\n```\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolnarmark%2Fslid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolnarmark%2Fslid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolnarmark%2Fslid/lists"}