Skip to content

ggforces/sirius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sirius - Steam Otomasyon

Steam hesap yönetimi ve FarmLabs entegrasyonu.

Özellikler

  • JWT authentication
  • Steam hesap yönetimi (şifrelenmiş)
  • FarmLabs API entegrasyonu (şifrelenmiş)
  • Kazanç takibi ve grafikler
  • Çoklu dil (TR/EN)
  • Rate limiting
  • Docker desteği
  • Winston logging (structured logging with daily rotation)
  • Sentry error tracking (real-time error monitoring)
  • Admin Panel (user management, system monitoring, real-time logs)

Kurulum

Development

npm install
npm run dev

Production

docker-compose up -d --build

Detaylı kurulum: SETUP.md

Admin Panel

Admin kullanıcı oluşturma:

npm run create-admin admin@example.com SecurePassword123

Admin panel: http://localhost:5050/panel/admin

Detaylı admin guide: ADMIN_PANEL_GUIDE.md

Teknolojiler

  • Node.js 20
  • Express.js
  • SQLite
  • Docker
  • Cloudflare Tunnel

API Endpoints

Auth

  • POST /api/auth/register - Kayıt
  • POST /api/auth/login - Giriş
  • POST /api/auth/logout - Çıkış
  • GET /api/auth/me - Kullanıcı bilgisi

FarmLabs

  • POST /api/farmlabs/api-key - API key kaydet
  • GET /api/farmlabs/api-key - API key getir
  • POST /api/farmlabs/sync - Drop'ları senkronize et
  • GET /api/farmlabs/stats - İstatistikler

Steam Accounts

  • GET /api/accounts - Hesapları listele
  • POST /api/accounts - Hesap ekle
  • PUT /api/accounts/:id - Hesap güncelle
  • DELETE /api/accounts/:id - Hesap sil

Earnings

  • GET /api/earnings - Kazançları getir
  • GET /api/earnings/weekly - Haftalık kazançlar

Environment Variables

NODE_ENV=production
PORT=5050
JWT_SECRET=<64-byte-hex>
ENCRYPTION_KEY=<32-byte-hex>
CORS_ORIGIN=https://sonsuz.dev
DB_PATH=./database.sqlite
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100

# Logging
LOG_LEVEL=info
LOG_DIR=./logs

# Sentry (optional)
SENTRY_DSN=https://xxxxx@xxxxx.ingest.sentry.io/xxxxx

Detaylı logging guide: LOGGING_GUIDE.md

Güvenlik

  • Güvenlik Skoru: 8.5/10
  • AES-256-CBC şifreleme
  • bcrypt password hashing
  • JWT authentication
  • Rate limiting
  • Input validation
  • Helmet security headers

Lisans

Özel proje.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors