Skip to content

sabledattatray/Noxfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

114 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Noxfolio

The Autonomous Revenue Infrastructure for Enterprise SaaS


πŸ–ΌοΈ Visual Showcase

The Interactive Control Center

Noxfolio Dashboard

Premium dark-mode dashboard with real-time revenue analytics and glassmorphism.

Autonomous AI Intelligence

AI Agents Demo

Live demonstration of autonomous agents scanning for revenue risks and optimizing churn.


πŸ”₯ Why Noxfolio?

The SaaS billing landscape is broken. You're either stuck with basic checkout buttons or complex enterprise monsters that take 6 months to integrate.

Noxfolio bridges the gap:

  • Autonomous: AI doesn't just show data; it acts on it.
  • Open Core: Full transparency with an MIT core.
  • Enterprise Ready: SOC2-compliant audit trails and RBAC out of the box.
  • DX Focused: Documentation that developers actually like to read.

πŸ—οΈ System Architecture

Noxfolio is engineered for high-availability and extreme observability.

graph TD
    User((User/Client)) --> FE[Next.js 15 Frontend]
    FE --> API[Next.js Server Actions / API]
    API --> DB[(PostgreSQL / Drizzle)]
    API --> Redis[(Redis / BullMQ)]
    
    subgraph "Autonomous Intelligence"
        Redis --> AI[AI Agent Worker]
        AI --> OpenAI[OpenAI Engine]
        AI --> Guard[Revenue Guard]
        AI --> Optimus[Growth Optimus]
    end
    
    subgraph "External Orchestration"
        API --> Stripe[Stripe / Razorpay]
        API --> Auth[Next-Auth / Session]
    end
    
    DB -.-> Audit[Immutable Activity Ledger]
Loading

πŸ’Ž Core Features

Feature Community (OSS) Pro / Enterprise
Billing Core βœ… βœ…
Multi-tenancy (RBAC) βœ… βœ…
API Key Management βœ… βœ…
Interactive Dashboard βœ… βœ…
Activity Audit Trail ⚠️ (Basic) βœ… (Full)
Autonomous AI Agents ❌ βœ…
Predictive Analytics ❌ βœ…
SLA & Priority Support ❌ βœ…

⚑ Performance Benchmarks

Noxfolio is optimized for the Edge.

  • Lighthouse Performance: 98/100
  • API Latency (P99): < 45ms
  • Database Query Time: < 12ms (Optimized with Drizzle)
  • Background Job Throughput: 5,000+ tasks/sec (Redis/BullMQ)
  • First Contentful Paint: 0.4s

πŸ“– Developer Interface (API)

Noxfolio is API-First. Integrate with your existing systems in seconds.

# Retrieve real-time usage metrics
curl -X GET https://api.noxfolio.com/v1/billing/usage \
  -H "Authorization: Bearer YOUR_API_KEY"
# Initialize a new customer identity
curl -X POST https://api.noxfolio.com/v1/customers/create \
  -H "Content-Type: application/json" \
  -d '{
    "email": "jane@company.com",
    "name": "Jane Doe",
    "metadata": { "workspace_id": "ws_99" }
  }'

πŸ› οΈ Infrastructure & Scaling

1. Connection Singleton

In high-concurrency environments, database connection leaks are fatal. Noxfolio implements a strict Singleton Pattern for the Drizzle client to ensure stable pooling even under heavy load.

2. Event-Driven Workflow

All non-critical tasks (Invoicing, AI Analysis, Webhooks) are offloaded to BullMQ. This ensures your user-facing API remains snappy while the heavy lifting happens in isolated workers.

3. Immutable Observability

Every high-privilege event is logged in our Audit Ledger. This provides the "Observability Hub" needed for SOC2 compliance and enterprise security audits.


πŸš€ Quick Start

Local Development

# 1. Clone and install
git clone https://github.com/sabledattatray/Noxfolio.git
pnpm install

# 2. Setup Environment
cp .env.example .env

# 3. Spin up Infrastructure
docker-compose up -d

# 4. Launch
pnpm dev

Production (Docker)

docker build -t noxfolio .
docker run -p 3000:3000 noxfolio

🀝 Contributing

We love contributors! Please see our Contribution Guide to get started.


πŸ“„ License

This project is licensed under the MIT License.

About

The Autonomous Revenue OS for Enterprise SaaS. Built with Next.js 15, PostgreSQL, Redis, and AI-driven growth agents.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages