{"id":23170994,"url":"https://github.com/ignatandrei/netcoreshortlinks","last_synced_at":"2025-06-17T03:34:19.558Z","repository":{"id":151055104,"uuid":"623126047","full_name":"ignatandrei/NetCoreShortLinks","owner":"ignatandrei","description":".NET Core short links","archived":false,"fork":false,"pushed_at":"2023-04-05T21:50:51.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-09T13:09:10.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/ignatandrei.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":"2023-04-03T18:45:22.000Z","updated_at":"2023-04-03T19:56:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0655229-7c7f-448e-91b8-84878ef6dd36","html_url":"https://github.com/ignatandrei/NetCoreShortLinks","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ignatandrei/NetCoreShortLinks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FNetCoreShortLinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FNetCoreShortLinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FNetCoreShortLinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FNetCoreShortLinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatandrei","download_url":"https://codeload.github.com/ignatandrei/NetCoreShortLinks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FNetCoreShortLinks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260285938,"owners_count":22986481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-18T04:15:48.861Z","updated_at":"2025-06-17T03:34:19.550Z","avatar_url":"https://github.com/ignatandrei.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# NetCoreShortLinks\n\n.NET Core short links -  short links for your site\n[![Build Nuget](https://github.com/ignatandrei/NetCoreShortLinks/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/ignatandrei/NetCoreShortLinks/actions/workflows/dotnet.yml)\n![Nuget](https://img.shields.io/nuget/dt/NetCore7ShortLinks?label=NetCore7ShortLinks\u0026style=for-the-badge)\n\n\n# How to use it\n\nInstall the package from https://www.nuget.org/packages/NetCore7ShortLinks\n\nUse the following code for .NET 7\n\n```csharp\n\nbuilder.Services.AddShortUrl();\n//code\napp.UseShortUrl();\napp.UseDefaultFiles();\napp.UseStaticFiles();\n//code\napp.MapControllers();\napp.MapShortUrlEndpoints();\n\n```\n\n# What it does\n\nIt adds a middleware that creates short url for each response that matches 200 and content type text/html. \n\nYou can see the list at /short/list/json\n\nYou can follow a short url from /short/goto/{shorturl}\n\n# Github\n\nhttps://github.com/ignatandrei/NetCoreShortLinks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Fnetcoreshortlinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatandrei%2Fnetcoreshortlinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Fnetcoreshortlinks/lists"}