تخطَّ إلى المحتوى

Template Marketplace

هذا المحتوى غير متوفر بلغتك بعد.

Templates are full-stack app packages you can install in one command. Each one includes a Postgres schema, Hasura metadata, seed data, and an optional Flutter starter app.

Browse at nself.org/templates or from the CLI.

Terminal window
nself init --template saas-starter ./my-app

The CLI downloads the template from the registry, verifies the SHA256 checksum, and extracts it into ./my-app. Then install the required plugins and start:

Terminal window
cd my-app
nself plugin install auth notify cms
nself start
Terminal window
nself template list
nself template list --category saas
nself template list --free
nself template info saas-starter

Some templates cost a one-time fee. They require an active ɳSelf+ license:

Terminal window
nself license set nself_pro_<your-key>
nself init --template marketplace-starter ./shop

Every template ships a template.yml at its root:

slug: saas-starter
display_name: SaaS Starter
description: Multi-tenant SaaS with billing, auth, and dashboard
version: "1.2.0"
price_usd: 0
category: saas
required_plugins:
- auth
- notify
- cms
preview_url: https://saas-starter-demo.nself.org
cli_min_version: "1.0.9"

After installing a template, apply incremental schema migrations when the template author releases an update:

Terminal window
nself template update --dry-run # preview pending migrations
nself template update # apply additive migrations
nself template update --force # allow destructive migrations (with confirmation)

Package your project as a template and earn 80% revenue share on paid templates.

  1. Create template.yml at your project root.
  2. Build the tarball:
Terminal window
tar -czf dist/my-template.tar.gz schema/ metadata/ seed/ flutter/
  1. Validate and prepare for submission:
Terminal window
nself template publish --tarball dist/my-template.tar.gz
  1. Complete submission at nself.org/developers/templates.

Free templates are MIT licensed and approved within 1 business day. Paid templates go through a manual review (1–3 days) and require a KYC-approved author account.

CategoryExamples
saasMulti-tenant apps with billing and auth
marketplaceTwo-sided marketplaces with seller payouts
socialCommunity forums, family networks, chat apps
productivityTeam tools, task managers, dashboards
mediaMedia servers, IPTV, podcast platforms
ecommerceProduct catalogs, shopping carts, order management