Public developer documentation for the TKAWEN platform — developer.tkawen.com.
The source for developer.tkawen.com — 17 reference pages covering the seven TKAWEN API pillars plus four official SDKs.
| Section | Pages |
|---|---|
| Getting started | Intro · API key in 60 seconds · Your first call |
| The seven pillars | Identity · Connect · Pay · Commerce · Knowledge · Logistics · Developer |
| SDKs | JavaScript / TypeScript · PHP / Laravel · Python · Go |
| Reference | Auto-generated |
Each pillar page includes: overview, quick-start curl, full endpoints table, pricing in USD, code samples in all four SDK languages, webhook list, SLA + rate limits.
Each SDK page includes: install, configuration, error handling, webhook verification, streaming, examples repo link, contributing.
| Layer | Choice |
|---|---|
| Framework | Astro 5 |
| Docs theme | Starlight 0.39 |
| Search | Pagefind (built-in, client-side) |
| Typography | Cairo (Arabic), JetBrains Mono (code) |
| Build output | Static HTML (no Node.js server in production) |
git clone https://github.com/tkawen/tkawen-developer-docs.git
cd tkawen-developer-docs
npm install
npm run dev
# → http://localhost:4321Production build:
npm run build
# → dist/ contains static HTML, served by any web serversrc/
├── content/docs/
│ ├── index.mdx # Splash homepage
│ ├── intro.md
│ ├── getting-started/
│ │ ├── api-key.md
│ │ └── first-call.md
│ ├── pillars/
│ │ ├── identity.md · connect.md · pay.md
│ │ ├── commerce.md · knowledge.md
│ │ ├── logistics.md · developer.md
│ ├── sdks/
│ │ ├── javascript.md · php.md
│ │ ├── python.md · go.md
│ └── reference/
├── styles/tkawen.css # Brand overrides for Starlight
└── assets/ # Logos, illustrations
astro.config.mjs # Starlight config + sidebar
Documentation improvements are always welcome. See CONTRIBUTING.md.
Especially welcome:
- Translations to French and Arabic (full pages, human-quality)
- Clarifications where the current wording is ambiguous
- Code sample improvements in any of the four SDK languages
- Reference accuracy — please open an issue if documented behaviour does not match actual API behaviour
The site builds to static HTML in dist/ and can be served by any web server. The production setup uses nginx on the TKAWEN VPS, with dist/ extracted to /var/www/developer.tkawen.com/.
This project adheres to a Contributor Covenant Code of Conduct.
See SECURITY.md.