{"id":20154587,"url":"https://github.com/roundpartner/tempus","last_synced_at":"2025-08-22T10:09:55.209Z","repository":{"id":165604951,"uuid":"111309970","full_name":"roundpartner/tempus","owner":"roundpartner","description":"Micro Service for generating time based keys","archived":false,"fork":false,"pushed_at":"2022-04-06T16:17:36.000Z","size":50,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T18:00:54.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/roundpartner.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":"2017-11-19T15:58:02.000Z","updated_at":"2022-04-06T12:23:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fe384c6-6b9c-4791-b68f-4bb45f9b41da","html_url":"https://github.com/roundpartner/tempus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roundpartner/tempus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Ftempus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Ftempus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Ftempus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Ftempus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roundpartner","download_url":"https://codeload.github.com/roundpartner/tempus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roundpartner%2Ftempus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271620597,"owners_count":24791569,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2024-11-13T23:27:27.730Z","updated_at":"2025-08-22T10:09:55.165Z","avatar_url":"https://github.com/roundpartner.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tempus\nMicro Service for generating time based keys\n## Abstract\nThis service provides an end point for generating a new token that can be used to authenticate a user.\n# Usage\n```bash\ncurl localhost:7373 -d \"{\\\"user_id\\\":\\\"1\\\",\\\"scenario\\\":\\\"test\\\"}\"\n```\n```json\n{\"user_id\":\"1\",\"scenario\":\"test\",\"token\":\"2b73bb3213da2f0627f492b741bdeb491a43d0f392176981e4138924147ca0d7\"}\n```\n```bash\ncurl localhost:7373/1/2b73bb3213da2f0627f492b741bdeb491a43d0f392176981e4138924147ca0d7\n```\n\n```json\n{\"user_id\":\"1\",\"scenario\":\"test\",\"token\":\"BAa-gqpESzJMy6k-oxiokPk-oJ-sejqzgmdSQ0pHXdz3dwTg9wXImWT3_hBKyhgS\"}\n```\n# Testing\nYou will need redis to run tests\n## Starting Redis\nRedis can be run locally in a container with\n```bash\ndocker run --rm --name tempus-redis -p 127.0.0.1:6379:6379 redis\n```\nYou can then monitor the server with\n```bash\ndocker exec tempus-redis redis-cli monitor\n```\n# Benchmarking\n```bash\ngo test -bench=.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundpartner%2Ftempus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froundpartner%2Ftempus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundpartner%2Ftempus/lists"}