Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cycls.ai CMS

Cloudflare Worker that serves the cycls.ai Agents collection as a public REST API.

Content is managed manually in src/agents.ts — edit that file and deploy.

Live: https://cms.cycls.ai

Endpoints

Method Path Description
GET /agents List all agents
GET /agents/:slug Get agent by slug

Response shape

{
  "id": "f7G8U77EM",
  "slug": "haseef",
  "title": "Haseef",
  "title_ar": "حصيف",
  "categories": ["legal"],
  "tags": ["legal", "saudi-law", "research"],
  "tag1": "legal",
  "tag2": "saudi-law",
  "tag3": "research",
  "description": "Specialized legal assistant for...",
  "description_ar": "مساعد قانوني متخصص...",
  "link": "https://haseef.cycls.ai/",
  "icon": "https://framer.com/m/Haseef-1plJjA.js",
  "icon_svg": "<svg ...>...</svg>"
}

Managing content

All agents live in src/agents.ts as a typed array — this is the single source of truth.

  1. Edit src/agents.ts (add, remove, or update an agent)
  2. npm run deploy

Each agent needs a unique slug. Arabic fields (title_ar, description_ar) and icon / icon_svg are optional.

Development

npm install
npm run dev
# http://localhost:8787/agents

Deploy

npm run deploy

Stack

About

Cloudflare Worker proxy for cycls.ai Framer CMS Agents collection

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages