Skip to content

Commit b624df8

Browse files
committed
🧹 restructed project folder
1 parent c936369 commit b624df8

File tree

119 files changed

+7300
-7949
lines changed

Some content is hidden

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

119 files changed

+7300
-7949
lines changed

.eslintignore

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

.eslintrc.cjs

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

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
.DS_Store
21
node_modules
3-
/build
4-
/.svelte-kit
5-
/package
6-
.env
7-
.env.*
8-
!.env.example
9-
/dist

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

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

.prettierrc

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

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,53 @@
3838

3939
</p>
4040

41-
<br/>
41+
<br/>
42+
43+
44+
# Wacko
45+
46+
Wacko is a privacy-first, decentralized dating app.
47+
Strangers first. Truth later.
48+
49+
## Tech Stack
50+
- **Framework**: Svelte (Web & Extension)
51+
- **Build Tool**: Vite
52+
- **Styling**: Tailwind CSS
53+
- **Storage**: Encrypted IndexedDB (`@wacko/storage`)
54+
- **Crypto**: WebCrypto API (`@wacko/crypto`)
55+
- **Monorepo**: pnpm workspaces
56+
57+
## Structure
58+
59+
- `apps/web`: Svelte PWA (The primary dating experience)
60+
- `apps/extension`: Chrome Extension (Manifest v3 companion)
61+
- `packages/core`: Domain models and matching algorithms
62+
- `packages/crypto`: WebCrypto wrappers and key management
63+
- `packages/storage`: Encrypted local persistence
64+
- `packages/protocol`: Relay synchronization logic
65+
- `packages/ui`: Shared UI components and Tailwind config
66+
67+
## Development
68+
69+
1. Install dependencies:
70+
```bash
71+
pnpm install
72+
```
73+
74+
2. Start Web App:
75+
```bash
76+
pnpm dev --filter web
77+
```
78+
79+
3. Build Extension:
80+
```bash
81+
pnpm build --filter extension
82+
```
83+
Load `apps/extension/dist` (or `build`) as unpacked extension in Chrome.
84+
85+
## Privacy
86+
- No centralized database.
87+
- End-to-end encrypted messaging.
88+
- Local-first matching.
89+
90+

apps/wacko-extension/.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
# Config files
27+
.webextrc
28+
.webextrc.*

apps/wacko-extension/package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "wacko-extension",
3+
"private": true,
4+
"version": "1.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "vite build",
9+
"check": "svelte-check --tsconfig ./tsconfig.json"
10+
},
11+
"devDependencies": {
12+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
13+
"@tsconfig/svelte": "^5.0.4",
14+
"@types/webextension-polyfill": "^0.10.0",
15+
"svelte": "^5.0.0",
16+
"svelte-check": "^4.0.0",
17+
"tslib": "^2.6.3",
18+
"typescript": "~5.6.3",
19+
"vite": "^5.4.4",
20+
"vite-plugin-web-extension": "^4.1.6",
21+
"webextension-polyfill": "^0.10.0"
22+
}
23+
}
Lines changed: 29 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)