{"id":17346074,"url":"https://github.com/dustinrouillard/tiktok-embeds","last_synced_at":"2025-08-21T06:47:58.363Z","repository":{"id":65404364,"uuid":"399602617","full_name":"dustinrouillard/tiktok-embeds","owner":"dustinrouillard","description":"Generates OpenGraph meta tags and gets the video file for Tiktoks from their share urls","archived":false,"fork":false,"pushed_at":"2024-03-30T00:27:32.000Z","size":241,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T09:04:15.868Z","etag":null,"topics":["discord","embeds","tiktok"],"latest_commit_sha":null,"homepage":"https://vm.dstn.to/@evacudmore/video/6994080818792582405","language":"TypeScript","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/dustinrouillard.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}},"created_at":"2021-08-24T20:56:13.000Z","updated_at":"2024-08-07T15:18:09.000Z","dependencies_parsed_at":"2023-01-23T10:15:19.122Z","dependency_job_id":null,"html_url":"https://github.com/dustinrouillard/tiktok-embeds","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/dustinrouillard%2Ftiktok-embeds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinrouillard%2Ftiktok-embeds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinrouillard%2Ftiktok-embeds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinrouillard%2Ftiktok-embeds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustinrouillard","download_url":"https://codeload.github.com/dustinrouillard/tiktok-embeds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248960938,"owners_count":21189990,"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":["discord","embeds","tiktok"],"created_at":"2024-10-15T16:44:32.200Z","updated_at":"2025-04-14T20:51:16.219Z","avatar_url":"https://github.com/dustinrouillard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TikTok Share Embeds\n\nThis generates an OpenGraph embed for a tiktok from the following url formats\n\n- `https://vm.tiktok.com/ZMRjsP94a`\n- `https://tiktok.com/@momma_mandy_plus7/video/6992363023767850246`\n\nRight now the embeds are confirmed working in Discord, and Telegram.\n\nRuns in Cloudflare Workers, deployed with Wrangler, makes it snappy.\n\n## Link usage\n\nGoing to the direct link will return the video\n\n\u003chttps://vm.dstn.to/ZMRjsP94a\u003e\n\nThis link will return the metatags for the discord embed if the useragent contains Discord, then within the meta tags the url for the video is the following (which is required to have .mp4 at the end and used to return the video even if discord's user agent)\n\n\u003chttps://vm.dstn.to/ZMRjsP94a/video.mp4\u003e\n\n## Demo\n\n![Discord Usage GIF](https://files.dstn.to/2c0f5c0bec98589e.gif)\n\nThis is my bot detecting that a tiktok link was sent and just sending a message with the link using the worker host to auto embed it.\n\nThe repo for this bot is [here](https://dstn.to/tt-discord-embeds) if you'd like to run it yourself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinrouillard%2Ftiktok-embeds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustinrouillard%2Ftiktok-embeds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinrouillard%2Ftiktok-embeds/lists"}