FastStart is a Registry for reusable code snippets with email and embeddings utilities.
- POST
/api/key- Generate FastStartKey- Body:
{fastStartName: string} - Auth: None
- Body:
- GET
/api/database- List packages- Query:
{name?: string, author?: string, type?: string, limit?: number, offset?: number} - Auth: None
- Query:
-
POST
/api/database- Sync to GitHub- Body:
{name: string} - Auth: FastStartKey
- Body:
-
PUT
/api/database- Create/update package- Body:
{name: string, fastStart: string, author: string, type: string, versions?: string[]} - Auth: FastStartKey
- Body:
-
DELETE
/api/database- Remove from both DB and GitHub- Body:
{name: string} - Auth: FastStartKey
- Body:
-
GET
/api/packages- List packages- Query:
{fastStartName?: string, type?: string, author?: string, url?: string, version?: string} - Auth: None
- Query:
-
PUT
/api/packages- Add/update package- Body:
{name: string, fastStart: string, versions: string[], type: string, author: string} - Auth: FastStartKey
- Body:
-
DELETE
/api/packages- Remove package- Query:
{name: string} - Auth: FastStartKey
- Query:
- POST
/api/starts- Search packages/authors- Body:
{limit?: number, offset?: number, type?: "faststart" | "author", scope?: string} - Auth: None
- Body:
- GET
/api/files- Get package content- Query:
{fastStart: string}(supports versioning and direct URLs with!prefix) - Auth: None
- Query:
-
GET
/api/utils/email- Preview templates- Query:
{template: "verify-email" | "reset-password-email" | "welcome-email" | "newsletter-email"} - Auth: None
- Query:
-
POST
/api/utils/email- Send emails- Body:
{templateName: string, recipients: EmailRecipient[], subject?: string, content?: string[], text?: string, sender?: EmailSender, data?: EmailData}- EmailRecipient:
{username: string, email, string;} - EmailSender:
{name?: string, email?: string, user?: string, app_password?: string} - EmailData:
{companyName?: string, verificationCode?: string, resetPasswordCode?: string, cta?: { text: string, url: string } }
- EmailRecipient:
- Auth: None
- Body:
- POST
/api/utils/embeddings- Generate embeddings- Body:
{text: string} - Auth: None
- Body:
-
GET
/api/registry- Get registry data- Query:
{action?: "getRegistry"} - Auth: Admin, No public testing for security purpose
- Query:
-
PUT
/api/registry- Update registry- Body:
{action: "updateRegistry", registry: object, sha: string} - Auth: Admin, No public testing for security purpose
- Body:
-
DELETE
/api/registry- Remove package- Query:
{packageName: string} - Auth: Admin, No public testing for security purpose
- Query:
- Generate scope key:
POST /api/keywith{"fastStartName": "@org"} - Generate package key:
POST /api/keywith{"fastStartName": "@org/package"}+ scope key auth - Use package key for operations
!prefix bypasses registry:"fastStart": "!https://example.com/file.js"- Standard: appends version/extensions
- Direct: fetches exact URL
- Database: 100 results max, use offset for pagination
- GitHub: Rate limited, changes may delay
- Email: No built-in limits
- None: Public
- FastStartKey: Package-specific
- Admin: Registry secret
- Scope: For @org/package
Enfiniq - Routes, Utils, project Setup, email route, embeddings route, database route, files route, starts route AI - Error, templates and Response Messages