Skip to content

Cryplo/Syllog

Repository files navigation

Syllog

Syllog is a no-code visual strategy builder for prediction markets. The repo has a Next.js frontend in frontend/ and a Go backend in backend/.

Supported live backend logic includes comparison nodes plus boolean combiners such as AND, OR, and XOR, so compound entry conditions can be expressed directly in the strategy graph before feeding action nodes.

What exists today

  • marketing site at /
  • authenticated strategy workspace at /builder
  • strategy CRUD, profile, credential, deploy, run-history, and log APIs in the Go backend
  • PostgreSQL persistence for saved graphs, deployments, runs, and logs
  • live market integrations for Kalshi and Polymarket through frontend proxy routes and hooks
  • an in-process runtime that can execute a subset of the frontend node presets

The frontend preset library is still broader than the backend execution layer. Do not assume every node you can place in the builder is deployable.

Stack

  • Next.js 16 App Router
  • React 19
  • TypeScript
  • Tailwind CSS 4
  • @xyflow/react
  • Supabase SSR/browser auth
  • Go 1.26
  • PostgreSQL via pgx

Local development

Frontend:

cd frontend
npm install
npm run dev

Backend:

cd backend
go test ./...
go run ./cmd/server

Required backend env

  • SUPABASE_URL or NEXT_PUBLIC_SUPABASE_URL
  • DATABASE_URL
  • ENCRYPTION_KEY as base64-encoded 32 bytes

Useful optional env:

  • NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY
  • SUPABASE_SECRET_KEY
  • NEXT_PUBLIC_BACKEND_URL
  • SUPABASE_JWT_SECRET
  • FRONTEND_URL
  • PORT
  • KALSHI_BASE_URL

Docs

  • Repo operator guide: AGENT.md
  • Frontend notes: frontend/README.md

About

W26 V1 Product Studio Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages