Skip to content

Commit 73edd62

Browse files
committed
Initial release: SourceLessNet-AMS v1.2.0-alpha
Features: - STR.Talk with IgniteHex community chat - ZK13 zero-knowledge proof authentication - GodCypher quantum-resistant encryption - Decentralized identity with STR domains - Profile management (avatar, bio, status) - Emoji picker with categories - Live message sync across tabs - Member directory with online status - Marketplace integration - HostlessDB decentralized storage - P2P network communication - Electron desktop app support Tech Stack: - React 18 + TypeScript + Vite 5 - Tailwind CSS + shadcn/ui - ZK13 + GodCypher encryption - Electron for desktop
0 parents  commit 73edd62

File tree

435 files changed

+109637
-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.

435 files changed

+109637
-0
lines changed

.env.local.template

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SourceLessNet Environment Variables
2+
# Copy this file to .env.local and fill in your actual values
3+
4+
# ============================================================================
5+
# IgniteHex Integration (Enhancement 4)
6+
# ============================================================================
7+
8+
# IgniteHex Supabase Connection
9+
# Get these from your IgniteHex dashboard at https://ignitehex.com
10+
VITE_IGNITEHEX_SUPABASE_URL=https://your-project.supabase.co
11+
VITE_IGNITEHEX_SUPABASE_ANON_KEY=your_anon_key_here
12+
13+
# Optional: IgniteHex API (if available)
14+
VITE_IGNITEHEX_API_URL=https://api.ignitehex.com
15+
VITE_IGNITEHEX_API_KEY=your_api_key_here
16+
17+
# ============================================================================
18+
# Supabase (Local Instance)
19+
# ============================================================================
20+
21+
VITE_SUPABASE_URL=your_local_supabase_url
22+
VITE_SUPABASE_ANON_KEY=your_local_anon_key
23+
24+
# ============================================================================
25+
# Optional: Additional Services
26+
# ============================================================================
27+
28+
# Blockchain RPC (if using external node)
29+
# VITE_BLOCKCHAIN_RPC_URL=https://rpc.sourceless.net
30+
31+
# P2P Signaling Server (if using external server)
32+
# VITE_P2P_SIGNALING_URL=wss://signaling.sourceless.net
33+
34+
# ============================================================================
35+
# Instructions
36+
# ============================================================================
37+
38+
# 1. Copy this file: cp .env.local.template .env.local
39+
# 2. Fill in your actual IgniteHex credentials
40+
# 3. Restart the dev server: npm run dev
41+
# 4. Your browser will now show real IgniteHex data
42+
43+
# Note: .env.local is gitignored for security

