You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A chat reader for <ahref="https://www.tiktok.com/live">TikTok LIVE</a> utilizing <ahref="https://github.com/zerodytrash/TikTok-Live-Connector">TikTok-Live-Connector</a> and <ahref="https://socket.io/">Socket.IO</a> to forward the data to the client. This demo project uses the unofficial TikTok API to retrieve chat comments, gifts and other events from TikTok LIVE.
3
3
4
-
## Demo: https://tiktok-chat-reader.zerody.one/
4
+
5
+
# Easy Installation, no host needed!
6
+
> [!TIP]
7
+
> I recently found out about [IDX.Google.com](https://idx.google.com) which can host this package for free, for personal usage.
8
+
9
+
1. Fork this repo to your account.
10
+
2. Go to [IDX.Google.com](https://idx.google.com) - You'll probably have to sign in or connect your github account.
11
+
3. Open your forked project within the IDX Editor
12
+
4. It will auto launch the on the side like VSCode's built in previewer.
13
+
14
+
---
15
+
16
+
## Original Demo: https://tiktok-chat-reader.zerody.one/
17
+
^ That demo does not have the changes I've made. Please use the solution above using [idx.google.com](idx.google.com) to see this repo's capabilities.
5
18
6
19
## Installation
7
20
To run the chat reader locally, follow these steps:
8
21
9
22
1. Install [Node.js](https://nodejs.org/) on your system
10
-
2. Clone this repository or download and extract [this ZIP file](https://github.com/zerodytrash/TikTok-Chat-Reader/archive/refs/heads/main.zip)
23
+
2. Clone this repository or download and extract [this ZIP file](https://github.com/Yohn/TikTok-Chat-Reader/archive/refs/heads/old.zip)
11
24
3. Open a console/terminal in the root directory of the project
12
-
4. Enter `npm i` to install all required dependencies
25
+
4. Enter `npm i` to install all required dependencies
13
26
5. Enter `node server.js` to start the application server
14
27
15
28
Now you should see the following message: `Server running! Please visit http://localhost:8091`<br>
@@ -18,6 +31,37 @@ Simply open http://localhost:8091/ in your browser. Thats it.
18
31
If you have problems with Node.js, you can also just open the `index.html` from the `public` folder.<br>
19
32
This will use the server backend of the [demo site](https://tiktok-chat-reader.zerody.one/), which is sufficient for testing purposes. If you want to offer it to others or make many connections at the same time, please consider using your own server.
20
33
34
+
> [!NOTE]
35
+
> I recently found out about [IDX.Google.com](https://idx.google.com) and you're able to fork this repo then open this repo within Google's IDX editor and see this working on the side without needing to download, and without the need for a host, for personal usage.
36
+
37
+
## Yohn's Updates
38
+
- Separated everything away from the chat
39
+
- Likes (number is not correct
40
+
- New followers
41
+
- Shares
42
+
- When users under gifter level 25 join
43
+
- TTS - Text to Speech for comments (can be disabled)
44
+
- Different sounds for gifts (can be disabled)
45
+
- Best way to add / edit sounds is to add them to the config file
46
+
- A way to save gifts sent in live to a google spreadsheet.
47
+
- Will need to research yourself to add the `keys.json` file and to update your `.env` file
48
+
-[Medium post might be helpful](https://medium.com/@shkim04/beginner-guide-on-google-sheet-api-for-node-js-4c0b533b071a) might help
49
+
- Gifter badges
50
+
- Team Member badges
51
+
- Subscriber icon
52
+
- Moderator icon
53
+
- Battle scores, even for 2v2
54
+
- Sometimes the battle scores come back to the wrong hosts. This is because of how its received from the [TikTok-Live-Connector](https://github.com/zerodytrash/TikTok-Live-Connector)
55
+
- Battle timer
56
+
- Sometimes the times off by a second, possibly more if the time booster was used
57
+
- If the gift is sent to someone in the guest boxes it will note that in the box area
58
+
- If the receiver was not tapping, commenting or sending gifts since connecting the receiver will be blank.
59
+
- Names entered to connect to the persons live are saved within the config file (works automatically)
60
+
- Notes can be saved into the config file, or within the cog menu
61
+
- Host info
62
+
- Top 3 gifters before connecting to the live
63
+
21
64
## Screenshot
22
65
23
-

0 commit comments