Skip to content

zhougsoft/dungeon-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dungeon ai 🔮

🧙‍♂️ your personal dungeon master, powered by chatGPT

💍🏰⚔️🐲🗡️🛡️

this app takes user the user on an adventure through a story crafted by AI dungeon master (who was carefully explained their job and will try their best!).

a collaboration of human and artificial imaginations - think CLI for Dungeons & Dragons!

this app uses the chatgpt-api package to interface with ChatGPT. shoutout to Travis Fischer for creating this banger API wrapper!

requirements

you will need:

  • Node.js installed on your machine
  • a ChatGPT session token for the .env file (follow these instructions to get one)

run

  1. install dependencies

    npm install
  2. create copy of .env.example named .env

    cp .env.example .env
  3. add your ChatGPT session token to the SESSION_TOKEN variable

    # inside .env
    SESSION_TOKEN=your_session_token_here
  4. start the app - happy adventuring!

    npm start

About

your personal dungeon master, powered by ChatGPT

Topics

Resources

Stars

Watchers

Forks