{"id":25491578,"url":"https://github.com/fatihtatoglu/whoami","last_synced_at":"2026-05-02T02:31:57.883Z","repository":{"id":103760308,"uuid":"537828565","full_name":"fatihtatoglu/whoami","owner":"fatihtatoglu","description":"A simple whoami endpoint.","archived":false,"fork":false,"pushed_at":"2022-09-17T14:14:48.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T01:38:20.698Z","etag":null,"topics":["docker","go","golang","whoami"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/fatihtatoglu.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-09-17T14:11:30.000Z","updated_at":"2022-09-17T14:17:12.000Z","dependencies_parsed_at":"2024-06-21T00:50:35.154Z","dependency_job_id":null,"html_url":"https://github.com/fatihtatoglu/whoami","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fatihtatoglu/whoami","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihtatoglu%2Fwhoami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihtatoglu%2Fwhoami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihtatoglu%2Fwhoami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihtatoglu%2Fwhoami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fatihtatoglu","download_url":"https://codeload.github.com/fatihtatoglu/whoami/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihtatoglu%2Fwhoami/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32520835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","go","golang","whoami"],"created_at":"2025-02-18T22:18:17.509Z","updated_at":"2026-05-02T02:31:57.860Z","avatar_url":"https://github.com/fatihtatoglu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whoami\n\nActually, I did this project to make something in Go and Docker.\n\nI'm very new to GoLang. There are many mistakes and no tests.\n\n## Deployment\n\n```bash\ndocker run -d -p 5000:5000 tatoglu/whoami:latest\n```\n\n## Endpoints\n\nThere are 3 endpoints.\n\n### Regular Usage\n\nIt can be used to learn hostname of the container.\n\n```bash\ncurl http://localhost:5000/\n```\n\n```json\n{\"hostname\": \"89f02ed1a4dd\"}\n```\n\n### Date\n\nIt can be used to learn current date and time of the container.\n\n```bash\ncurl http://localhost:5000/date\n```\n\n```json\n{\"hostname\": \"89f02ed1a4dd\", \"date\": \"2022-09-17T14:02:52.397349799Z\"}\n```\n\n### Fun Part\n\nIt can use to have fun. The endpoint get a joke from [I can haz dad joke](https://icanhazdadjoke.com/) website. Everytime a new joke will get.\n\n```bash\ncurl http://localhost:5000/joke\n```\n\n```json\n{\"hostname\": \"89f02ed1a4dd\", \"joke\":\"People saying 'boo! to their friends has risen by 85% in the last year.... That's a frightening statistic.\"}\n```\n\n## Objectives\n\n- [X] Develop an API.\n- [X] Call a 3rd party website from the API.\n- [ ] Move all the response models into a folder or module.\n- [ ] Move all the handlers into a folder or module.\n- [ ] Add GitHub Actions for deployment to Docker Hub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatihtatoglu%2Fwhoami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffatihtatoglu%2Fwhoami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatihtatoglu%2Fwhoami/lists"}