{"id":23388785,"url":"https://github.com/dashezup/eznotesbot","last_synced_at":"2025-04-11T06:45:01.408Z","repository":{"id":130550953,"uuid":"371814691","full_name":"dashezup/ezNotesBot","owner":"dashezup","description":"Telegram Bot for saving and sharing personal and group notes","archived":false,"fork":false,"pushed_at":"2021-06-06T19:33:04.000Z","size":38,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T04:41:29.383Z","etag":null,"topics":["mariadb","notes","pyhton","pyrogram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/ezNotesBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dashezup.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-28T20:45:00.000Z","updated_at":"2023-11-08T22:07:20.000Z","dependencies_parsed_at":"2023-03-19T12:59:59.735Z","dependency_job_id":null,"html_url":"https://github.com/dashezup/ezNotesBot","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/dashezup%2FezNotesBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezNotesBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezNotesBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezNotesBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashezup","download_url":"https://codeload.github.com/dashezup/ezNotesBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358549,"owners_count":21090401,"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":["mariadb","notes","pyhton","pyrogram","telegram-bot"],"created_at":"2024-12-22T02:34:30.723Z","updated_at":"2025-04-11T06:45:01.392Z","avatar_url":"https://github.com/dashezup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## EZ Notes Bot (ezNotesBot)\n\nTelegram Bot for saving and sharing personal and group notes.\n\n### Usage\n\n**Personal notes**:\n\n- reply to any message in PM to save it as a new note\n- search in inline mode for sharing notes\n- search `-` (hyphen-minus) for managing notes\n\n**Group notes**:\n\n- [add @ezNotesBot to your groups](https://t.me/ezNotesBot?startgroup=_)\n  to use it\n- only anonymous admin can add/remove notes\n- `+#hashtag [description]` (as a reply) to add/replace a note\n- `-#hashtag` remove a note\n- `/notes` list notes\n- `#hashtag` show a note\n\n### Setup\n\nThis bot uses MariaDB for saving notes\n\n#### Requirements\n\n- Python 3.8 or higher\n- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys)\n- A Telegram Bot created with [BotFather](https://t.me/BotFather) with\n  \"inline mode\" and \"inline feedback\" enabled (for personal notes)\n  and \"group privacy mode\" disabled (for group notes)\n- `libmariadbclient`\n\n**Mariadb**:\n\nShell\n\n```\nsudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql\n# start MariaDB service\n```\n\nSQL\n\n```\n-- sudo mysql -u root\nDROP USER IF EXISTS eznotes;\nDROP DATABASE IF EXISTS eznotes;\nCREATE DATABASE eznotes;\nGRANT CREATE,DELETE,INSERT,SELECT,UPDATE ON eznotes.* TO `eznotes`@`localhost` IDENTIFIED BY 'password';\nFLUSH PRIVILEGES;\n```\n\n#### Run the Bot\n\nCreate a new `config.ini`, copy-paste the following and replace the values with\nyour own\n\n```\n[pyrogram]\napi_id = 1234567\napi_hash = 0123456789abcdef0123456789abcdef\nbot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11\n```\n\nRun it\n\n```\nvirtualenv venv\nvenv/bin/pip install -U -r requirements.txt\nexport MARIADB_HOST=\"localhost\"\nexport MARIADB_PORT=\"3306\"\nexport MARIADB_PASSWORD=\"password\"\nvenv/bin/python bot.py\n```\n\n### License\n\nAGPL-3.0-or-later\n\n```\nezNotesBot, Telegram Bot for saving and sharing personal and group notes\nCopyright (C) 2021  Dash Eclipse\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashezup%2Feznotesbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashezup%2Feznotesbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashezup%2Feznotesbot/lists"}