{"id":16486064,"url":"https://github.com/roziscoding/vercel-link-shortener","last_synced_at":"2025-05-02T07:31:19.149Z","repository":{"id":48775621,"uuid":"288001178","full_name":"roziscoding/vercel-link-shortener","owner":"roziscoding","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-09T11:08:54.000Z","size":669,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-12T13:28:09.260Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"vercel-link-shortener.vercel.app","language":"TypeScript","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/roziscoding.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}},"created_at":"2020-08-16T18:24:52.000Z","updated_at":"2024-08-12T20:04:47.000Z","dependencies_parsed_at":"2022-08-26T22:22:05.467Z","dependency_job_id":null,"html_url":"https://github.com/roziscoding/vercel-link-shortener","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/roziscoding%2Fvercel-link-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fvercel-link-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fvercel-link-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fvercel-link-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roziscoding","download_url":"https://codeload.github.com/roziscoding/vercel-link-shortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224301537,"owners_count":17288938,"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":["hacktoberfest"],"created_at":"2024-10-11T13:28:14.897Z","updated_at":"2024-11-12T15:33:10.632Z","avatar_url":"https://github.com/roziscoding.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vercel Link Shortener\n---\n\nCriado ao vivo em https://twitch.tv/roziscoding\n\nPar de funções serverless que funciona com o [Vercel](https://vercel.com) para criar um encurtador de URLs e um bot para gerenciar as URLs encurtadas\n\n## Variáveis de ambiente\n\n- `NOTFOUND_URL`: URL a ser utilizada caso um link com aquele shortcode não seja encontrado\n- `DB_NAME`: Nome do banco de dados onde os links serão armazenados\n- `DB_URI`: String de conexão com o MongoDB\n- `TELEGRAM_TOKEN`: Token do chatbot no Telegram (obtenha um com o [@botfather](t.me/botfather))\n- `ADMIN_ID`: Seu ID no Telegram. O bot só responderá a pessoa dona desse ID. Deixe em branco caso queira que ele responda qualquer pessoa\n- `SHORT_URL_PREFIX`: Prefixo / domínio das URLs geradas, incluindo o protocolo\n\n## Deploy\n\nClique no botão para fazer deploy com o Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https%3A%2F%2Fgithub.com%2Froziscoding%2Fvercel-link-shortener\u0026env=NOTFOUND_URL,DB_NAME,DB_URI,TELEGRAM_TOKEN,ADMIN_ID,SHORT_URL_PREFIX\u0026project-name=vercel-link-shortener\u0026repo-name=vercel-link-shortener)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froziscoding%2Fvercel-link-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froziscoding%2Fvercel-link-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froziscoding%2Fvercel-link-shortener/lists"}