{"id":17383623,"url":"https://github.com/mehmetumit/dexus","last_synced_at":"2026-05-19T19:03:19.484Z","repository":{"id":206064763,"uuid":"711628363","full_name":"mehmetumit/dexus","owner":"mehmetumit","description":"Dynamic extensible URL shortener","archived":false,"fork":false,"pushed_at":"2023-11-07T20:05:31.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T23:35:45.976Z","etag":null,"topics":["caching","ci-cd","dynamic","extensible","go","go-http-middleware","makefile","mocking","ports-and-adapters-pattern","shell-script","url-shortener"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehmetumit.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}},"created_at":"2023-10-29T20:44:57.000Z","updated_at":"2023-11-07T18:56:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"0aa465f0-10ad-41bd-9c2c-4f9f8d78992b","html_url":"https://github.com/mehmetumit/dexus","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"4e2c5dac304f1a3b4b23d5a3c4cdf74dd90bc296"},"previous_names":["mehmetumit/dexus"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetumit%2Fdexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetumit%2Fdexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetumit%2Fdexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetumit%2Fdexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehmetumit","download_url":"https://codeload.github.com/mehmetumit/dexus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924515,"owners_count":20694730,"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":["caching","ci-cd","dynamic","extensible","go","go-http-middleware","makefile","mocking","ports-and-adapters-pattern","shell-script","url-shortener"],"created_at":"2024-10-16T07:43:18.021Z","updated_at":"2026-05-19T19:03:19.449Z","avatar_url":"https://github.com/mehmetumit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003edexus\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/mehmetumit/dexus/actions/workflows/build-test.yaml/badge.svg\"/\u003e\n\t\u003ca href=\"https://goreportcard.com/report/github.com/mehmetumit/dexus\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/mehmetumit/dexus\"/\u003e\u003c/a\u003e\n\t\u003ca href=\"https://codecov.io/gh/mehmetumit/dexus\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/github/mehmetumit/dexus/master.svg\"/\u003e\u003c/a\u003e\n\t\u003cimg src=\"https://github.com/mehmetumit/dexus/actions/workflows/release.yaml/badge.svg\"/\u003e\n\t\u003ca href=\"https://github.com/mehmetumit/dexus/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/mehmetumit/dexus?color=yellow\" alt=\"Stars\"/\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/mehmetumit/dexus/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/mehmetumit/dexus\" alt=\"License\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## About\n\nDexus is a URL shortener that provides you with the ability to extend it dynamically according to your needs. You can utilize existing [adapters](./internal/adapters) or implement your own adapters based on [ports](./internal/core/ports). Afterwards, you only need to inject these adapters in [cmd/main.go](./cmd/main.go). Contributions of any new adapters are welcome.\n\n## Usage\n### Using binary release\nPrecompiled binaries are available on the [relases](https://github.com/mehmetumit/dexus/releases) page.\n### Local Usage\n```sh\n# Clone the repository\ngit clone https://github.com/mehmetumit/dexus.git\n# Change directory\ncd dexus\n# Build and run with make\nmake exec\n# Or just build as \"./build/dexus\"\nmake build\n```\n### Using Docker\n```sh\n# Clone the repository\ngit clone https://github.com/mehmetumit/dexus.git\n# Change directory\ncd dexus\n# Build image with make\nmake docker-build\n# Run image with make\nmake docker-run\n# Or manually\ndocker run -p 8080:8080 dexus:latest\n```\n### Development\n```sh\n# Live reload using 'entr'\nmake live-reload\n```\n```sh\n# Run tests and get coverage\nmake test\n```\n```sh\n# Run tests and get coverage with html output\nmake test-coverage-html\n```\n## Configuration\n\n| Env Vars             | Default Values             |\n|----------------------|----------------------------|\n| `DEBUG_LEVEL`        | `true`                     |\n| `HOST`               | `all interfaces`           |\n| `PORT`               | `8080`                     |\n| `READ_TIMEOUT_MS`    | `1000 ms`                  |\n| `WRITE_TIMEOUT_MS`   | `1000 ms`                  |\n| `CACHE_TTL_SEC`      | `60 s`                     |\n| `YAML_REDIRECT_PATH` | `configs/redirection.yaml` |\n\n## Contributing\nGreatly appreciate contributions from the community. Your input, whether it's through code, documentation, bug reports, or suggestions, helps improve this project and make it even better.\n## License\nThis project is licensed under the [GPLv3](./LICENSE) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehmetumit%2Fdexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehmetumit%2Fdexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehmetumit%2Fdexus/lists"}