How the-steelix-flame/kalakriti works
Kalakriti is an artisan business-management and market-linkage product: artisans capture and describe handmade goods, prepare and price listings, publish them, then manage orders and payments. The mobile app also supports offline capture, drafts, multilingual onboarding, group orders and logistics workflows. The backend provides image processing, commerce and operational services. Edges reflect the documented workflow and sampled code; several backend routes and client call sites were not sampled, so uncertain wiring is omitted.
Main entry points: main.py API application · pipeline.py Image pipeline · App.tsx App shell · GuidedCamera.tsx Guided capture
Components 26
Mobile app
- App shell
app/App.tsx - Home and products
app/src/screens/HomeTab.tsx - API client
app/src/lib/api.ts
Listing workflow
- Guided capture
app/src/screens/GuidedCamera.tsx - On-device vision
app/src/lib/vision.ts - Create listing
app/src/screens/Create.tsx - Draft persistence
app/src/lib/drafts.ts - Image pipeline
backend/pipeline.py - Image enhancement
backend/imaging.py - OCR and analysis
backend/vision.py - Pricing
backend/pricing.py
Commerce operations
- Marketplace publishing
backend/market.py - Seller readiness
backend/seller.py - Orders and reservations
backend/reservations.py - Logistics
backend/logistics.py - Wallet and payouts
backend/wallet.py - Buyer storefront
backend/storefront.py
Backend services
- API application
backend/main.py - Media storage
backend/media.py - Application database
backend/db.py
External services
- Language models
backend/llm.py - Sales channels
- Payment provider
- Courier services
Other components
- Artisan
- Buyer
Connections 25
- Artisan → App shell: uses
- App shell → Home and products: opens
- App shell → Guided capture: starts capture
- Guided capture → On-device vision: checks framing
- Guided capture → Draft persistence: saves draft
- Artisan → Create listing: describes product
- Create listing → API client: requests listing
- API client → API application: sends requests
- API application → Image pipeline: processes image
- Image pipeline → Image enhancement: enhances image
- Image pipeline → OCR and analysis: runs OCR and analysis
- OCR and analysis → Language models: requests analysis
- Image pipeline → Media storage: stores images
- API application → Pricing: calculates prices
- API application → Seller readiness: checks readiness
- API application → Marketplace publishing: publishes listings
- Marketplace publishing → Sales channels: publishes to channels
- API application → Buyer storefront: serves shop
- Buyer → Buyer storefront: browses products
- API application → Orders and reservations: manages orders
- API application → Logistics: handles shipping
- Logistics → Courier services: books and tracks
- API application → Wallet and payouts: handles payouts
- Wallet and payouts → Payment provider: initiates payment
- API application → Application database: persists records