{"id":26223297,"url":"https://github.com/sqlzzy/wishlist-telegram-bot","last_synced_at":"2026-04-29T03:31:57.663Z","repository":{"id":206224126,"uuid":"715743458","full_name":"sqlzzy/wishlist-telegram-bot","owner":"sqlzzy","description":"WishList Telegram Bot on NodeJs","archived":false,"fork":false,"pushed_at":"2023-11-08T14:40:56.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T21:13:57.055Z","etag":null,"topics":["node-telegram-bot-api","nodejs","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sqlzzy.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}},"created_at":"2023-11-07T18:39:39.000Z","updated_at":"2025-01-12T14:54:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2bdf23d-4320-458b-a08c-5286b28695f7","html_url":"https://github.com/sqlzzy/wishlist-telegram-bot","commit_stats":null,"previous_names":["sqlzzy/wishlist-telegram-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sqlzzy/wishlist-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlzzy%2Fwishlist-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlzzy%2Fwishlist-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlzzy%2Fwishlist-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlzzy%2Fwishlist-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlzzy","download_url":"https://codeload.github.com/sqlzzy/wishlist-telegram-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlzzy%2Fwishlist-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32409085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T02:37:21.628Z","status":"ssl_error","status_checked_at":"2026-04-29T02:36:50.947Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["node-telegram-bot-api","nodejs","telegram","telegram-bot","telegram-bot-api"],"created_at":"2025-03-12T17:30:42.985Z","updated_at":"2026-04-29T03:31:57.646Z","avatar_url":"https://github.com/sqlzzy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WishList Telegram Bot on NodeJs\n\n## О боте\n\nTelegram Бот для создания списков желаний. Пользоваться ботом может только пользователь с юзернеймом, указанным в файле [constants.js](https://github.com/sqlzzy/wishlist-telegram-bot/blob/master/src/commons/constants.js).\n\n## Возможности бота\n\n1) Сортировка желаний по категориям:\u003cbr/\u003e\n    - исполненные,\u003cbr/\u003e\n    - неисполненные;\u003cbr/\u003e\n2) Просмотр списков желаний;\u003cbr/\u003e\n3) Управление навигацией списка желаний. Выводится по 10 желаний в одном сообщении. При общем кол-ве желаний больше 10, для просмотра следующих появляется клавиатура;\n4) Добавление, удаление или отмечание желания, как исполненное.\u003cbr/\u003e\n\n## Структура данных\n\nПри запуске проекта создается файл src/json/users.json со структурой:\u003cbr/\u003e\n```[{ username: username, wishes: [] }]```,\u003cbr/\u003e\nгде:\u003cbr/\u003e\n**username** — юзернейм пользователя;\u003cbr/\u003e\n**wishes** — список желаний.\n\nСтруктура желания:\u003cbr/\u003e\n```{ text: text, isGranted: \"0\", id: id }```,\u003cbr/\u003e\nгде:\u003cbr/\u003e\n**text** — текст желания,\u003cbr/\u003e\n**isGranted** — статус желания (0 — неисполненное, 1 — исполненное),\u003cbr/\u003e\n**id** — уникальный идентификатор желания.\n\n## Инструкция\n\n1) Склонируйте репозиторий: \u003cbr/\u003e\n    - HTTPS: ```git clone https://github.com/sqlzzy/wishlist-telegram-bot.git name_your_folder```\u003cbr/\u003e;\n    - SSH: ```git clone git@github.com:sqlzzy/wishlist-telegram-bot.git name_your_folder```.\n2) Создайте токен бота через [@BotFather](https://telegram.me/BotFather);\n3) Вставьте [токен бота](https://github.com/sqlzzy/wishlist-telegram-bot/blob/master/src/commons/constants.js#L2) и [свой юзернейм](https://github.com/sqlzzy/wishlist-telegram-bot/blob/master/src/commons/constants.js#L1) в файле [constants.js](https://github.com/sqlzzy/wishlist-telegram-bot/blob/master/src/commons/constants.js);\n4) Установите npm-пакеты: ```npm i```;\n5) Запуск проекта:\u003cbr/\u003e\n    - локально: ```npm run dev``` (запустится утилита nodemon. Она будет отслеживать изменения и автоматически перезапускать процесс);\u003cbr/\u003e\n    - на сервере: ``pm2 start src/server.js`` (менеджер процессов pm2 должен быть предварительно установлен на сервере).\u003cbr/\u003e\n\n## Автор\n\n[Sergey Osipov](https://github.com/sqlzzy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlzzy%2Fwishlist-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlzzy%2Fwishlist-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlzzy%2Fwishlist-telegram-bot/lists"}