{"id":22772814,"url":"https://github.com/tom-riddle09/telegram_wordpress_bot","last_synced_at":"2025-03-30T12:28:18.764Z","repository":{"id":248124911,"uuid":"689571308","full_name":"Tom-Riddle09/telegram_wordpress_bot","owner":"Tom-Riddle09","description":"A python script to which access telegram messages including media on a specified channel and creates a  WordPress post.","archived":false,"fork":false,"pushed_at":"2024-07-17T15:13:28.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T14:18:49.216Z","etag":null,"topics":["python-automation","telegram-bo","telegram-bot","xmlrpc"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Tom-Riddle09.png","metadata":{"files":{"readme":"README.txt","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-10T08:30:36.000Z","updated_at":"2024-07-17T15:13:32.000Z","dependencies_parsed_at":"2024-07-12T15:13:39.217Z","dependency_job_id":"8c68da15-5caa-41ac-8645-8e22e87c35bf","html_url":"https://github.com/Tom-Riddle09/telegram_wordpress_bot","commit_stats":null,"previous_names":["tom-riddle09/telegram_wordpress_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom-Riddle09%2Ftelegram_wordpress_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom-Riddle09%2Ftelegram_wordpress_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom-Riddle09%2Ftelegram_wordpress_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom-Riddle09%2Ftelegram_wordpress_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tom-Riddle09","download_url":"https://codeload.github.com/Tom-Riddle09/telegram_wordpress_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246318319,"owners_count":20758134,"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":["python-automation","telegram-bo","telegram-bot","xmlrpc"],"created_at":"2024-12-11T17:09:44.479Z","updated_at":"2025-03-30T12:28:18.740Z","avatar_url":"https://github.com/Tom-Riddle09.png","language":"Python","readme":"Python Automation Script\nfor Telegram Messages and WordPress Post Creation\n\nPrerequisites\n• WordPress Xmlrpc: pip install python-wordpress-xmlrpc.\n• Requests: pip install requests\n• Telegram bot : pip install python-telegram-bot\n• Logging : pip install logging\n• ffmpeg (if windows system \u003e winget install ffmpeg) python library \u003e pip \ninstall python ffmpeg.\n\nCredentials Used\n✓ WordPress Application (for managing non-interactive connections)\n✓ Application Name\n✓ Application Password\n✓ Telegram Bot Token\n✓ WordPress Endpoint\n✓ REST API Endpoint:\n✓ WordPress Username\n✓ WordPress Password\n✓ Page Id for the Page \n\nHow to run the script \n➢ Install the prerequisites.\n➢ Run the script: python (script_name).py \nKeep the script running in background.\n\nFunctions used: Use case\n• “save_log” : used to store log of the program to a log file.\n• “ file_extn” : used to identify the telegram file extension and write it to \nthe local directory, returns file path\n• “upload_file”: used to upload file to the WordPress Media Library, \nreturns file url.\n• “create_wordpress_post”: used to create WordPress post with the \nuploaded file , returns post id.\n• “create_vd_thmbnail”: usd to create video thumbnail for video files.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftom-riddle09%2Ftelegram_wordpress_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftom-riddle09%2Ftelegram_wordpress_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftom-riddle09%2Ftelegram_wordpress_bot/lists"}