Documentation

Ship something tonight.

From zero to deployed in five minutes. Promis.

โšก Quickstart

Install the CLI, log in, deploy. That's it.

1
Install the CLI
npm i -g tunisiacloud-cli
2
Log in & create a project
tc login tc init my-first-app
3
Deploy to tunis-1
tc deploy --region tunis-1 # โœ“ Live at https://my-first-app.tncloud.site

๐Ÿง  The SDK

One package for models, files, storage and agents.

import { TunisiaCloud } from "tunisiacloud"; const tc = new TunisiaCloud({ apiKey: process.env.TC_KEY }); // chat const res = await tc.ai.chat({ model: "tc-falcon-ar", messages: [{ role: "user", content: "ุดู†ูŠู‘ุฉ ุนุงุตู…ุฉ ุชูˆู†ุณุŸ" }] }); console.log(res.text); // "ุชูˆู†ุณ ุงู„ุนุงุตู…ุฉ!"

๐Ÿš€ Deploy a site

Point the CLI at a folder โ€” static sites, Node servers and functions are all detected automatically.

tc deploy ./dist --domain www.my-shop.tn # TLS issued ยท DNS verified ยท rollback ready

๐Ÿ—„๏ธ Storage

Provision NoSQL, SQL or object storage from the dashboard or CLI. All share one quota, all backed up daily.

tc storage create --type nosql --label orders tc storage query orders --find '{"status": "paid"}'

๐Ÿ”— Workflows

Compose steps โ€” model calls, web search, HTTP, human approval, mail โ€” into a graph and trigger it on a schedule.

{ "name": "morning-brief", "trigger": { "type": "schedule", "cron": "0 8 * * *" }, "steps": [ { "id": "search", "type": "web.search" }, { "id": "summar", "type": "model.generate" }, { "id": "send", "type": "mail.send" } ] }

Stuck? Talk to a human. ๐Ÿ‡น๐Ÿ‡ณ

Our support team answers in Arabic, French and English.

Contact support โ†’