{"id":27608037,"url":"https://github.com/mohammadne/fesghel","last_synced_at":"2025-04-22T22:20:43.301Z","repository":{"id":288214454,"uuid":"967217211","full_name":"mohammadne/fesghel","owner":"mohammadne","description":"Shortener in Go","archived":false,"fork":false,"pushed_at":"2025-04-16T06:07:33.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T07:02:23.866Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohammadne.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,"zenodo":null}},"created_at":"2025-04-16T05:42:28.000Z","updated_at":"2025-04-16T06:07:37.000Z","dependencies_parsed_at":"2025-04-16T07:02:31.342Z","dependency_job_id":"c1e7a805-eda7-4108-bf49-008216c2d73e","html_url":"https://github.com/mohammadne/fesghel","commit_stats":null,"previous_names":["mohammadne/fesghel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadne%2Ffesghel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadne%2Ffesghel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadne%2Ffesghel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadne%2Ffesghel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadne","download_url":"https://codeload.github.com/mohammadne/fesghel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250332147,"owners_count":21413161,"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":[],"created_at":"2025-04-22T22:20:42.698Z","updated_at":"2025-04-22T22:20:43.282Z","avatar_url":"https://github.com/mohammadne.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fesghel\n\n![Go Version](https://img.shields.io/badge/Golang-1.24-66ADD8?style=for-the-badge\u0026logo=go)\n![App Version](https://img.shields.io/github/v/tag/mohammadne/fesghel?sort=semver\u0026style=for-the-badge\u0026logo=github)\n![Repo Size](https://img.shields.io/github/repo-size/mohammadne/fesghel?logo=github\u0026style=for-the-badge)\n![Coverage](https://img.shields.io/codecov/c/github/mohammadne/fesghel?logo=codecov\u0026style=for-the-badge)\n\n\u003e Fesghel is a persian name means small\n\nThe url shortener\n\n## TODOs\n\n- complete readme and docs\n- integration api tests\n- functional tests\n- the pkg helper for integration\n\n## Tests\n\nThe Benchmark for key generation is:\n\n```txt\ngoos: linux\ngoarch: amd64\npkg: github.com/mohammadne/fesghel/internal/urls\ncpu: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz\nBenchmarkGenerateKey\nBenchmarkGenerateKey-8     1419451     871.4 ns/op     112 B/op     6 allocs/op\n```\n\nAnd the benchmark tests via k6 is as below:.\n\n```bash\nsudo dnf install https://dl.k6.io/rpm/repo.rpm\nsudo dnf install k6\n```\n\n‍‍‍```txt\nTOTAL RESULTS\n\nchecks_total.......................: 32     0.799981/s\nchecks_succeeded...................: 53.12% 17 out of 32\nchecks_failed......................: 46.87% 15 out of 32\n\n✓ liveness is status 200\n✓ readiness is status 200\n✓ shorten status is 201\n✗ response has ID\n    ↳  0% — ✓ 0 / ✗ 15\n\nHTTP\nhttp_req_duration.......................................................: avg=15.13ms min=321.37µs med=14.44ms max=26.83ms p(90)=26.59ms p(95)=26.68ms\n    { expected_response:true }............................................: avg=15.13ms min=321.37µs med=14.44ms max=26.83ms p(90)=26.59ms p(95)=26.68ms\nhttp_req_failed.........................................................: 0.00%   0 out of 17\nhttp_reqs...............................................................: 17      0.42499/s\n\nEXECUTION\niteration_duration......................................................: avg=61.93µs min=6.47µs   med=21.52µs max=1.02s   p(90)=36.06µs p(95)=42.54µs\niterations..............................................................: 5259588 131486.572865/s\nvus.....................................................................: 50      min=0           max=50\nvus_max.................................................................: 56      min=56          max=56\n\nNETWORK\ndata_received...........................................................: 3.0 kB  75 B/s\ndata_sent...............................................................: 2.9 kB  72 B/s\n\nrunning (00m40.0s), 00/56 VUs, 5259588 complete and 0 interrupted iterations\nhealthz ✓ [======================================] 1 VUs   00m00.0s/10m0s  1/1 shared iters\nshorten ✓ [======================================] 5 VUs   00m03.1s/10m0s  15/15 shared iters\nget     ✓ [======================================] 50 VUs  30\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadne%2Ffesghel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadne%2Ffesghel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadne%2Ffesghel/lists"}