{"id":23349967,"url":"https://github.com/waifusquad/rasopus-backend","last_synced_at":"2025-10-28T21:31:03.511Z","repository":{"id":268925975,"uuid":"905888034","full_name":"WaifuSquad/rasopus-backend","owner":"WaifuSquad","description":"The Rasopus URL shortener backend","archived":false,"fork":false,"pushed_at":"2025-02-07T15:47:53.000Z","size":85,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T20:15:14.271Z","etag":null,"topics":["api","backend","rest","rocket","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rasopus","language":"Rust","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/WaifuSquad.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":"2024-12-19T18:13:26.000Z","updated_at":"2025-02-07T15:45:20.000Z","dependencies_parsed_at":"2024-12-19T18:41:19.733Z","dependency_job_id":"f98a6687-3b74-419c-a227-b4b7eae0d84e","html_url":"https://github.com/WaifuSquad/rasopus-backend","commit_stats":null,"previous_names":["waifusquad/rasopus-backend"],"tags_count":14,"template":false,"template_full_name":"WaifuSquad/Rust-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaifuSquad%2Frasopus-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaifuSquad%2Frasopus-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaifuSquad%2Frasopus-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaifuSquad%2Frasopus-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WaifuSquad","download_url":"https://codeload.github.com/WaifuSquad/rasopus-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238725871,"owners_count":19520115,"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":["api","backend","rest","rocket","rust"],"created_at":"2024-12-21T08:14:24.127Z","updated_at":"2025-10-28T21:31:03.507Z","avatar_url":"https://github.com/WaifuSquad.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rasopus Backend\n\nThe Rasopus URL shortener backend\n\n## Collaborating\n\nCheck out [Board](https://github.com/orgs/WaifuSquad/projects/3), and [Issues](https://github.com/WaifuSquad/Rasopus-Backend/issues)\n\n## Configuration\n\nThe following environment variables can be used to configure the Rasopus backend:\n\n| Variable                     | Required | Description                                                                                                                                                                                                                                                                                                                                                                                             |\n| ---------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `RASOPUS_ADDRESS`            | Optional | The address Rocket will bind to. When not provided, Rocket's internal default is used. At the time of writing, this is `0.0.0.0`.                                                                                                                                                                                                                                                                       |\n| `RASOPUS_PORT`               | Optional | The port Rocket will bind to. When not provided, Rocket's internal default is used. At the time of writing, this is `8000`.                                                                                                                                                                                                                                                                             |\n| `RASOPUS_SECRET_KEY`         | Required | The secret key passed to Rocket for encrypting private cookies. For example, you can generate one with OpenSSL by executing `openssl rand -base64 32`.                                                                                                                                                                                                                                                  |\n| `RASOPUS_POSTGRES_USER`      | Required | The name of the postgres user.                                                                                                                                                                                                                                                                                                                                                                          |\n| `RASOPUS_POSTGRES_PASSWORD`  | Required | The password of the postgres user.                                                                                                                                                                                                                                                                                                                                                                      |\n| `RASOPUS_POSTGRES_HOST`      | Required | The postgres host to connect to.                                                                                                                                                                                                                                                                                                                                                                        |\n| `RASOPUS_POSTGRES_PORT`      | Required | The postgres port to connect to.                                                                                                                                                                                                                                                                                                                                                                        |\n| `RASOPUS_POSTGRES_DATABASE`  | Required | The name of the postgres database schema to use.                                                                                                                                                                                                                                                                                                                                                        |\n| `RASOPUS_POSTGRES_POOL_SIZE` | Optional | How many postgres connections to open. By default, this has the value `10`. This should be enough, but the option is there, just in case.                                                                                                                                                                                                                                                               |\n| `RASOPUS_ARGON2_ITERATIONS`  | Optional | The number of iterations for Argon2 hashing. By default, this has the value `3`, which is in range of what [OWASP recommends](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#argon2id). This is a good cost/value trade-off. If you want higher security at the cost of performance, increase this to `4` or even `5`. If you're insane, you can also go beyond that. |\n| `RASOPUS_ARGON2_MEMORY_MIB`  | Optional | The memory size in MiB for Argon2 hashing. By default, this has the value `70`, which is higher than what [OWASP recommends](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#argon2id). Same as above, increase for additional security at the cost of performance.                                                                                                    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaifusquad%2Frasopus-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaifusquad%2Frasopus-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaifusquad%2Frasopus-backend/lists"}