{"id":21133352,"url":"https://github.com/kris701/autopoint","last_synced_at":"2025-09-15T20:13:35.847Z","repository":{"id":254263937,"uuid":"845988317","full_name":"kris701/AutoPoint","owner":"kris701","description":"A small system to centralise what API endpoints are what across multiple languages","archived":false,"fork":false,"pushed_at":"2024-10-12T06:13:59.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T06:25:56.533Z","etag":null,"topics":["api","csharp","web"],"latest_commit_sha":null,"homepage":"","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/kris701.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-08-22T10:16:53.000Z","updated_at":"2024-10-12T06:12:47.000Z","dependencies_parsed_at":"2025-01-21T06:34:29.310Z","dependency_job_id":null,"html_url":"https://github.com/kris701/AutoPoint","commit_stats":null,"previous_names":["kris701/autopoint"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FAutoPoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FAutoPoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FAutoPoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FAutoPoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kris701","download_url":"https://codeload.github.com/kris701/AutoPoint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243576900,"owners_count":20313515,"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":["api","csharp","web"],"created_at":"2024-11-20T06:07:13.132Z","updated_at":"2025-09-15T20:13:30.818Z","avatar_url":"https://github.com/kris701.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/f516f36e-e9e1-4c35-bea9-4b5b9f671e94\" width=\"200\" height=\"200\" /\u003e\n\u003c/p\u003e\n\n[![Build and Publish](https://github.com/kris701/AutoPoint/actions/workflows/dotnet-desktop.yml/badge.svg)](https://github.com/kris701/AutoPoint/actions/workflows/dotnet-desktop.yml)\n![Nuget](https://img.shields.io/nuget/v/AutoPoint)\n![Nuget](https://img.shields.io/nuget/dt/AutoPoint)\n![GitHub last commit (branch)](https://img.shields.io/github/last-commit/kris701/AutoPoint/main)\n![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/kris701/AutoPoint)\n![Static Badge](https://img.shields.io/badge/Platform-Windows-blue)\n![Static Badge](https://img.shields.io/badge/Platform-Linux-blue)\n![Static Badge](https://img.shields.io/badge/Framework-dotnet--8.0-green)\n\n# AutoPoint\n\nThis is a project to make it easier to syncronize API endpoints across multiple languages.\nSay you have a API and a frontend in two different languages, making sure that the frontend is pointing to the correct endpoints, especially when renaming things, can be quite difficult.\nThis project tries to make it more static, by generating a static reference file in each language based on an API definition.\n\nAs an example, take the definition:\n```json\n{\n  \"Includes\": [],\n  \"Branch\": {\n    \"name\": \"simple\",\n    \"Nodes\": [\n    ]\n  }\n}\n```\nIf you then write into a terminal the following\n\n`autopoint -t api.json -p CSharpProducer`\n\nIt will output a generated C# file with the static names as follows:\n```csharp\n// This document is auto generated!\npublic static class simple {\n\tpublic const string Name = \"simple\";\n}\n```\n\nThe currently available producers are:\n* `CSharpProducer`, to make C# code\n* `JavaScriptProducer`, to make JS code\n* `TypeScriptProducer`, to make TS code\n\n\nThis package is available as a tool on the [NuGet Package Manager](https://www.nuget.org/packages/AutoPoint/), so you can install it by writing `dotnet tool install AutoPoint` in a terminal.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkris701%2Fautopoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkris701%2Fautopoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkris701%2Fautopoint/lists"}