{"id":13686604,"url":"https://github.com/SphericalKat/katbin","last_synced_at":"2025-05-01T09:32:18.340Z","repository":{"id":38404739,"uuid":"267373034","full_name":"SphericalKat/katbin","owner":"SphericalKat","description":"Small, lightweight pastebin+URL shortener written in Elixir using the Phoenix framework.","archived":false,"fork":false,"pushed_at":"2025-04-01T13:09:59.000Z","size":842,"stargazers_count":160,"open_issues_count":19,"forks_count":26,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-04-05T03:09:36.413Z","etag":null,"topics":["api","cowboy","elixir","esbuild","hacktoberfest","nif","no-javascript","pastebin","phoenix","postgresql","rest-api","rust","shortener","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://katb.in","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SphericalKat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-05-27T16:38:50.000Z","updated_at":"2025-03-29T09:31:51.000Z","dependencies_parsed_at":"2022-09-14T22:55:44.755Z","dependency_job_id":"aba7879f-d492-46f4-b8ad-cdcfdc28bd12","html_url":"https://github.com/SphericalKat/katbin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Fkatbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Fkatbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Fkatbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SphericalKat%2Fkatbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SphericalKat","download_url":"https://codeload.github.com/SphericalKat/katbin/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251852849,"owners_count":21654475,"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","cowboy","elixir","esbuild","hacktoberfest","nif","no-javascript","pastebin","phoenix","postgresql","rest-api","rust","shortener","syntax-highlighting"],"created_at":"2024-08-02T15:00:36.000Z","updated_at":"2025-05-01T09:32:17.890Z","avatar_url":"https://github.com/SphericalKat.png","language":"Elixir","readme":"# Katbin\n\nTo start your Phoenix server:\n\n  * Copy `config/dev.secret.sample.exs` to `config/dev.secret.exs`\n  * Fill in the SMTP and database configuration in `config/dev.secret.exs`\n  * Install dependencies with `mix deps.get`\n  * Create and migrate your database with `mix ecto.setup`\n  * Install Node.js dependencies with `npm install` inside the `assets` directory\n  * Start Phoenix endpoint with `mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n# Self hosting\n\nWe recommend using our [official docker image](https://hub.docker.com/r/atechnohazard/katbin-elixir). If you wish to build your own docker image, the provided Dockerfile should work out of the box. If you run into any problems, please open an issue.\n\n## Populating the environment\nCopy the provided `sample.env` file to `.env`\n```sh\ncp sample.env .env\n```\n\nFill in this new file with the required environment variables.\n\n## Using the official docker image\n```sh\ndocker run --env-file .env atechnohazard/katbin-elixir\n```\n\n## Building the docker image\n```sh\ngit clone https://github.com/SphericalKat/katbin\ncd katbin\ndocker build -t \u003cusername\u003e/katbin .\n```\n\n## Running the built docker image\n```sh\ndocker run --env-file .env \u003cusername\u003e/katbin\n```\n\nFor other methods of self hosting, please check the [official Phoenix deployment guides](https://hexdocs.pm/phoenix/deployment.html).\n\n\n## Learn more\n\n  * Official website: https://www.phoenixframework.org/\n  * Guides: https://hexdocs.pm/phoenix/overview.html\n  * Docs: https://hexdocs.pm/phoenix\n  * Forum: https://elixirforum.com/c/phoenix-forum\n  * Source: https://github.com/phoenixframework/phoenix\n","funding_links":[],"categories":["elixir","Elixir"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSphericalKat%2Fkatbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSphericalKat%2Fkatbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSphericalKat%2Fkatbin/lists"}