Skip to content

Commit d41058c

Browse files
committed
Initial project setup: add all files and structure
1 parent 5f1d016 commit d41058c

File tree

168 files changed

+27592
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+27592
-0
lines changed

.claude/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(powershell.exe -Command \"Get-NetTCPConnection -LocalPort 3000 -State Listen -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess\")"
5+
]
6+
}
7+
}

.claude/settings.local.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(dir:*)",
5+
"Bash(npm run dev:*)",
6+
"Bash(timeout /t 5)",
7+
"Bash(ren:*)",
8+
"Bash(npm run build:*)",
9+
"Bash(where.exe node npm)",
10+
"Bash(\"/c/Program Files/nodejs/npm.cmd\" run build)",
11+
"Bash(export PATH=\"/c/Program Files/nodejs:$PATH\")",
12+
"Bash(netstat:*)",
13+
"Bash(npm start)",
14+
"Bash(powershell.exe -Command:*)",
15+
"Bash(sqlite3:*)",
16+
"Bash(curl:*)",
17+
"Bash(python3:*)",
18+
"Bash(file:*)",
19+
"Bash(ls:*)"
20+
]
21+
}
22+
}

.dockerignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
node_modules
2+
npm-debug.log
3+
dist
4+
.next
5+
out
6+
.git
7+
.gitignore
8+
.env.local
9+
.DS_Store
10+
README.md
11+
.vscode
12+
.idea
13+
coverage
14+
.nyc_output
15+
.env
16+
.env.*
17+
!.env.example
18+
.turbo
19+
*.log
20+
.git
21+
.gitignore
22+
.editorconfig
23+
coverage
24+
.nyc_output
25+
.env.local
26+
.env.*.local
27+
dist/
28+
node_modules/
29+
.cache/
30+
build/
31+
volume/
32+
.github/
33+
.gitlab-ci.yml
34+
.circleci/

.env.example

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Server Configuration
2+
PORT=3000
3+
NODE_ENV=development
4+
5+
# Database
6+
DATABASE_PATH=./data/studiobot.db
7+
8+
# Video Processing
9+
MAX_VIDEO_SIZE_MB=2048
10+
TEMP_VIDEO_DIR=./temp/videos
11+
OUTPUT_CLIPS_DIR=./output/clips
12+
OUTPUT_SHORTS_DIR=./output/shorts
13+
OUTPUT_THUMBNAILS_DIR=./output/thumbnails
14+
15+
# Video Analysis (if using external AI service)
16+
AI_SERVICE_URL=https://api.example.com/analyze
17+
AI_SERVICE_KEY=your_api_key_here
18+
19+
# Platform Credentials
20+
YOUTUBE_API_KEY=your_youtube_api_key
21+
YOUTUBE_CLIENT_ID=your_youtube_client_id
22+
YOUTUBE_CLIENT_SECRET=your_youtube_client_secret
23+
24+
TWITCH_CLIENT_ID=your_twitch_client_id
25+
TWITCH_ACCESS_TOKEN=your_twitch_access_token
26+
27+
RUMBLE_API_KEY=your_rumble_api_key
28+
RUMBLE_CHANNEL_ID=your_rumble_channel_id
29+
30+
# JWT/Auth
31+
JWT_SECRET=your_jwt_secret_key_here
32+
SESSION_SECRET=your_session_secret_here
33+
34+
# Logging
35+
LOG_LEVEL=debug
36+
LOG_FILE=./logs/app.log

.eslintrc.cjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
es2020: true,
6+
},
7+
parser: '@typescript-eslint/parser',
8+
parserOptions: {
9+
ecmaVersion: 'latest',
10+
sourceType: 'module',
11+
},
12+
plugins: ['@typescript-eslint'],
13+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
14+
rules: {
15+
'@typescript-eslint/no-var-requires': 'off',
16+
'@typescript-eslint/no-inferrable-types': 'off',
17+
'@typescript-eslint/no-explicit-any': 'off',
18+
},
19+
ignorePatterns: ['dist/', 'node_modules/'],
20+
};

.gitignore

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Dependencies
2+
node_modules/
3+
package-lock.json
4+
yarn.lock
5+
6+
# Environment
7+
.env
8+
.env.local
9+
.env.*.local
10+
11+
# Build output
12+
dist/
13+
build/
14+
*.tsbuildinfo
15+
16+
# IDE
17+
.vscode/
18+
.idea/
19+
*.swp
20+
*.swo
21+
*~
22+
.DS_Store
23+
*.sublime-project
24+
*.sublime-workspace
25+
26+
# Logs
27+
logs/
28+
*.log
29+
npm-debug.log*
30+
yarn-debug.log*
31+
yarn-error.log*
32+
33+
# Data & Media
34+
data/
35+
temp/
36+
output/
37+
uploads/
38+
39+
# Database
40+
*.db
41+
*.db-shm
42+
*.db-wal
43+
44+
# OS
45+
.DS_Store
46+
Thumbs.db
47+
.env.example.local
48+
49+
# Testing
50+
coverage/
51+
.nyc_output/
52+
53+
# Backups
54+
backups/
55+
*.backup
56+
*.bak
57+
58+
# Process managers
59+
pm2.config.js
60+
ecosystem.config.js
61+
62+
# Temporary files
63+
*.tmp
64+
.cache/
65+
.env

0 commit comments

Comments
 (0)