Skip to content

A conversational bot for tiktok livestreams built on ChatGPT.

License

Notifications You must be signed in to change notification settings

Menmaz/TiktokChatGPT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TikTok TikTok

TiktokChatGPT

A conversational bot for tiktok livestreams built on ChatGPT.

Report Bug · Request Feature

Love the project? Please consider donating to help it improve!

Getting Started

To run this code, you require an API key from ElevenLabs and OpenAI.

ElevenLabs API Key

  • Sign up here for a free account.

OpenAI API Key

  • Sign up here for a free account.

Config

  • First, add your OpenAI and ElevenLabs API keys as well as the name of the TikTok account that's livestreaming in the .env.example file

  • Next, rename the .env.example file to .env

  • Finally, to run the project, run:

mkdir audio
# then
mkdir logs
# then
npm install
# then
npm start

Setup

TiktokChatGPT
├── docs         # Documentation
│   ├── images
│   └── CONTRIBUTING.md
├── audio        # Response audio file store
│   └── example.mp3
├── logs         # Log file store
│   └── access.log
├── app.js       # Tiktok livestream responder
├── gpt.js       # OpenAI prompt and response function
├── voice.js     # ElevenLabs vocal response function
├── logger.js    # Logging function
├── .env         # Credentials and environment variables
├── package.json
├── README.md

Contribution

Contributions are welcome. Checkout the CONTRIBUTING.md to learn more.

About

A conversational bot for tiktok livestreams built on ChatGPT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%