Skip to content

Commit 526ed1d

Browse files
committed
chore: Clean up project for GitHub publication
- Remove IDE files (.idea/) from git history - Add comprehensive .gitignore for Python, Node.js, and OS files - Add MIT LICENSE - Add CONTRIBUTING.md with contribution guidelines - Add GitHub Actions workflow for automated testing - Update README.md with badges, features, architecture details - Remove unnecessary files (=0.5.4 pip artifact) - Add quick start guide and environment setup docs This project is now ready for public GitHub release. All IDE, cache, and large media files are properly ignored.
1 parent 713f07e commit 526ed1d

File tree

12 files changed

+503
-75
lines changed

12 files changed

+503
-75
lines changed

.github/workflows/tests.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ master, main, develop ]
6+
pull_request:
7+
branches: [ master, main, develop ]
8+
9+
jobs:
10+
backend-tests:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ['3.9', '3.10', '3.11']
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
cd backend
28+
pip install -r requirements.txt
29+
30+
- name: Lint with flake8 (optional)
31+
run: |
32+
# Stop the build if there are Python syntax errors or undefined names
33+
pip install flake8
34+
flake8 backend --count --select=E9,F63,F7,F82 --show-source --statistics || true
35+
36+
- name: Test imports
37+
run: |
38+
cd backend
39+
python -c "from main import app; from database import get_db; from speaker_diarization import detect_speakers; print('✓ All imports successful')"
40+
41+
frontend-tests:
42+
runs-on: ubuntu-latest
43+
strategy:
44+
matrix:
45+
node-version: [18.x, 20.x]
46+
47+
steps:
48+
- uses: actions/checkout@v3
49+
50+
- name: Use Node.js ${{ matrix.node-version }}
51+
uses: actions/setup-node@v3
52+
with:
53+
node-version: ${{ matrix.node-version }}
54+
cache: 'npm'
55+
cache-dependency-path: frontend/package-lock.json
56+
57+
- name: Install dependencies
58+
run: |
59+
cd frontend
60+
npm ci
61+
62+
- name: Lint
63+
run: |
64+
cd frontend
65+
npm run lint || true
66+
67+
- name: Build
68+
run: |
69+
cd frontend
70+
npm run build
71+
72+
docker-build:
73+
runs-on: ubuntu-latest
74+
75+
steps:
76+
- uses: actions/checkout@v3
77+
78+
- name: Set up Docker Buildx
79+
uses: docker/setup-buildx-action@v2
80+
81+
- name: Build Docker images
82+
run: |
83+
docker-compose build --no-cache || true
84+
working-directory: .

.gitignore

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
pip-wheel-metadata/
20+
share/python-wheels/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
MANIFEST
25+
venv/
26+
ENV/
27+
env/
28+
.venv
29+
30+
# Node.js / Frontend
31+
node_modules/
32+
npm-debug.log
33+
yarn-error.log
34+
.next/
35+
out/
36+
.vercel/
37+
.nuxt/
38+
dist/
39+
40+
# IDE & Editor
41+
.vscode/
42+
.idea/
43+
*.swp
44+
*.swo
45+
*~
46+
.DS_Store
47+
*.sublime-workspace
48+
.project
49+
.pydevproject
50+
.settings/
51+
52+
# Environment & Config
53+
.env
54+
.env.local
55+
.env.development.local
56+
.env.test.local
57+
.env.production.local
58+
.env.*.local
59+
60+
# OS
61+
.DS_Store
62+
.DS_Store?
63+
._*
64+
.Spotlight-V100
65+
.Trashes
66+
ehthumbs.db
67+
Thumbs.db
68+
69+
# Database
70+
*.db
71+
*.sqlite
72+
*.sqlite3
73+
transcripts.db
74+
transcripts.db-*
75+
76+
# Logs
77+
logs/
78+
*.log
79+
npm-debug.log*
80+
yarn-debug.log*
81+
yarn-error.log*
82+
lerna-debug.log*
83+
84+
# Temporary files
85+
*.tmp
86+
*.temp
87+
.tmp/
88+
temp/
89+
tmp/
90+
91+
# Media files (large binaries)
92+
*.mp4
93+
*.mp3
94+
*.wav
95+
*.flac
96+
*.m4a
97+
*.aac
98+
99+
# Cache
100+
.cache/
101+
.pytest_cache/
102+
.mypy_cache/
103+
.dmypy.json
104+
dmypy.json
105+
106+
# IDE specific
107+
.vscode/extensions.json
108+
.vscode/settings.json
109+
.vscode/launch.json
110+
111+
# Docker (if building locally)
112+
docker_build/
113+
114+
# Package manager lock files (optional - include for reproducibility)
115+
# package-lock.json
116+
# yarn.lock
117+
118+
# Compiled files
119+
*.o
120+
*.a
121+
*.so
122+
*.exe
123+
*.dll
124+
*.dylib
125+
126+
# Coverage
127+
htmlcov/
128+
.coverage
129+
.coverage.*
130+
.cache
131+
nosetests.xml
132+
coverage.xml
133+
*.cover
134+
.hypothesis/
135+
136+
# Jupyter Notebook
137+
.ipynb_checkpoints
138+
139+
# pyenv
140+
.python-version
141+
142+
# Testing
143+
.pytest_cache/
144+
.tox/
145+
.hypothesis/
146+
147+
# Type checking
148+
.mypy_cache/
149+
.dmypy.json
150+
dmypy.json
151+
152+
# Models cache (large AI models - regenerate locally)
153+
parakeet_model_cache/
154+
whisper_models/
155+
pretrained_models/
156+
*.pth
157+
*.pt
158+
*.safetensors

.idea/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.idea/Parakeet TDT.iml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)