Manifesto

F3 // The Logic Engine

F³ is the operating system for the next generation of builders. Whether you are building a simple landing page or an autonomous AI Agent swarm, F3 provides the Kernel.

For Muggles

Just drop an Excel file, choose a template, and your site is live. No code required. Use the Studio to edit visually.

For Hackers

Access the raw FFS runtime. Schedule background jobs. Connect multiple databases. Deploy via CLI with crypto-keys.

01. Routing & Hologram

F³ uses a hyper-fast file-system router mapping the www/ directory to URLs. Combined with Hologram, you can preview changes instantly without breaking production.

FILE STRUCTURE

  • www/index.html →   /
  • www/blog/[slug].html →  /blog/my-post
  • www/api/user.json →  /api/user

👻 HOLOGRAM MODE

Run f3 hologram to activate Hologram. F3 watches your local edits and pushes them to a temporary preview layer.

LIVE SYNC ACTIVE

Auto-Loading Data: Name a folder [table.column] to inject DB data directly into the context.

// URL: /profile/1 (mapped to www/[users.id]/)
<h1>{{ auto.default.users.username }}</h1>

02. Data Mesh

Forget monoliths. F³ implements a Data Mesh architecture. define schemas in schema/ to connect multiple data sources (SQLite, Postgres, Excel, CSV) simultaneously.

schema/crm.json (SQLite)
{ "config": { "adapter": "better-sqlite3" }, "users": { "name": "string" } }
schema/finance.json (Excel)
{ "config": { "adapter": "xlsx" }, "costs": { "amount": "number" } }

Cross-Database Querying in F3Script:

// Join SQLite Users with Excel Costs
{{
db.crm.users.get().map(u => {
const cost = db.finance.costs.first({ user_id: u.id });
return element.ui.row({ user: u.name, total: cost.amount });
})
}}

03. Scheduler & Actions

F³ is an operating system. Use the Temporal Core to schedule background tasks, cron jobs, and event-driven workflows. All tasks are persisted in a Write-Ahead Log (WAL) for 100% reliability.

A. Defined Cron

Edit events.json to map Cron expressions to Action files.

{ "cron:0 9 * * 1": "weekly_report", "db:users:insert": "send_welcome" }

B. Dynamic Scheduling

Schedule one-off tasks from your code. Perfect for AI Agents and drip campaigns.

// Schedule a task 30 minutes from now

call.schedule.in("30m", "check_payment", {
userId: data.user.id
})

The Action File

Located in actions/check_payment.html. Invisible to the web.


const paid = await call.stripe.check(event.data.userId);
if (!paid) db.crm.users.update({ id: event.data.userId }, { status: 'suspended' });

[LOG] Checked payment for {{ event.data.userId }}. Result: {{ paid }}

04. Skills (Plugins)

In F³, we don't install messy npm packages. We equip Skills. Skills are secure, sandboxed capabilities that run in the F³ Cloud Kernel.

Safe

Cannot crash your server or access system files.

Managed

No updates to manage. We maintain the core skills.

Connected

Instant access to Stripe, AI, Mailgun, and S3.

Usage in F3Script

// Access via 'skill' namespace

// Generate text with Gemini AI Skill
{{ skill.gemini.generate("Write a tagline") }}

// Charge card with Stripe Skill
{{ skill.stripe.checkout({ amount: 5000 }) }}
Note: Enable skills in your host.json file under the "plugins" array.