Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Updated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Asudox committed Oct 3, 2023
2 parents 6b037ef + bddc7c0 commit 9f42985
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# LemmyCTTS

LemmyCTTS is a program to automatically convert Lemmy comments into a video. This project is inspired by the Reddit equivalent.
LemmyCTTS is a program to automatically convert Lemmy comments into a video. This project is inspired by the Reddit equivalent version of this program.

# Usage
###### If you don't have Python installed, install it from here: https://www.python.org/downloads/

Before everything, install the required packages:
```
pip install -r requirements.txt
Expand All @@ -20,4 +22,4 @@ As long as everything is configured correctly and the instance works, no errors
# License
This project is licensed under the [GNU GPL Public License v3](https://www.gnu.org/licenses/gpl-3.0.html) license.

###### <p align="center">[Check out my other works](https://github.com/AsuxAX?tab=repositories)</p>
###### <p align="center">[Check out my other works](https://github.com/Asudox?tab=repositories)</p>
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"INSTANCE_URL": "instance_url",
"LEMMY_USERNAME": "username",
"LEMMY_PASSWORD": "password",
"LEMMY_TARGET_COMMUNITY": "target_community",
"COMMENT_LIMIT": 20,
"LEMMY_TARGET_COMMUNITY": "asklemmy",
"COMMENT_LIMIT": 10,
"COMMENT_CHARACTER_LIMIT" : 1500,
"POST_SORT_TYPE" : "Hot",
"COMMENT_SORT_TYPE": "Top",
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


with open("config.json", "r") as f:
config = json_loads(f)
config = json_loads(f.read())

# configure these in the config.json file!
INSTANCE_URL = config["INSTANCE_URL"] # e.g. https://lemmy.world
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ tldextract==3.6.0
tqdm==4.66.1
trio==0.22.2
trio-websocket==0.11.1
<<<<<<< HEAD
urllib3==2.0.5
=======
urllib3==2.0.6
>>>>>>> bddc7c0b2b08ac1a9ad0776a0520ead85b70b9f0
validators==0.22.0
win32-setctime==1.1.0
wsproto==1.2.0

0 comments on commit 9f42985

Please sign in to comment.