{"id":17134020,"url":"https://github.com/shkm/crapi","last_synced_at":"2026-05-11T03:17:19.454Z","repository":{"id":69276526,"uuid":"581211556","full_name":"shkm/crapi","owner":"shkm","description":"📠 A HTTP API for your JSON/YAML files","archived":false,"fork":false,"pushed_at":"2022-12-22T15:49:43.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T23:53:03.412Z","etag":null,"topics":["crystal","json","key-value-store","yaml"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/shkm.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":"2022-12-22T15:10:48.000Z","updated_at":"2025-02-23T15:37:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5b2c864-53ed-47cd-9f8d-876c04770c28","html_url":"https://github.com/shkm/crapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkm%2Fcrapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkm%2Fcrapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkm%2Fcrapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkm%2Fcrapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shkm","download_url":"https://codeload.github.com/shkm/crapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217792,"owners_count":20579297,"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":["crystal","json","key-value-store","yaml"],"created_at":"2024-10-14T19:43:34.385Z","updated_at":"2026-05-11T03:17:14.419Z","avatar_url":"https://github.com/shkm.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📠 Crapi\n\nCrapi [/ˈkrapi/] exposes a JSON or YAML file via a simple HTTP API for use as a basic read-only key-value store. It might be useful for serving up static data that doesn't change very often.\n\nAlso, it's written in Crystal! Yay!\n\n⚠️  Very WIP. Restructure and tests to follow.\n\n## Installation\n\nTODO.\n\n1. Grab the binary\n2. ???\n3. Maybe profit\n\n## Usage\n\nWith a `data.yml` file in the current working directory, run crapi:\n\n```\ncrapi\n```\n\nYour yaml will be exposed on port 3000. For example, with this yaml file:\n\n```yaml\nfoo:\n  bar:\n    baz: Hi ma\n```\n\nYou'll receive this response:\n\n```\n\u003e curl localhost:3000/foo/bar/baz\n{\"data\":\"Hi ma\"}⏎\n```\n\nIf the key is missing, the server simply returns a 404.\n\n## Development\n\n1. Have crystal\n2. TODO\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/shkm/crapi/fork\u003e)\n2. Create your feature branch (`git checkout -b feature/my-new-feature`)\n3. Commit your changes (`git commit -am 'feat: add some feature'`)\n4. Push to the branch (`git push origin feature/my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Jamie Schembri](https://github.com/shkm) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshkm%2Fcrapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshkm%2Fcrapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshkm%2Fcrapi/lists"}