├── 8.mp4 ├── Capture d’écran 2023-01-04 100006.jpg ├── Capture d’écran 2023-01-04 123738.jpg ├── LICENSE ├── README.md └── générateur_video_via_tweet.py /8.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zengdard/TikTok-Video-Generator/e32a16ebb9b3000d163143c40b51e16b783c9a9e/8.mp4 -------------------------------------------------------------------------------- /Capture d’écran 2023-01-04 100006.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zengdard/TikTok-Video-Generator/e32a16ebb9b3000d163143c40b51e16b783c9a9e/Capture d’écran 2023-01-04 100006.jpg -------------------------------------------------------------------------------- /Capture d’écran 2023-01-04 123738.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zengdard/TikTok-Video-Generator/e32a16ebb9b3000d163143c40b51e16b783c9a9e/Capture d’écran 2023-01-04 123738.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Nielzaclord 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TikTok-Video-Generator 2 | 3 | ![Sample](https://public-files.gumroad.com/46bc5apiekrp1k1k5rv41qvccgdo) 4 | 5 | ## Make TikTok/Youtube Short videos with a tweet 6 | Introducing the **Tweet-to-TikTok** and YouTube Shorts generator! With this tool, you can easily transform your tweets into short, catchy videos for TikTok and YouTube Shorts. Select the tweets you want to include in your video. The generator will take care of the rest, creating a professional-quality video that's sure to grab the attention of your audience. Whether you're looking to promote your brand or just have some fun, with this generator is you can select the video background. 7 | 8 | 9 | ### Video Examples 10 | https://www.tiktok.com/@tv.clip4/video/7180400064999836933?is_copy_url=1&is_from_webapp=v1 11 | 12 | 13 | ### Statistics 14 | ![tiktok stat](https://github.com/Nielzaclord/TikTok-Video-Generator/blob/main/Capture%20d%E2%80%99%C3%A9cran%202023-01-04%20100006.jpg) 15 | #### Followers 16 | ![tiktok stats](https://github.com/Nielzaclord/TikTok-Video-Generator/blob/main/Capture%20d%E2%80%99%C3%A9cran%202023-01-04%20123738.jpg) 17 | 18 | 19 | -------------------------------------------------------------------------------- /générateur_video_via_tweet.py: -------------------------------------------------------------------------------- 1 | from tweetcapture import TweetCapture 2 | import asyncio 3 | import snscrape.modules.twitter as sntwitter 4 | import moviepy.editor as mp 5 | 6 | users_name = ['Your Twitter Account Here'] 7 | 8 | 9 | tweets_list1 = [] 10 | video = mp.VideoFileClip("your background video here") 11 | tweet = TweetCapture() 12 | c = 0 13 | x = '' 14 | for n, k in enumerate(users_name): 15 | for i,tweet2 in enumerate(sntwitter.TwitterSearchScraper('from:{}'.format(users_name[n])).get_items()): 16 | if i>9: 17 | break 18 | c += 1 19 | print(x) 20 | asyncio.run(tweet.screenshot( 21 | f'{tweet2.url}', str(c)+".png", mode=0, night_mode=1)) 22 | 23 | logo = (mp.ImageClip(str(c)+".png") 24 | .set_duration(video.duration) 25 | .resize(height=420) # if you need to resize... 26 | .margin(right=8, top=8, opacity=3) # (optional) logo-border padding 27 | .set_pos(("center"))) 28 | 29 | final = mp.CompositeVideoClip([video, logo]) 30 | final.write_videofile(str(c)+".mp4") --------------------------------------------------------------------------------