https://github.com/fg2300/redstor
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: FG2300
- License: agpl-3.0
- Language: Python
- Default Branch: main
- Size: 21.6 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
NarReddit
NarReddit is a script that automates the process of converting top-rated Reddit posts into engaging, Subway Surfers-style TikTok narrations. It supports translation into multiple languages, enabling you to transform a single trending Reddit post into multilingual video content, all in an automated fashion!
Features
Content Generation: NarReddit uses GPT-4 to enhance and translate Reddit posts, enabling the creation of multilingual content.
Reddit Scraping: The script scrapes your chosen subreddit to find the highest-rated post.
Intelligent Text-to-Speech (TTS) Audio Generation: NarReddit generates TTS audio from the post, intelligently determining the speaker's gender and adjusting the TTS voice accordingly.
Subtitles Creation: NarReddit can also create subtitles for the generated audio.
Video Overlays: The script overlays the generated audio and subtitles onto a selected background video, creating a complete, ready-to-upload video.
Web Alternative: NarReddit Alpha
Setting up NarReddit locally can be a hassle. From the challenge of obtaining a GPT-4 access to dealing with configurations and dependencies, there's a lot to manage. If you want a smoother experience, why not try the web alternative? We are excited to introduce NarReddit Alpha – a web app that offers the same functionality without the setup complexities. It's currently in alpha, but give it a whirl and enjoy the convenience of online NarReddit!
Setup
Follow these steps to set up NarReddit:
Install ffmpeg and make it accessible via the $PATH environment variable. More information
Install the required dependencies by running
pip install -r requirements.txt.Place your preferred video files to be used as backgrounds in the
background-videosdirectory.Create a new Reddit application at this link. Choose 'script' from the radio button menu and set the redirect URI to
http://localhost:8080.Set up the Gentle forced aligner and start the server.
Sign up for an Elevenlabs account if you don't have one already.
Obtain an OpenAI API key.
Create a
.envfile using the.env.templateprovided in the repository.Populate the
.envvariables as per your requirements.
Note: You can adjust the character limit for posts in the
.envfile. It's advisable to use a limit other than the defaults to avoid exhausting your Elevenlabs API character limit too quickly.Note: You'll need an API key with access to GPT-4 for this feature. Bear in mind that using GPT-4 may result in higher API costs.
- Run the script to start creating engaging video content from top-rated Reddit posts!
Owner
- Login: FG2300
- Kind: user
- Repositories: 1
- Profile: https://github.com/FG2300
GitHub Events
Total
Last Year
Dependencies
- Pygments ==2.15.1
- aiohttp ==3.8.4
- aiosignal ==1.3.1
- asttokens ==2.2.1
- async-timeout ==4.0.2
- attrs ==23.1.0
- backcall ==0.2.0
- certifi ==2023.5.7
- charset-normalizer ==3.1.0
- colorama ==0.4.6
- decorator ==5.1.1
- elevenlabs ==0.2.15
- executing ==1.2.0
- ffmpeg-python ==0.2.0
- frozenlist ==1.3.3
- future ==0.18.3
- idna ==3.4
- ipython ==8.13.2
- jedi ==0.18.2
- matplotlib-inline ==0.1.6
- multidict ==6.0.4
- openai ==0.27.8
- parso ==0.8.3
- pickleshare ==0.7.5
- praw ==7.7.0
- prawcore ==2.3.0
- prompt-toolkit ==3.0.38
- pure-eval ==0.2.2
- pydantic ==1.10.8
- python-dotenv ==1.0.0
- requests ==2.31.0
- six ==1.16.0
- stack-data ==0.6.2
- tqdm ==4.65.0
- traitlets ==5.9.0
- typing_extensions ==4.6.2
- update-checker ==0.18.0
- urllib3 ==2.0.2
- wcwidth ==0.2.6
- websocket-client ==1.5.2
- yarl ==1.9.2