{"id":19030730,"url":"https://github.com/hossara/vistayar","last_synced_at":"2026-01-24T10:02:34.016Z","repository":{"id":236319211,"uuid":"770270024","full_name":"Hossara/vistayar","owner":"Hossara","description":"Vistayar","archived":false,"fork":false,"pushed_at":"2024-08-16T19:27:15.000Z","size":242,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T22:00:41.433Z","etag":null,"topics":["docker","firebase-firestore","google-firebase","nodejs","nodemon","telegram","telegram-bot","typescript"],"latest_commit_sha":null,"homepage":"https://t.me/vistayar_bot","language":"TypeScript","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/Hossara.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-03-11T09:02:22.000Z","updated_at":"2025-04-19T20:50:53.000Z","dependencies_parsed_at":"2024-04-26T15:48:14.494Z","dependency_job_id":"b514de61-746c-4eba-8e2d-eeac2f24a825","html_url":"https://github.com/Hossara/vistayar","commit_stats":null,"previous_names":["hossara/vistayar"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Hossara/vistayar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fvistayar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fvistayar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fvistayar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fvistayar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hossara","download_url":"https://codeload.github.com/Hossara/vistayar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossara%2Fvistayar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28724374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","firebase-firestore","google-firebase","nodejs","nodemon","telegram","telegram-bot","typescript"],"created_at":"2024-11-08T21:19:16.476Z","updated_at":"2026-01-24T10:02:34.001Z","avatar_url":"https://github.com/Hossara.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vistayar\nA node base telegram bot for [vistateam academy](https://t.me/@vistateam_admin).\n\n![Version](https://img.shields.io/badge/Version-1.0.0-green)\n![Contributor](https://img.shields.io/badge/Contributor-Hossein%20Araghi-blue)\n\n`Tech stack:` Typescript, Telegraf.js, Nodemon.js, Google firebase admin\n\n\u003c!-- TOC --\u003e\n* [Vistayar](#vistayar)\n    * [Develop tracking](#develop-tracking)\n    * [Run and test](#run-and-test)\n    * [Production](#production)\n    * [Environment](#environment)\n    * [Contributors](#contributors)\n    * [Donate me](#donate-me)\n\u003c!-- TOC --\u003e\n\n### Develop tracking\n- [x] MVP \n- [x] Release v1\n- [ ] Test\n- [ ] Refactor using Nest.js\n- [ ] Refactor MVP Technical debt\n- [ ] Use and implement MongoDB as main database\n- [ ] Test\n- [ ] Implement v2 backlog\n- [ ] Release v2\n- [ ] Test\n\n### Run and test\n```bash\n# To start redis server \ndocker compose up -d\n\n# To start app\npnpm start\n```\n\n### Production\n1. Build and push `Dockerfile` into your repository\n2. Use Docker compose to run the bot\n```yaml\nservices:\n  vista_redis_stack:\n    container_name: vista_redis_stack\n    image: redis/redis-stack:latest\n    environment:\n      REDIS_ARGS: \"--requirepass redispass\"\n    ports:\n      - \"your_own_port:8001\"\n    volumes:\n      - \"./redis_data:/data\"\n\n  vista_bot:\n    container_name: vista_bot\n    image: yourusername/vistayar:latest\n    restart: on-failure\n    depends_on:\n      - vista_redis_stack\n    volumes:\n      - \"./db_info.json:/app/db_info.json\"\n```\n\n`! Remember to place your own db_info.json file near docker-compose.yaml`\n### Environment\n\n| ENV                     | Usage                                                                                                            | Required |\n|-------------------------|------------------------------------------------------------------------------------------------------------------|:--------:|\n| IS_DEV                  | To force the bot to use a proxy to connect to the server                                                         |  FALSE   |\n| PROXY                   | Proxy url. For example: socks5://127.0.0.1:20170                                                                 |  FALSE   |\n| BOT_TOKEN               | Telegram bot token                                                                                               |   TRUE   |\n| REDIS_SERVER            | Redis server url. For example: redis://localhost:6380                                                            |   TRUE   |\n| FIREBASE_ADMIN_DATABASE | [Google firebase admin database token](https://console.cloud.google.com/iam-admin/serviceaccounts/project?hl=en) |   TRUE   |\n\n### Contributors\n- Hossein Araghi\n    - [GitHub](https://github.com/hossara)\n    - [LinkedIn](https://linkedin.com/in/hossara)\n    - [Email](mailto:hossara.dev@gmail.com)\n    - [Instagram](https://instagram.com/hossara.dev)\n\n### Donate me\n\n\u003ca href=\"https://coffeebede.ir/hossara\"\u003e\n  \u003cimg alt=\"donate me!\" src=\"https://img.shields.io/badge/buy me a coffee-darkgreen.svg?\u0026style=for-the-badge\u0026logo=buymeacoffee\u0026logoColor=white\" height=30\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhossara%2Fvistayar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhossara%2Fvistayar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhossara%2Fvistayar/lists"}