Skip to content
algvex-web logo

Algvex Website Management

algvex-web

Manage and deploy the Algvex website for AItrader. 管理和部署 Algvex 网站。 Use this skill when: - Deploying or updating the Algvex website (部署或更新网站) - Configuring the web frontend or backend (配置前端或后端) - Managing Google OAuth setup (管理 Google OAuth 设置) - Troubleshooting website issues (排查网站问题) - Adding ...

SKILL.md

Full skill instructions

Algvex Website Management

Web interface for AItrader trading system at algvex.com.

Architecture

                    Caddy (HTTPS)
                    algvex.com:443
                        │
            ┌───────────┴───────────┐
            │                       │
        Frontend                Backend
        (Next.js)              (FastAPI)
      localhost:3000         localhost:8000

Key Information

ItemValue
Domainalgvex.com
Server139.180.157.152
FrontendNext.js 14 + TypeScript
BackendFastAPI + Python 3.11
DatabaseSQLite
AuthGoogle OAuth
Install Path/​home/​linuxuser/​algvex

Directory Structure

/​home/​linuxuser/​algvex/
├── backend/           # FastAPI backend
│   ├── main.py
│   ├── .env           # Configuration
│   └── algvex.db      # SQLite database
├── frontend/          # Next.js frontend
│   ├── .next/         # Build output
│   └── pages/         # Page components
└── deploy/            # Deployment configs

Deployment Commands

Full Deployment

cd /​home/​linuxuser/​nautilus_AItrader/​web/​deploy
chmod +x setup.sh
./​setup.sh

Restart Services

sudo systemctl restart algvex-backend algvex-frontend caddy

Check Status

sudo systemctl status algvex-backend
sudo systemctl status algvex-frontend
sudo systemctl status caddy

View Logs

# Backend logs
sudo journalctl -u algvex-backend -f

# Frontend logs
sudo journalctl -u algvex-frontend -f

# Caddy logs
sudo journalctl -u caddy -f

Configuration

Backend Environment (/​home/​linuxuser/​algvex/​backend/​.env)

# Required
SECRET_KEY=your-secure-key
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
[email protected]

# AItrader Integration
AITRADER_PATH=/​home/​linuxuser/​nautilus_AItrader
AITRADER_CONFIG_PATH=/​home/​linuxuser/​nautilus_AItrader/​configs/​base.yaml
AITRADER_SERVICE_NAME=nautilus-trader

Google OAuth Setup

  1. Go to https://console.cloud.google.com/apis/credentials
  2. Create OAuth 2.0 Client ID
  3. Add redirect URI: https://algvex.com/​api/​auth/​callback/​google
  4. Copy credentials to .env

API Endpoints

Public (No Auth)

EndpointDescription
/​api/​public/​performanceTrading stats
/​api/​public/​social-linksSocial links
/​api/​public/​copy-tradingCopy trading links
/​api/​public/​system-statusBot status

Admin (Auth Required)

EndpointDescription
/​api/​admin/​configStrategy config
/​api/​admin/​service/​controlService control
/​api/​admin/​social-links/​*Manage links

Caddy Configuration

Located at /​etc/​caddy/​Caddyfile:

algvex.com {
    handle /​api/​* {
        reverse_proxy localhost:8000
    }
    handle {
        reverse_proxy localhost:3000
    }
}

Common Issues

IssueSolution
HTTPS not workingCheck DNS, wait for Let's Encrypt
502 Bad GatewayRestart backend/​frontend services
OAuth callback errorVerify redirect URI in Google Console
Config not updatingRestart algvex-backend

Key Files

FilePurpose
web/​backend/​main.pyBackend entry point
web/​frontend/​pages/​index.tsxHomepage
web/​frontend/​pages/​admin/​index.tsxAdmin panel
web/​deploy/​CaddyfileReverse proxy config
web/​deploy/​setup.shDeployment script

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View