spb/vquant Public MIT
VibeQuant — AI-powered institutional-grade financial intelligence platform.
TypeScript 84.3%
Python 11.7%
JavaScript 1.6%
CSS 1.5%
HTML 0.7%
1/*2 * =============================================================================3 * VibeQuant (vquant) — AI-Powered Financial Intelligence Platform4 * -----------------------------------------------------------------------------5 * File: client/src/config.ts6 *7 * Author: Simon-Pierre Boucher8 * Contact: contact@spboucher.ai9 * Website: https://www.spboucher.ai10 * Demo: https://www.vquant.ai11 * License: MIT (see LICENSE)12 *13 * Copyright © 2026 Simon-Pierre Boucher. All rights reserved.14 * =============================================================================15 */1617/**18 * Application Configuration19 * Manages environment-specific URLs and settings20 */2122// Determine the base URL based on environment23export const getBaseUrl = (): string => {24 if (typeof window !== 'undefined') {25 return window.location.origin;26 }27 return 'http://localhost:5000';28};2930// API base URL (same as base URL since API is served from same origin)31export const API_BASE_URL = getBaseUrl();3233// Application metadata34export const APP_CONFIG = {35 name: 'VQuant',36 fullName: 'VQuant Financial Intelligence Platform',37 domain: 'www.vquant.ai',38 description: 'Plateforme d\'analyse financière de niveau institutionnel propulsée par Claude AI',39 version: '2.0.0',4041 // Feature flags42 features: {43 pythonCustomCode: true,44 pdfDownload: true,45 sharing: true,46 exportData: true,47 multiSource: true,48 },4950 // API Endpoints (relative paths)51 endpoints: {52 chat: '/api/chat',53 share: '/api/share',54 generatePDF: '/api/generate-pdf',55 generateDOCX: '/api/generate-docx',56 download: '/api/download',57 },5859 // Limits60 limits: {61 maxToolsPerBatch: 5,62 maxPdfChars: 3000000, // 3M chars = ~750 pages63 maxQueryLength: 10000,64 },65};6667export default APP_CONFIG;68