{"id":25981566,"url":"https://github.com/robertojnior/octo-issue-tracker","last_synced_at":"2026-04-13T15:34:28.168Z","repository":{"id":49593176,"uuid":"306017864","full_name":"robertojnior/octo-issue-tracker","owner":"robertojnior","description":":octocat: An API that tracks repository issues.","archived":false,"fork":false,"pushed_at":"2021-06-12T22:44:43.000Z","size":81,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T02:29:08.430Z","etag":null,"topics":["api","docker","grape-api","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/robertojnior.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":"2020-10-21T12:30:26.000Z","updated_at":"2021-10-25T02:18:49.000Z","dependencies_parsed_at":"2022-09-21T20:41:14.970Z","dependency_job_id":null,"html_url":"https://github.com/robertojnior/octo-issue-tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertojnior/octo-issue-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertojnior%2Focto-issue-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertojnior%2Focto-issue-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertojnior%2Focto-issue-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertojnior%2Focto-issue-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertojnior","download_url":"https://codeload.github.com/robertojnior/octo-issue-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertojnior%2Focto-issue-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["api","docker","grape-api","rails","ruby"],"created_at":"2025-03-05T08:35:23.882Z","updated_at":"2026-04-13T15:34:28.142Z","avatar_url":"https://github.com/robertojnior.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Octo Issue Tracker\n\n## About\n\nIt's a simple API that can listen to github issues events. Consists of three main endpoints:\n\n- `GET /v1/issues`: that lists all the issues saved.\n\n- `GET /v1/issues/:number/events`: that lists all the events that occurred on a specific issue.\n\n- `POST /v1/events`: the webhook that you can use to listen and save issue events.\n\n## Setup\nYou need to install [Docker](https://www.docker.com/), [Docker Compose](https://docs.docker.com/compose/install/) and clone this repository to your local machine.\n\nInside the project folder perform:\n\n```shell\ndocker-compose build\ndocker-compose run --rm web rake db:create db:migrate\n```\n\nAfter that, execute:\n\n```shell\ndocker-compose run --rm -e EDITOR=vim web bin/rails credentials:edit --environment development\n```\n\nNow you have to set two environment variables:\n\n- `default_username`: a default username for basic authentication.\n\n- `default_password`: a default password for basic authentication.\n\n## Usage\n\nEnter the project directory and run:\n\n```shell\ndocker-compose up -d\n```\n\nTo access the endpoints, you could use a API client of your preference, like [Insomnia](https://insomnia.rest/) or [Postman](https://www.postman.com/).\n\nIn the request, you need to pass a basic authentication header, with the default username and password, which you defined earlier.\n\nThe POST request doesn't need authentication and it's payload is like the following example:\n\n```json\n{\n\t\"action\": \"opened\",\n\t\"issue\": {\n\t\t\"number\": 1,\n\t\t\"title\": \"Odit non inventore illo.\",\n\t\t\"body\": \"Sed nesciunt debitis. Tempora aut incidunt.\",\n\t\t\"updated_at\":\"2020-10-23T00:37:00Z\"\n\t}\n}\n```\n\n## Github Webhooks\n\nWith everything set up, you can use ngrok to run a local server, which listens for issue events from a github repository. To do this, install ngrok and run:\n\n```\nngrok http 3000\n```\n\nCopy the server base URL, generated by ngrok, go to the github webhook pages and put:\n\n```\nngrokBaseURL/v1/events\n```\n\n## Tests\nIn the project folder, run:\n\n```shell\ndocker-compose run --rm web bundle exec rspec spec\n```\n\n## License\n\n[MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertojnior%2Focto-issue-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertojnior%2Focto-issue-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertojnior%2Focto-issue-tracker/lists"}