{"id":20730256,"url":"https://github.com/cryptojoma/wptelegram-post-notifier","last_synced_at":"2025-03-11T09:53:08.086Z","repository":{"id":249493883,"uuid":"831673730","full_name":"CryptoJoma/WPTelegram-Post-Notifier","owner":"CryptoJoma","description":"Posts to a Telegram channel when a new blog post is published.","archived":false,"fork":false,"pushed_at":"2024-07-29T02:43:26.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T00:13:32.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/CryptoJoma.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-07-21T09:32:33.000Z","updated_at":"2024-10-10T21:49:47.000Z","dependencies_parsed_at":"2024-07-21T10:43:32.613Z","dependency_job_id":"4301ac69-db92-4760-b6d5-7d259d1016b7","html_url":"https://github.com/CryptoJoma/WPTelegram-Post-Notifier","commit_stats":null,"previous_names":["cryptojoma/telegram-post-notifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoJoma%2FWPTelegram-Post-Notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoJoma%2FWPTelegram-Post-Notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoJoma%2FWPTelegram-Post-Notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoJoma%2FWPTelegram-Post-Notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CryptoJoma","download_url":"https://codeload.github.com/CryptoJoma/WPTelegram-Post-Notifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243012693,"owners_count":20221606,"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":[],"created_at":"2024-11-17T05:10:57.878Z","updated_at":"2025-03-11T09:53:08.047Z","avatar_url":"https://github.com/CryptoJoma.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# WPTelegram-Post-Notifier\n\n**WPTelegram-Post-Notifier** is a WordPress plugin that sends notifications to a Telegram channel when a new post is published on your WordPress site. This can be useful for keeping your Telegram audience updated with your latest content automatically.\n\n## Features\n\n- Sends a notification to a specified Telegram channel whenever a new post is published.\n- Easy configuration through the WordPress admin panel.\n- Customizable message format for notifications.\n\n## Installation\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/CryptoJoma/WPTelegram-Post-Notifier.git\n   ```\n\n2. **Upload the Plugin to WordPress:**\n\n   - Compress the `WPTelegram-Post-Notifier` folder into a `.zip` file.\n   - Go to the WordPress admin panel.\n   - Navigate to **Plugins \u003e Add New**.\n   - Click **Upload Plugin** and choose the `.zip` file you created.\n   - Click **Install Now** and then **Activate**.\n\n## Configuration\n\n1. **Obtain Your Telegram Bot Token:**\n\n   - Create a new bot on Telegram by talking to the [BotFather](https://core.telegram.org/bots#botfather).\n   - Note down the bot token provided.\n\n2. **Get Your Telegram Channel ID:**\n\n   - Add your bot to your Telegram channel.\n   - Send a message to your channel.\n   - Use the Telegram API to get the channel ID by making a request to `https://api.telegram.org/bot\u003cYOUR_BOT_TOKEN\u003e/getUpdates`.\n\n3. **Configure the Plugin in WordPress:**\n\n   - Go to **Settings \u003e WP Telegram Post Notifier** in your WordPress admin panel.\n   - Enter your Telegram Bot Token and Channel ID.\n   - Customize the notification message if needed.\n   - Save your settings.\n\n## Usage\n\n1. **Create a New Post:**\n\n   - Write a new post or edit an existing one in WordPress.\n   - Publish or update the post.\n\n2. **Receive Notifications:**\n\n   - Once the post is published, a notification will be sent to the specified Telegram channel with the details of the new post.\n\n## Customizing Notifications\n\nYou can customize the notification message by adjusting the message format in the plugin settings. Use placeholders to include dynamic content from your posts:\n\n- `{post_title}` - The title of the post.\n- `{post_url}` - The URL of the post.\n- `{post_excerpt}` - The excerpt of the post.\n\n## Troubleshooting\n\n- **Bot Not Sending Messages:** Ensure that the bot has been added to the channel and has permissions to send messages.\n- **Invalid Token or Channel ID:** Double-check that you've entered the correct bot token and channel ID in the plugin settings.\n\n## Contributing\n\nFeel free to submit pull requests or open issues if you encounter any problems or have suggestions for improvements.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any questions or support, please contact [CryptoJoma](mailto:coffee@joma.dev).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptojoma%2Fwptelegram-post-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptojoma%2Fwptelegram-post-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptojoma%2Fwptelegram-post-notifier/lists"}