SilentProgrammer commited on
Commit
a6815da
Β·
verified Β·
1 Parent(s): e71d833

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -88
README.md CHANGED
@@ -1,22 +1,13 @@
1
- # MoneyPrinter πŸ’Έ
2
-
3
- THIS IS DEPRECATED; CHECK OUT VERSION 2 [HERE](https://github.com/FujiwaraChoki/MoneyPrinterV2).
4
 
5
  Automate the creation of YouTube Shorts locally, simply by providing a video topic to talk about.
6
 
7
- > **Important** Please make sure you look through existing/closed issues before opening your own. If it's just a question, please join our [discord](https://dsc.gg/fuji-community) and ask there.
8
-
9
- > **πŸŽ₯** Watch the video on [YouTube](https://youtu.be/mkZsaDA2JnA?si=pNne3MnluRVkWQbE).
10
-
11
- ## Installation πŸ“₯
12
 
13
- `MoneyPrinter` requires Python 3.11 to run effectively. If you don't have Python installed, you can download it from [here](https://www.python.org/downloads/).
14
-
15
- After you finished installing Python, you can install `MoneyPrinter` by following the steps below:
16
 
17
  ```bash
18
- git clone https://github.com/FujiwaraChoki/MoneyPrinter.git
19
- cd MoneyPrinter
20
 
21
  # Install requirements
22
  pip install -r requirements.txt
@@ -35,95 +26,29 @@ python -m http.server 3000
35
 
36
  See [`.env.example`](.env.example) for the required environment variables.
37
 
38
- If you need help, open [EnvironmentVariables.md](EnvironmentVariables.md) for more information.
39
 
40
- ## Usage πŸ› οΈ
41
 
42
  1. Copy the `.env.example` file to `.env` and fill in the required values
43
  1. Open `http://localhost:3000` in your browser
44
  1. Enter a topic to talk about
45
  1. Click on the "Generate" button
46
  1. Wait for the video to be generated
47
- 1. The video's location is `MoneyPrinter/output.mp4`
48
-
49
- ## Music 🎡
50
-
51
- To use your own music, compress all your MP3 Files into a ZIP file and upload it somewhere. Provide the link to the ZIP file in the Frontend.
52
-
53
- It is recommended to use Services such as [Filebin](https://filebin.net) to upload your ZIP file. If you decide to use Filebin, provide the Frontend with the absolute path to the ZIP file by using More -> Download File, e.g. (use this [Popular TT songs ZIP](https://filebin.net/klylrens0uk2pnrg/drive-download-20240209T180019Z-001.zip), not this [Popular TT songs](https://filebin.net/2avx134kdibc4c3q))
54
-
55
- You can also just move your MP3 files into the `Songs` folder.
56
-
57
- ## Fonts πŸ…°
58
-
59
- Add your fonts to the `fonts/` folder, and load them by specifying the font name on line `124` in `Backend/video.py`.
60
-
61
- ## Automatic YouTube Uploading πŸŽ₯
62
-
63
- MoneyPrinter now includes functionality to automatically upload generated videos to YouTube.
64
-
65
- To use this feature, you need to:
66
-
67
- 1. Create a project inside your Google Cloud Platform -> [GCP](https://console.cloud.google.com/).
68
- 1. Obtain `client_secret.json` from the project and add it to the Backend/ directory.
69
- 1. Enable the YouTube v3 API in your project -> [GCP-API-Library](https://console.cloud.google.com/apis/library/youtube.googleapis.com)
70
- 1. Create an `OAuth consent screen` and add yourself (the account of your YouTube channel) to the testers.
71
- 1. Enable the following scopes in the `OAuth consent screen` for your project:
72
-
73
- ```
74
- 'https://www.googleapis.com/auth/youtube'
75
- 'https://www.googleapis.com/auth/youtube.upload'
76
- 'https://www.googleapis.com/auth/youtubepartner'
77
- ```
78
-
79
- After this, you can generate the videos and you will be prompted to authenticate yourself.
80
-
81
- The authentication process creates and stores a `main.py-oauth2.json` file inside the Backend/ directory. Keep this file to maintain authentication, or delete it to re-authenticate (for example, with a different account).
82
-
83
- Videos are uploaded as private by default. For a completely automated workflow, change the privacyStatus in main.py to your desired setting ("public", "private", or "unlisted").
84
-
85
- For videos that have been locked as private due to upload via an unverified API service, you will not be able to appeal. You’ll need to re-upload the video via a verified API service or via the YouTube app/site. The unverified API service can also apply for an API audit. So make sure to verify your API, see [OAuth App Verification Help Center](https://support.google.com/cloud/answer/13463073) for more information.
86
-
87
- ## FAQ πŸ€”
88
-
89
- ### How do I get the TikTok session ID?
90
-
91
- You can obtain your TikTok session ID by logging into TikTok in your browser and copying the value of the `sessionid` cookie.
92
-
93
- ### My ImageMagick binary is not being detected
94
-
95
- Make sure you set your path to the ImageMagick binary correctly in the `.env` file, it should look something like this:
96
-
97
- ```env
98
- IMAGEMAGICK_BINARY="C:\\Program Files\\ImageMagick-7.1.0-Q16\\magick.exe"
99
- ```
100
-
101
- Don't forget to use double backslashes (`\\`) in the path, instead of one.
102
-
103
- ### I can't install `playsound`: Wheel failed to build
104
-
105
- If you're having trouble installing `playsound`, you can try installing it using the following command:
106
-
107
- ```bash
108
- pip install -U wheel
109
- pip install -U playsound
110
- ```
111
-
112
- If you were not able to find your solution, please ask in the discord or create a new issue, so that the community can help you.
113
 
114
- ## Donate 🎁
115
 
116
- If you like and enjoy `MoneyPrinter`, and would like to donate, you can do that by clicking on the button on the right hand side of the repository. ❀️
117
- You will have your name (and/or logo) added to this repository as a supporter as a sign of appreciation.
118
 
119
- ## Contributing 🀝
120
 
121
- Pull Requests will not be accepted for the time-being.
122
 
123
- ## Star History 🌟
124
 
125
  [![Star History Chart](https://api.star-history.com/svg?repos=FujiwaraChoki/MoneyPrinter&type=Date)](https://star-history.com/#FujiwaraChoki/MoneyPrinter&Date)
126
 
127
- ## License πŸ“
128
 
129
  See [`LICENSE`](LICENSE) file for more information.
 
1
+ # MoneyPrinter
 
 
2
 
3
  Automate the creation of YouTube Shorts locally, simply by providing a video topic to talk about.
4
 
 
 
 
 
 
5
 
6
+ ## Installation
 
 
7
 
8
  ```bash
9
+ git clone https://github.com/Tanmay-Tiwaricyber/money.git
10
+ cd money
11
 
12
  # Install requirements
13
  pip install -r requirements.txt
 
26
 
27
  See [`.env.example`](.env.example) for the required environment variables.
28
 
29
+ If you need help, open [ENV.md](ENV.md) for more information.
30
 
31
+ ## Usage
32
 
33
  1. Copy the `.env.example` file to `.env` and fill in the required values
34
  1. Open `http://localhost:3000` in your browser
35
  1. Enter a topic to talk about
36
  1. Click on the "Generate" button
37
  1. Wait for the video to be generated
38
+ 1. The video's location is `temp/output.mp4`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
+ ## Fonts
41
 
42
+ Add your fonts to the `fonts/` folder, and load them by specifiying the font name on line `124` in `Backend/video.py`.
 
43
 
44
+ ## Contributing
45
 
46
+ Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
47
 
48
+ ## Star History
49
 
50
  [![Star History Chart](https://api.star-history.com/svg?repos=FujiwaraChoki/MoneyPrinter&type=Date)](https://star-history.com/#FujiwaraChoki/MoneyPrinter&Date)
51
 
52
+ ## License
53
 
54
  See [`LICENSE`](LICENSE) file for more information.