Skip to content

lambdv/Irminsul

Repository files navigation

Irminsul

Genshin Impact Database and Tooling Suite for Metagaming and Theorycrafting.

Features

  • Character, Weapon and Artifact archive pages
  • Fuzzy search pallete and browsing menu with filters
  • Discord linked accounts and comment sections
  • AI Chatbot with a up-to-date and nuanced knowledgebase
  • WebUI Damage Calculater (WIP)
  • WebUI Energy Recharage Calcylater (WIP)
  • User generated resource search engine (WIP)

Installation

1. Clone the repository

git clone https://github.com/lambdv/Irminsul
cd Irminsul

2. Install Dependencies

npm install

3. Setup Environment Bariables

Create a .env file in the root directory with the following variables:

    DATABASE_URL=""          # setup neon directly through https://neon.tech/ or through vercel
                             # if using a different database type, change code in src/db/db.ts

    AUTH_DRIZZLE_URL=""      # https://authjs.dev/getting-started/adapters/drizzle?framework=next-js
    # auth provider with authjs using discord https://discord.com/developers/docs/intro
    AUTH_DISCORD_ID=""
    AUTH_DISCORD_SECRET=""

    AUTH_SECRET=""           # secret key for authjs. made locally using `openssl rand -base64 32` 

    STRIPE_SECRET_KEY=""     # for payments integration using stripe 
    STRIPE_WEBHOOK_SECRET="" # shouldn't break anything if not set up in most cases

4 Run Application

Development

npm run dev

Production

npm run build
npm run start

Docker

docker build -t irminsul .
docker run -p 3000:3000 irminsul

About

Metagaming/Theorycrafting web tooling suite & database for Genshin Impact

Topics

Resources

Stars

Watchers

Forks