zhougsoft / dungeon-ai

your personal dungeon master, powered by ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 99.7%Language:Shell 0.3%