{"id":20215832,"url":"https://github.com/pkarpovich/tg-link-keeper-bot","last_synced_at":"2025-12-15T05:05:22.665Z","repository":{"id":212743979,"uuid":"732196743","full_name":"pkarpovich/tg-link-keeper-bot","owner":"pkarpovich","description":"A Telegram bot for efficiently saving links and memo files in Cubox, featuring user role management and integration with external link storage services","archived":false,"fork":false,"pushed_at":"2024-10-28T00:03:50.000Z","size":60,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T22:16:44.600Z","etag":null,"topics":["cubox","link-keeper","memos","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pkarpovich.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":"2023-12-15T22:28:45.000Z","updated_at":"2024-10-28T00:03:54.000Z","dependencies_parsed_at":"2023-12-31T02:42:19.806Z","dependency_job_id":"9e43d2dc-eb38-48ed-9a29-6c1deab1e2d5","html_url":"https://github.com/pkarpovich/tg-link-keeper-bot","commit_stats":null,"previous_names":["pkarpovich/tg-linkding","pkarpovich/tg-link-keeper-bot"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Ftg-link-keeper-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Ftg-link-keeper-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Ftg-link-keeper-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Ftg-link-keeper-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkarpovich","download_url":"https://codeload.github.com/pkarpovich/tg-link-keeper-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241652964,"owners_count":19997578,"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":["cubox","link-keeper","memos","telegram-bot"],"created_at":"2024-11-14T06:24:53.209Z","updated_at":"2025-10-16T07:08:10.362Z","avatar_url":"https://github.com/pkarpovich.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Link Keeper Bot\n\nLink Keeper Bot is a Telegram bot designed to save links or memo files in Cubox. It processes different types of\nmessages including URLs and forwarded messages.\n\n## Features\n\n- Save URLs and text memos.\n- Process forwarded messages from Telegram.\n- Restrict access to specified 'Super Users'.\n- Integrate with an external link storage service (Cubox).\n\n## Requirements\n\n- Docker and Docker Compose\n- Telegram Bot API token\n- Access to a Cubox instance or similar service for link storage\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone git@github.com:pkarpovich/tg-link-keeper-bot.git\n```\n2. Navigate to the project directory:\n```bash\ncd tg-link-keeper-bot\n```\n\n## Configuration\n1. Create a .env file in the project root with the following contents:\n```bash\nTELEGRAM_TOKEN=your_telegram_bot_token\nTELEGRAM_SUPER_USERS=user_id1,user_id2\nLINK_STORE_URL=your_link_store_endpoint\n```\n2. Adjust the values for `TELEGRAM_TOKEN`, `TELEGRAM_SUPER_USERS`, and `LINK_STORE_URL` according to your setup.\n\n## Docker Deployment\n1. Use the provided Docker Compose file to deploy the bot:\n```bash\ndocker compose pull\ndocker compose up -d\n```\n2. The bot will be running in a container named tg-link-keeper-bot.\n\n## Usage\n- Send a URL or a forwarded message to the bot to save it in Cubox.\n- Send a text message to the bot to save it as a memo in Cubox.\n- Interact with the bot in Telegram. Use the /ping command to check its status.\n\n## Commands\n- `/ping` - Check if the bot is online.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkarpovich%2Ftg-link-keeper-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkarpovich%2Ftg-link-keeper-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkarpovich%2Ftg-link-keeper-bot/lists"}