.gitattributes

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# AresLang Language Recognition
2+
# This file tells GitHub to recognize .ares files as AresLang
3+
# AresLang is a quantum-safe, privacy-focused programming language
4+
# Created by Alexandru Stratulat & Bogdan Iacob & SourceLess Team
5+
6+
# AresLang files - mark as custom language with Rust-like syntax highlighting
7+
*.ares linguist-language=Rust
8+
*.ares linguist-detectable=true
9+
10+
# AresLang contract files
11+
*.aresc linguist-language=Rust
12+
*.aresc linguist-detectable=true
13+
14+
# Standard language attributions
15+
*.ts linguist-detectable=true
16+
*.tsx linguist-detectable=true
17+
*.js linguist-detectable=true
18+
*.jsx linguist-detectable=true
19+
*.css linguist-detectable=true
20+
*.html linguist-detectable=true
21+
*.json linguist-detectable=true
22+
*.md linguist-documentation=true
23+
24+
# Generated files - exclude from stats
25+
dist/** linguist-generated=true
26+
build/** linguist-generated=true
27+
node_modules/** linguist-vendored=true
28+
*.min.js linguist-generated=true
29+
*.min.css linguist-generated=true
30+
package-lock.json linguist-generated=true
31+
32+
# Documentation
33+
docs/** linguist-documentation=true
34+
*.md linguist-documentation=true
35+
36+
# Test files
37+
*.test.ts linguist-detectable=true
38+
*.spec.ts linguist-detectable=true

.github/workflows/deploy.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Deploy to VPS
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: 📥 Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: 📦 Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
cache: 'npm'
22+
23+
- name: 📚 Install dependencies
24+
run: npm ci
25+
26+
- name: 🔨 Build production
27+
run: npm run build
28+
29+
- name: 🗑️ Clean old files on VPS
30+
uses: appleboy/ssh-action@v1.0.3
31+
with:
32+
host: ${{ secrets.VPS_HOST }}
33+
username: ${{ secrets.VPS_USERNAME }}
34+
key: ${{ secrets.VPS_SSH_KEY }}
35+
port: 22
36+
script: |
37+
echo "🗑️ Cleaning old files..."
38+
rm -rf /var/www/sourcelessnet/dist/assets/*
39+
echo "✅ Old files removed"
40+
41+
- name: 📤 Deploy to VPS via SCP
42+
uses: appleboy/scp-action@v0.1.7
43+
with:
44+
host: ${{ secrets.VPS_HOST }}
45+
username: ${{ secrets.VPS_USERNAME }}
46+
key: ${{ secrets.VPS_SSH_KEY }}
47+
port: 22
48+
source: "dist/*"
49+
target: "/var/www/sourcelessnet/dist"
50+
strip_components: 1
51+
overwrite: true
52+
53+
- name: 🔄 Reload nginx
54+
uses: appleboy/ssh-action@v1.0.3
55+
with:
56+
host: ${{ secrets.VPS_HOST }}
57+
username: ${{ secrets.VPS_USERNAME }}
58+
key: ${{ secrets.VPS_SSH_KEY }}
59+
port: 22
60+
script: |
61+
echo "🚀 Deployment complete!"
62+
sudo systemctl reload nginx || true
63+
echo "✅ Done at $(date)"

.gitignore

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Dependencies
2+
node_modules/
3+
.pnp
4+
.pnp.js
5+
6+
# Build outputs
7+
dist/
8+
dist-electron/
9+
build/
10+
out/
11+
12+
# Environment variables
13+
.env
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
# Logs
20+
logs/
21+
*.log
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
pnpm-debug.log*
26+
lerna-debug.log*
27+
28+
# Editor directories
29+
.vscode/*
30+
!.vscode/extensions.json
31+
!.vscode/settings.json
32+
.idea/
33+
*.suo
34+
*.ntvs*
35+
*.njsproj
36+
*.sln
37+
*.sw?
38+
39+
# OS files
40+
.DS_Store
41+
Thumbs.db
42+
43+
# Test coverage
44+
coverage/
45+
46+
# Temporary files
47+
*.tmp
48+
*.temp
49+
.cache/
50+
51+
# TypeScript
52+
*.tsbuildinfo
53+
54+
# Electron
55+
release/

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"DockerRun.DisableDockerrc": true
3+
}

CHANGELOG.md

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
# Changelog
2+
3+
All notable changes to STR4TUS - SourceLessNet will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.2.0-alpha] - 2025-12-28
9+
10+
### Added
11+
- **AresLang Compiler Enhancements**
12+
- DECORATOR token type support for `@quantum_safe` and `@zk_protected` annotations
13+
- Array/map index expression parsing (`balances[msg.sender]`)
14+
- Binary expression support for arithmetic and comparison operators
15+
- Improved string literal handling with quote preservation
16+
17+
- **P2P/HostLess System**
18+
- `initialize()` methods for PeerDiscovery and DomainMessaging
19+
- Peer registry methods: `registerPeer()`, `unregisterPeer()`, `isPeerRegistered()`
20+
- Message statistics tracking (sent, received, queued)
21+
- Enhanced PoE proof validation with fallback handling
22+
23+
- **Token Services**
24+
- Simplified token operation method signatures
25+
- TokenFactory `createToken(tokenType)` overload
26+
- TokenMinting, TokenBurning, TokenTransfer simplified overloads
27+
- Additional result fields: `recipient`, `netAmount`
28+
29+
- **STR Talk Services**
30+
- `getProfile()` method for domain-based profile retrieval
31+
- Service method aliases for improved compatibility
32+
- Enhanced HostLess DB integration
33+
34+
- **Navigation Improvements**
35+
- BackButton reusable component
36+
- Missing `/website-builder` route added
37+
- Back navigation buttons: Marketplace, IDE, BankDetails, HealthMonitoring
38+
39+
- **Error Handling**
40+
- Enhanced ErrorBoundary with child change detection
41+
- Proper error recovery on "Try Again" button
42+
- Improved state management for error scenarios
43+
44+
### Fixed
45+
- **Authentication UI**
46+
- Sign In button properly hidden when logged in
47+
- Removed redundant authentication prompts
48+
49+
- **Signup Flow**
50+
- Unified signup through single wallet-creation flow
51+
- Removed duplicate signup in AuthDialog
52+
- Email confirmation removed from quick signup
53+
54+
- **Token Operations**
55+
- TokenFactory `reset()` properly clears all ledgers
56+
- STARW maxPerMint limit increased to 1M
57+
- Balance and daily limit validations improved
58+
59+
- **Parser/Compiler**
60+
- Fixed `address` type recognition (case-insensitive)
61+
- Complex smart contract expressions parse correctly
62+
- Compiler AST generation improved
63+
64+
- **P2P Network**
65+
- PeerId generation: 19 characters (strzk13 + 12 alphanumeric)
66+
- PoE proof returns proper success flags
67+
68+
- **UI/UX**
69+
- 404 errors fixed for undefined routes
70+
- Website Builder terminology updated
71+
- Consistent back button styling
72+
73+
### Changed
74+
- Package version: 1.0.0 → 1.1.0
75+
- Website Builder references updated
76+
- ARSS token description refined
77+
78+
### Test Results
79+
- **314/386 tests passing** (81%, 43 skipped)
80+
- **Effective: 91.5%** (314/343)
81+
- **Critical suites: 99/99**
82+
- AresLang parser: 20/20
83+
- AresLang VM: 16/16
84+
- ErrorBoundary: 15/15
85+
- STR Talk: 29/29
86+
- Token operations: 16/16
87+
88+
## [1.1.0-alpha] - 2025-12-27
89+
90+
### Added
91+
- React.lazy() code splitting for all non-critical pages
92+
- Vendor chunk splitting (React, UI components, Supabase, Icons)
93+
- React Query default caching configuration
94+
- Loading spinner component for Suspense fallback
95+
- Comprehensive README.md documentation
96+
- LICENSE file with MIT license
97+
- CHANGELOG.md for version tracking
98+
99+
### Changed
100+
- Updated attributions to include full team (Alexandru Stratulat, Bogdan Iacob & SourceLess Team)
101+
- Optimized Vite build configuration with manual chunks
102+
- Updated caniuse-lite dependency
103+
104+
### Performance
105+
- Main bundle reduced from 2,491 KB to 452 KB (82% reduction)
106+
- Gzipped main bundle reduced from 532 KB to 118 KB (78% reduction)
107+
- Implemented lazy loading for 20+ pages
108+
109+
### Fixed
110+
- TypeScript compilation passes with no errors
111+
- All routes tested and working
112+
113+
## [1.0.0] - 2025-12-27
114+
115+
### Added
116+
- Initial release of STR4TUS - SourceLessNet
117+
- 15-platform ecosystem implementation
118+
- 7-token economic system
119+
- STR Browser with Web2/Web3 support
120+
- STR.TALK social network
121+
- Marketplace with multi-currency support
122+
- Blockchain Explorer and Playground
123+
- Token Explorer
124+
- P2P Network visualization
125+
- HostLess Database with encryption
126+
- Creator Studio with multiple modes
127+
- Content Studio for publishing
128+
- Domain Management system
129+
- Health Monitoring dashboard
130+
- IDE with project management
131+
- Admin Dashboard
132+
- IgniteHex integration
133+
- Supabase backend integration
134+
- Electron desktop app support
135+
136+
---
137+
138+
## Version Naming Convention
139+
140+
- **Major.Minor.Patch-Stage**
141+
- Stages: `alpha``beta``rc` → (stable release)
142+
- Example: `1.1.0-alpha`, `1.1.0-beta`, `1.1.0-rc.1`, `1.1.0`
143+
144+
---
145+
146+
© 2025 Sourceless™ - Alexandru Stratulat, Bogdan Iacob & SourceLess Team

0 commit comments

Comments
 (0)