{"id":13610391,"url":"https://github.com/conoro/tiktok-rss-flat","last_synced_at":"2025-04-07T06:04:04.205Z","repository":{"id":39332331,"uuid":"385207222","full_name":"conoro/tiktok-rss-flat","owner":"conoro","description":"Generate RSS feeds for TikTok accounts","archived":false,"fork":false,"pushed_at":"2024-10-29T08:22:11.000Z","size":26914,"stargazers_count":72,"open_issues_count":3,"forks_count":191,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T09:42:58.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conoro.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":"2021-07-12T10:20:33.000Z","updated_at":"2024-10-29T08:22:15.000Z","dependencies_parsed_at":"2023-02-19T06:15:41.759Z","dependency_job_id":"9393924d-cad5-4a01-8185-16de574bb604","html_url":"https://github.com/conoro/tiktok-rss-flat","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/conoro%2Ftiktok-rss-flat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conoro%2Ftiktok-rss-flat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conoro%2Ftiktok-rss-flat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conoro%2Ftiktok-rss-flat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conoro","download_url":"https://codeload.github.com/conoro/tiktok-rss-flat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601447,"owners_count":20964864,"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-08-01T19:01:44.269Z","updated_at":"2025-04-07T06:04:04.182Z","avatar_url":"https://github.com/conoro.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"![TikTok RSS Logo](https://tiktokrss.conoroneill.com/favicon-32x32.png)\n# TikTok RSS Using GitHub Actions\n\nGenerate usable RSS feeds from TikTok using GitHub Actions and GitHub Pages.\n\n\n**NOTE March 2024: This seems to work again due to improvements in the original TikTok library. It requires an on-the-fly patch to that underlying TikTok library, which is hopefully only temporary**\n\n## Setup for GitHub Actions\n* To get your own instance running\n    * Fork this repo\n    * Make sure to enable Actions in the Actions tab\n    * Enable GitHub Pages for your new repo\n    * Get a value of ms_token from your TikTok account as follows:\n        * Log into TikTok on Chrome desktop\n        * View a user profile of someone you follow\n        * Open Chrome DevTools with F12\n        * Go to the Application Tab \u003e Storage \u003e Cookies \u003e https://www.tiktok.com\n        * Copy the cookie value of msToken\n    * In the Settings Tab for your Repo, go to Secrets and Variables \u003e Actions\n    * Create a New Repository Secret:\n        * Name = MS_TOKEN\n        * Value = The value you got for msToken above \n    * Edit config.py to change `ghPagesURL` from \"https://conoro.github.io/tiktok-rss-flat/\" to your URL\n    * Add the TikTok usernames that you like to subscriptions.csv\n\n* It's set to run once every 4 hours and generates one RSS XML file per user in the rss output directory.\n* You may need to update the msToken whenever your get GH Actions erros about TikTok returning an empty response\n\n## Running locally as an alternative\n* You need Python installed\n* Then setup with:\n\n```bash\npip install virtualenv\npython -m venv venv\nsource venv\\bin\\activate\npip install -r requirements.txt\nexport MS_TOKEN=\"blah\"\n```\n\n* Then run each time with:\n\n```bash\nsource venv\\bin\\activate\npython postprocessing.py\ngit commit -a -m \"latest RSS\"\ngit push origin main\n```\n\n## Feed Reading\n* You then subscribe to each feed in [Feedly](https://www.feedly.com) or another feed reader using a GitHub Pages URL. Those URLs are constructed like so. E.g.:\n\n    * TikTok User = iamtabithabrown\n    * XML File = rss/iamtabithabrown.xml\n    * Feedly Subscription URL = https://conoro.github.io/tiktok-rss-flat/rss/iamtabithabrown.xml\n    * (Or in my case where I've set a custom domain for the GitHub Pages project called tiktokrss.conoroneill.com, the URL is https://tiktokrss.conoroneill.com/rss/iamtabithabrown.xml)\n\n## Acknowledgements\nThis uses an unoffical [TikTokPy library](https://github.com/davidteather/TikTok-Api) to extract information about user videos from TikTok as JSON and generate RSS feeds for each user you are interested in.\n\nLogo was created using the TikTok and RSS [Font Awesome](https://fontawesome.com/license/free) icons via CC BY 4.0 License\n\nCopyright Conor O'Neill, 2021-2024 (conor@conoroneill.com)\n\nLicense Apache 2.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconoro%2Ftiktok-rss-flat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconoro%2Ftiktok-rss-flat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconoro%2Ftiktok-rss-flat/lists"}