{"id":31793509,"url":"https://github.com/devvsima/jsoner","last_synced_at":"2026-04-11T19:05:52.402Z","repository":{"id":317885690,"uuid":"1069233600","full_name":"devvsima/jsoner","owner":"devvsima","description":"Return json in response to a message","archived":false,"fork":false,"pushed_at":"2025-10-03T18:11:35.000Z","size":1307,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T18:20:32.259Z","etag":null,"topics":["aiogram","aiogram3","i18n","json","postgresql","redis","sqlalchemy","sqlite","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/jsoner_bot","language":"Python","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/devvsima.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-03T15:53:47.000Z","updated_at":"2025-10-03T18:15:45.000Z","dependencies_parsed_at":"2025-10-03T18:20:36.855Z","dependency_job_id":"22f1478b-aefb-4ee8-9e86-3b6b8a71fa5e","html_url":"https://github.com/devvsima/jsoner","commit_stats":null,"previous_names":["devvsima/jsoner"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/devvsima/jsoner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvsima%2Fjsoner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvsima%2Fjsoner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvsima%2Fjsoner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvsima%2Fjsoner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devvsima","download_url":"https://codeload.github.com/devvsima/jsoner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvsima%2Fjsoner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004913,"owners_count":26083802,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aiogram","aiogram3","i18n","json","postgresql","redis","sqlalchemy","sqlite","telegram","telegram-bot"],"created_at":"2025-10-10T18:19:10.931Z","updated_at":"2025-10-10T18:19:11.857Z","avatar_url":"https://github.com/devvsima.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./images/rounded_logo.png\" alt=\"logo\" width=\"200\"\u003e\n\u003c/p\u003e\n\n# Jsoner\n\n- `Aiogram 3`\n- `i18n`\n- `Redis`\n- `SQLAlchemy`\n- `PostgreSQL \\ Sqlite`\n\n---\n\n## 📥 How to Install?\n\n### 1. Clone the Repository\nFirst, clone the repository and navigate to its directory:\n\n```bash\ngit clone https://github.com/devvsima/jsoner.git\ncd tgbot\n```\n\n### 2. Setting up a virtual environment \".venv\"\n\n#### Linux\nInstall dependencies and activate the virtual environment:\n\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip3 install -r requirements.txt\n```\n\n#### Windows\nSimilar steps for Windows:\n\n```bash\npython -m venv .venv\n.venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n\u003e 💡 Note: The name `.venv` can be changed to anything else you wish.\n\n### 3. Setting environment variable\n\nFirst, copy the `.env.dist` file and rename it to `.env`:\n\n```bash\ncp .env.dist .env\n```\n\nThen edit the environment variables file:\n\n```bash\nvim .env\n# or\nnano .env\n```\n\n### 4. Bot settings\n\n#### `ADMINS` - Admin IDs\nAdd admin IDs, separating them with commas\n\n```bash\n# example\nADMINS=12345678,12345677,12345676\n```\n\n#### `TOKEN` - Bot token from [@BotFather](https://t.me/BotFather)\nAdd your bot token:\n\n```bash\n# example\nBOT_TOKEN=123452345243:Asdfasdfasf\n```\n\n### 5. Configuring the PostgreSQL database\n\nSet the database connection parameters:\n\n- `DB_NAME` - database name\n- `DB_HOST` - database host (default = 'localhost')\n- `DB_PORT` - database port (default = `5432`)\n- `DB_USER` - database user\n- `DB_PASS` - database password\n\n### 6. Configuring Redis\n\nRedis is used for caching and storing session data. Set up the Redis connection parameters in the `.env` file:\n\n- `REDIS_HOST` - Redis server host (default: `localhost`)\n- `REDIS_PORT` - Redis server port (default: `6379`)\n- `REDIS_DB` - Redis database index (default: `5`)\n- `REDIS_URL` - Redis connection URL (optional)\n\nExample:\n```bash\nREDIS_HOST=localhost\nREDIS_PORT=6379\nREDIS_DB=5\n```\n\nEnsure that Redis is installed and running before launching the bot. You can start Redis with:\n```bash\nredis-server\n```\n\n---\n\nNow the bot is ready to run! 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevvsima%2Fjsoner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevvsima%2Fjsoner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevvsima%2Fjsoner/lists"}