Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0b1e99f
New auth and dashboard
KenTheNoob Apr 26, 2025
5320b62
adding philosopher images they are in public/characters/images
Shaan6695 Apr 26, 2025
b840d15
adding .json character profiles have done 5 so far
Shaan6695 Apr 26, 2025
5887f62
adding some more philosopher images
Shaan6695 Apr 26, 2025
72acc1c
almost all philosopher images finished
Shaan6695 Apr 26, 2025
1b4f830
add new contact page
KenTheNoob Apr 27, 2025
53460f8
dashboard text to knowledge graph
KenTheNoob Apr 27, 2025
2c24686
adding 4 studio ghibli images
Shaan6695 Apr 27, 2025
3b3b014
using api routes for security, .env setup fix
KenTheNoob Apr 28, 2025
3f6dad7
adding 12 more new images
Shaan6695 Apr 28, 2025
21e102e
adding some more json files for the philosophers
Shaan6695 May 1, 2025
5148d37
knowledge graph chat
KenTheNoob May 1, 2025
4e957b0
Merge pull request #1 from KenTheNoob/philosopher-graph-chat
KenTheNoob May 1, 2025
f537608
adding more json files for the philosophers
Shaan6695 May 1, 2025
99dc64a
added pipeline
tomasGonz67 May 1, 2025
e374917
adding some more philosopher jsons
Shaan6695 May 1, 2025
eeae863
adding more json files but they need images corresponding to them
Shaan6695 May 1, 2025
718d7b8
more security and bug fixes
KenTheNoob May 1, 2025
d7a6b18
local storage, token limit, default conversation topics
KenTheNoob May 2, 2025
3708b2a
Merge branch 'dev' of https://github.com/KenTheNoob/theoforge-new int…
tomasGonz67 May 2, 2025
3eeb168
Add initial message to history
KenTheNoob May 2, 2025
4048b91
adding the remaining updates images. Still need to fix the naming so …
Shaan6695 May 2, 2025
c3946c1
fixing issue where some philosophers in the knowledge graph would not…
Shaan6695 May 2, 2025
a4822e6
adding the users and guests table
Shaan6695 May 2, 2025
1bf6530
attempt workflow fix
KenTheNoob May 2, 2025
0d3070a
fixing workflow errors
KenTheNoob May 2, 2025
36abe61
adding more functionality to the users and guest view such as viewing…
Shaan6695 May 2, 2025
166de5e
removing authstore and using appcontext instead
Shaan6695 May 3, 2025
39675f3
Modularize and cleanup
KenTheNoob May 3, 2025
432cee9
Merge pull request #2 from KenTheNoob/testing-dev-dashboard
KenTheNoob May 3, 2025
72d17c7
import name change
KenTheNoob May 3, 2025
ac7bb4e
adding close panel functionality to the philosopher knowledge graph
Shaan6695 May 3, 2025
2fed338
adding philosopher graph and genesis engine buttons to authtenticated…
Shaan6695 May 3, 2025
63f18f9
workflow change
KenTheNoob May 3, 2025
4296efb
Fix knowledge graph page build error
KenTheNoob May 3, 2025
25faf1a
styles and knowledge graph page button
KenTheNoob May 3, 2025
703cf30
Merge pull request #3 from KenTheNoob/dev-adding-features
KenTheNoob May 3, 2025
9930a6a
no longer using localhost
KenTheNoob May 4, 2025
d7b9005
guest table api route fix
KenTheNoob May 4, 2025
0d45748
fixing another wrong api route
KenTheNoob May 4, 2025
ec9a1b5
knowledge graph tokens, chat UI fix, dashboard code cleanup
KenTheNoob May 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# REQUIRED
OPENAI_API_KEY=your-api-key-here
DISCORD_WEBHOOK_URL=your-webhook-url-here # Discord -> Server Settings -> Integrations -> Webhooks

# OPTIONAL
NEXT_PUBLIC_USE_LOCALHOST=true
NEXT_PUBLIC_BASE_URL=base-site-url
OPENAI_MODEL=gpt-3.5-turbo
LLM_PROVIDER=openai
LLM_MODEL=gpt-3.5-turbo
LLM_TEMPERATURE=0.7
LLM_MAX_TOKENS=1000
ENABLE_REAL_LLM=true
CHARACTER_API_URL=your-api-url-here
CONTACT_FORM_TO_EMAIL=your-default-recipient@example.com
CONTACT_FORM_FROM_EMAIL=your-default-sender@example.com
ANTHROPIC_API_KEY=your-anthropic-key-here
ENABLE_PERFORMANCE_MONITORING=true
# Node and vercel setup 'development' | 'production'
NODE_ENV=development
VERCEL_ENV=development
39 changes: 39 additions & 0 deletions .github/workflows/vercelPipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy to Vercel on dev

on:
push:
branches:
- dev

jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
steps:
# 1) Check out your code
- name: Checkout code
uses: actions/checkout@v4

# 2) Install the Node.js version your project needs
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # or whatever version you target

# 3) Install dependencies & run your build/tests
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build

# 4) Deploy to Vercel
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # your Vercel API token
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} # your Team/Org ID
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} # your Project ID
working-directory: . # adjust if your code lives in a subfolder
vercel-args: '--prod' # deploy to production (updates theoforge-new.vercel.app)
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ yarn-error.log*

# env files (can opt-in for committing if needed)
.env*
!.env.example

# vercel
.vercel
Expand Down
5 changes: 4 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
Loading