{"id":13507370,"url":"https://github.com/Queertoo/Queerlink","last_synced_at":"2025-03-30T08:30:29.912Z","repository":{"id":180697060,"uuid":"42953912","full_name":"Queertoo/Queerlink","owner":"Queertoo","description":"A simple yet efficient URL shortening service written in Elixir","archived":false,"fork":false,"pushed_at":"2018-01-10T01:18:24.000Z","size":1071,"stargazers_count":36,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-22T13:33:22.671Z","etag":null,"topics":["elixir-lang","phoenix","sqlite","url-shortener"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/Queertoo.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":"2015-09-22T18:48:21.000Z","updated_at":"2023-09-25T07:51:33.000Z","dependencies_parsed_at":"2024-01-07T21:54:30.042Z","dependency_job_id":null,"html_url":"https://github.com/Queertoo/Queerlink","commit_stats":null,"previous_names":["queertoo/queerlink"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queertoo%2FQueerlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queertoo%2FQueerlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queertoo%2FQueerlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queertoo%2FQueerlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Queertoo","download_url":"https://codeload.github.com/Queertoo/Queerlink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246296325,"owners_count":20754623,"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":["elixir-lang","phoenix","sqlite","url-shortener"],"created_at":"2024-08-01T02:00:32.391Z","updated_at":"2025-03-30T08:30:28.931Z","avatar_url":"https://github.com/Queertoo.png","language":"CSS","funding_links":[],"categories":["Applications"],"sub_categories":[],"readme":"# Queerlink v2 [![Made in Elixir][elixir]](https://elixir-lang.org) [![Made with Queerness][queerness]]()\n\n\u003eA simple and efficient link shortener.\n\n\n\u003cimg src=\"Queerlink.png\" /\u003e\n\n## Features\n\n- [x] A super-easy-to-use JSON API;\n- [x] Your data is stored in an sqlite3 database. Backup with `rsync` or `scp`;\n- [x] A clean, no-fuss web interface;\n- [ ] A documentation.\n\n\n## Using the API\n\nWith HTTPie, simply type `http POST :4000/s url=https://elixir-lang.org` (for instance).\nYou can test what you get with `http http://localhost:4000/l/20gd6ne`.\n\nthe POST request will, in case of success, return this schema:\n\n```JSON\n{\n    \"longUrl\": \"https://elixir-lang.org\",\n    \"shortUrl\": \"http://localhost:4000/l/20gd6ne\",\n    \"status\": \"success\"\n}\n```\n\n\n## Installation\n\n### Local Installation\n\nQueerlink requires Elixir v1.4 and (it's in your best interest) OTP20.  \nDon't forget to export the `PORT` and `MIX_ENV` environment variables, the latter being `prod` when you're reading for launching live!\n\nNext:\n\n1. Install dependencies with `mix deps.get`;\n2. In an `prod` environment, don't forget to generate a secret key base with `mix phx.gen.secret` and add this snippet in `config/prod.secret.exs`:\n```elixir\nconfig :queerlink, QueerlinkWeb.Endpoint,\n  secret_key_base: \"mysecret\"\n```\n3. Create and migrate your database with `mix ecto.create \u0026\u0026 mix ecto.migrate`;\n4. Install Node.js dependencies with `npm install`;\n5. Start the beast with `iex -S mix phx.server`\n\n### Producing a release\n\n```bash\n$ export MIX_ENV=prod PORT=4000\n$ cd assets/ \u0026\u0026 npm i\n$ ./node_modules/brunch/bin/brunch b -p\n$ cd ../ \u0026\u0026 mix phx.digest\n$ mix release --env=prod\n$ _build/prod/rel/queerlink/bin/queerlink migrate\n$ _build/prod/rel/queerlink/bin/queerlink start|foreground|console\n```\n\n\n### In addition…\n\nThe `doc/nginx/` directory contains the necessary configuration to run Queerlink behind an Nginx reverse proxy.\nYou can find a [wrk][wrk] lua script in `doc/` as well.\n\n\n## License\n\nThis software is licensed under the [MIT license](LICENSE).\n\n[queerness]: https://cdn.rawgit.com/Queertoo/Queerlink/master/assets/static/images/rainbow-queerness.svg\n[elixir]: https://cdn.rawgit.com/Queertoo/Queerlink/master/assets/static/images/elixir.svg\n[wrk]: https://github.com/wg/wrk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQueertoo%2FQueerlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQueertoo%2FQueerlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQueertoo%2FQueerlink/lists"}