{"id":41185737,"url":"https://github.com/peferron/slug","last_synced_at":"2026-01-22T20:16:18.797Z","repository":{"id":17897938,"uuid":"20851276","full_name":"peferron/slug","owner":"peferron","description":"Generate URL-friendly slugs in Go.","archived":false,"fork":false,"pushed_at":"2015-05-23T03:48:01.000Z","size":392,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T03:17:51.623Z","etag":null,"topics":["go","golang","slug","slugify"],"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/peferron.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":"2014-06-15T08:32:01.000Z","updated_at":"2020-06-18T01:48:42.000Z","dependencies_parsed_at":"2022-07-10T06:47:16.621Z","dependency_job_id":null,"html_url":"https://github.com/peferron/slug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peferron/slug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peferron%2Fslug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peferron%2Fslug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peferron%2Fslug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peferron%2Fslug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peferron","download_url":"https://codeload.github.com/peferron/slug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peferron%2Fslug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"last_error":"SSL_read: 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":["go","golang","slug","slugify"],"created_at":"2026-01-22T20:16:18.732Z","updated_at":"2026-01-22T20:16:18.789Z","avatar_url":"https://github.com/peferron.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slug [![GoDoc](https://godoc.org/github.com/peferron/slug?status.png)](https://godoc.org/github.com/peferron/slug) [![Build Status](https://travis-ci.org/peferron/slug.svg?branch=master)](https://travis-ci.org/peferron/slug) [![Coverage Status](https://coveralls.io/repos/peferron/slug/badge.svg?branch=master)](https://coveralls.io/r/peferron/slug?branch=master)\n\nslug is a Go library for generating URL-friendly [slugs](http://en.wikipedia.org/wiki/Slug_%28web_publishing%29#Slug).\n\n## Examples\n\nBefore and after:\n- `A Lovely Day` → `a-lovely-day`\n- `Living in 北京` → `living-in-bei-jing`\n\n## Usage\n\n```go\npackage main\n\nimport \"github.com/peferron/slug\"\n\nfunc main() {\n    s := slug.Generate(\"Hello World\")\n    print(s) // Prints \"hello-world\"\n}\n```\n\nSee the full [API reference](https://godoc.org/github.com/peferron/slug).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeferron%2Fslug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeferron%2Fslug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeferron%2Fslug/lists"}