# Giti (گیتی)

> Giti: every market in Iran and the world side by side, for analysts and for teams building on market data. A project by Alireza Babaei (علیرضا بابایی) on 01x.

Page: https://01x.ir/en/projects/giti
Language: English · Persian version: [https://01x.ir/projects/giti.md](https://01x.ir/projects/giti.md)
Site: 01x (https://01x.ir) · Last updated: 2026-10-20

- Group: Solo
- Field: Data and fintech
- Year: 2025 – now
- Status: In development
- Access: Private, private, no public address
- My part: Product design, architecture and full development, from raw data to the last screen of the panel
- Built by: [Alireza Babaei](https://01x.ir/en.md)

## About the project

**Every market in Iran and the world side by side, for analysts who want to read the market and teams that want to build on its data.**

Anyone who has worked with markets in Iran knows how scattered good data is. The dollar rate lives in one place, gold in another, the stock exchange on yet another site, and a clean history usually nowhere at all. I built Giti so those pieces finally sit together: currency, gold and coins, crypto, the Tehran Stock Exchange, global markets, commodities and country-level economic data, all in one shape and one language. It is the largest project I have built so far.

Giti serves two kinds of people. Analysts get a complete workspace: a personal dashboard, a watchlist, professional charts that save drawings and indicators to the account automatically, asset comparison, and a tool that prices any asset in terms of another, such as a gold coin in dollars or gold against the stock index. Engineering teams get a clean, documented API sold on subscription, where each plan sets its own usage limits, refresh speed and depth of history.

Data that is there one day and gone the next is no use to anyone. So every asset is wired to several sources. If one drops, Giti quietly moves to the next, sets the broken source aside and tries it again later on its own, and every one of those events is logged so it is always clear what happened. History is kept with the same care: fine-grained data is summarised into larger timeframes as it ages, and monthly and yearly data is never deleted. Giti already holds the Tehran Stock Exchange total index back to 1992.

From the start I did not want to touch code for every small change, so the admin panel runs almost everything. Adding a new data source needs no code; give Giti its address and it works out most of the structure by itself. Sellable API endpoints are built in the panel too, and previewed from the customer’s point of view before they go live. Plans, payment gateways, the SMS provider, caching, data retention and even the landing page content are all set across the panel’s 20 sections, with no redeploy.

With money and personal data involved, I treated security as part of the design from day one. Sign-in is passwordless, by SMS code, with limits that stop abuse. There are 49 permissions in 11 groups, and each one is checked inside every action rather than only at the door. Sensitive details such as national ID numbers are encrypted, API keys are stored only as hashes, and payments are built so two simultaneous clicks can never charge twice. To make sure none of this is just talk, I wrote tools that try every page under every role so that no permission slips through.

Giti is private and has no public link, so this page is only the part that can be shown; there is far more behind these frames. The screenshots come from the development build, running on real historical data. I have given the full launch at least a year, because I want infrastructure that stands for years, not a showcase that runs out of breath early.

In development. Full launch is at least a year away.

- **49** permissions in 11 groups
- **20** admin panel sections
- **46** database tables
- **10** candle timeframes

## Site sections

1. Landing and live markets
2. Asset ratio tool
3. World economic data
4. SMS code sign-in
5. User dashboard
6. Market explorer and professional charts
7. Watchlist, collections and comparison
8. API keys, usage and billing
9. API docs and OpenAPI
10. A 20-section admin panel

## Built with

- SvelteKit 2
- Svelte 5
- TypeScript
- Tailwind CSS 4
- Drizzle ORM
- PostgreSQL
- Neon
- Supabase
- PGlite
- Upstash Redis
- QStash
- GitHub Actions
- TradingView Advanced Charts
- LayerChart
- bits-ui
- Paraglide
- Zod
- OpenAPI 3
- AES-256-GCM
- Zibal
- ZarinPal
- Vercel

## Images

![The Giti landing page: a dotted world map with live asset prices pinned to it](https://01x.ir/img/projects/giti/hero.jpg)
The landing page: a world map where currency, gold, commodity and index prices move live.

![The live markets table with price, change and the day’s range](https://01x.ir/img/projects/giti/markets.jpg)
Live markets: currency, gold and coins, crypto, global markets and commodities, with the day’s range and prices in toman or rial.

![The ratio tool: an Emami coin priced in US dollars](https://01x.ir/img/projects/giti/ratio.jpg)
The ratio tool: any asset priced in any other, such as a gold coin in dollars or Bitcoin in ounces of gold.

![World economic data: inflation by country and the day’s biggest movers](https://01x.ir/img/projects/giti/world.jpg)
World economic data: annual inflation by country with a continent filter, the day’s biggest movers and major currency pairs.

![Sign in or sign up with a mobile number](https://01x.ir/img/projects/giti/login.jpg)
Passwordless sign-in: a mobile number and a one-time SMS code.

![The user dashboard: recent charts, watchlist, plan, usage and API key](https://01x.ir/img/projects/giti/dashboard.jpg)
The user dashboard: recent charts, the watchlist, the active plan, this month’s usage and the API key on one screen.

![The Tehran Stock Exchange total index in the professional charting engine](https://01x.ir/img/projects/giti/chart.jpg)
Professional charting on Giti’s own datafeed: the Tehran total index from 1992 to today. Drawings and indicators save to the account automatically.

![API key management with a sample request](https://01x.ir/img/projects/giti/api-keys.jpg)
API keys: only a preview of the key is stored, and the key itself is shown exactly once.

![The admin overview: users, subscriptions, revenue, requests, healthy sources and database size](https://01x.ir/img/projects/giti/overview.jpg)
The admin overview: users, active subscriptions, monthly revenue, today’s requests, healthy sources and database size against its cap.

![The role matrix with 49 permissions in 11 groups](https://01x.ir/img/projects/giti/roles.jpg)
Roles and permissions: 49 permissions in 11 groups, editable per role. The owner role is locked so the last owner can never be removed.

![Data sources with auto-connect, health and priority](https://01x.ir/img/projects/giti/sources.jpg)
Data sources: auto-connect to an API from its base address alone, scheduled health checks and a no-code adapter.

![Chart management with timeframe, data, access and actions](https://01x.ir/img/projects/giti/charts.jpg)
Chart management: import, sync, manual candle entry, export, ratio charts and plan-based access.

![The Basic, Pro and Enterprise subscription plans](https://01x.ir/img/projects/giti/plans.jpg)
Plans: request caps, refresh rate, historical depth and allowed endpoints, all set from the panel.

![Infrastructure and quotas: database, cache and auto-fetch](https://01x.ir/img/projects/giti/infra.jpg)
Infrastructure: caching, how long each kind of data is kept, the database cap and automatic updates, all without redeploying.

![The candle retention policy across timeframes](https://01x.ir/img/projects/giti/retention.jpg)
Retention: fine candles roll up into larger timeframes after a set time, and monthly and yearly candles are never deleted.

## Frequently asked

### What is Giti?

Every market in Iran and the world side by side, for analysts who want to read the market and teams that want to build on its data. Anyone who has worked with markets in Iran knows how scattered good data is. The dollar rate lives in one place, gold in another, the stock exchange on yet another site, and a clean history usually nowhere at all. I built Giti so those pieces finally sit together: currency, gold and coins, crypto, the Tehran Stock Exchange, global markets, commodities and country-level economic data, all in one shape and one language. It is the largest project I have built so far.

### Who built Giti?

Alireza Babaei. Contribution: Product design, architecture and full development, from raw data to the last screen of the panel.

### What is Giti built with?

SvelteKit 2, Svelte 5, TypeScript, Tailwind CSS 4, Drizzle ORM, PostgreSQL, Neon, Supabase, PGlite, Upstash Redis, QStash, GitHub Actions, TradingView Advanced Charts, LayerChart, bits-ui, Paraglide, Zod, OpenAPI 3, AES-256-GCM, Zibal, ZarinPal, Vercel.

### What sections does the Giti site have?

Landing and live markets, Asset ratio tool, World economic data, SMS code sign-in, User dashboard, Market explorer and professional charts, Watchlist, collections and comparison, API keys, usage and billing, API docs and OpenAPI, A 20-section admin panel.

### Does Giti have a public address?

This project is private and has no public address.

- Previous project: [Soundo](https://01x.ir/en/projects/soundo.md)
- Next project: [Gilas Beauty](https://01x.ir/en/projects/gilas-beauty.md)
- All projects: [https://01x.ir/en/projects.md](https://01x.ir/en/projects.md)
