[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111325":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":37,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":41,"discoverSource":42},111325,"fork","forkwiki\u002Ffork","forkwiki","The family tree of open-source code, and the tokens on it: trace any repo's lineage, trade project tokens, launch a repo's coin on pump.fun, earn $FORK.","https:\u002F\u002Fforks.wiki",null,"JavaScript",82,24,6,2,0,22,46.39,"MIT License",false,"main",true,[24,25,26,27,28,29,30,31,32,33,34,35,36],"data-visualization","forks","genealogy","github","graph","internet-culture","jupiter","memes","netlify","open-source","pump-fun","solana","vanilla-js","2026-11-06 13:14:16","2026-11-14 21:27:10","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Fmedia\u002Flogo.svg\" width=\"48\" alt=\"\">\n\n# forks\n\n### Every repository has a family tree. Some have tokens.\n\nType anything and watch the GitHub repositories it forked from grow into a graph — with the tokens on them: a project's own token, and coins launched here on pump.fun, whose creator fees go to the people who wrote the code.\n\n[![forks.wiki](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fforks.wiki-live-3fb950?style=flat-square&labelColor=0d1117)](https:\u002F\u002Fforks.wiki)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-21262d?style=flat-square&labelColor=0d1117)](LICENSE)\n[![No build](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fvanilla%20JS-no%20build-21262d?style=flat-square&labelColor=0d1117)](src)\n[![pump.fun](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcoins-pump.fun-d29922?style=flat-square&labelColor=0d1117)](#coins-on-repositories)\n[![$FORK](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F%24FORK-up%20to%2033%2C000-d29922?style=flat-square&labelColor=0d1117)](#fork)\n[![Tokens](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fproject%20tokens-29-4493f8?style=flat-square&labelColor=0d1117)](#the-terminal)\n[![X](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fx-%40wikifork-21262d?style=flat-square&labelColor=0d1117&logo=x)](https:\u002F\u002Fx.com\u002Fwikifork)\n\n\u003C\u002Fdiv>\n\n\u003Cimg src=\"docs\u002Fmedia\u002Fshot-home.png\" alt=\"forks.wiki: the $FORK box (up to 32,000 $FORK: X scan, five trials, invites, GitHub) above the opening graph, from git to forks — git\u002Fgit to bitcoin\u002Fbitcoin ($BTC), then litecoin and dogecoin, ethereum\u002Fgo-ethereum ($ETH), solana-labs\u002Fsolana ($SOL) to anza-xyz\u002Fagave and jito-solana ($JTO), and solana-foundation\u002Fanchor to pump-fun\u002Fpump-public-docs ($PUMP) to forkwiki\u002Ffork — with the tokens on the graph and their prices in the sidebar\" width=\"100%\">\n\n| | |\n|---|---|\n| **Trace** | type anything — a word, a project, `owner\u002Fname` — and get the line of real GitHub repositories it came from |\n| **Trade** | 100+ tokens — coins launched here, 29 project tokens, Solana's top and trending tokens — each with a terminal; you sign every trade in your own wallet |\n| **Launch** | one pump.fun coin per repository; its creator fees go, for good, to the people who wrote the code |\n| **Earn** | **$FORK**, pending: your X account read once, five trials, +2,000 a friend, +3,000 for connecting GitHub — and in **Season 0**, up to 1,000,000 for every coin you launch |\n\nFour pages, one look:\n\n| | |\n|---|---|\n| **[Graph](https:\u002F\u002Fforks.wiki)** | The $FORK box up top (what there is to earn, and where you stand), then a prepared graph — *from git to forks*: git → bitcoin → ethereum and solana → pump.fun → this repository — then anything you type. Every point is a real repository; project tokens sit on their repos in blue, coins launched here in amber. |\n| **[Market](https:\u002F\u002Fforks.wiki\u002Fmarket)** | **Trending on forks** on top: the coins launched here that trade, by volume over the last hour, then the day. Then one list with four tabs — **On forks** (first, in amber: the official $FORK, *not launched yet* until it is, then every coin launched here), **All**, **Projects** (29 project tokens, each matched to its GitHub organization) and **Top Solana** (Jupiter's top tokens by organic score) — live price, market cap, 24 h, volume, liquidity, bonding-curve progress. A small *Create new token* button by the title. |\n| **[Launch](https:\u002F\u002Fforks.wiki\u002Flaunch)** | Pick a repository, see who gets its creator fees, name the coin, buy at launch if you want, sign once. One coin per repository. |\n| **[Guide](https:\u002F\u002Fforks.wiki\u002Fguide)** | What everything is, the split, claiming, the terminal, $FORK, the commands. `\u002Finfo` in the box says it in short. |\n\nEvery coin has a terminal at `forks.wiki\u002Fcoin\u002F\u003Caddress>`: candles, trades, holders, the fee split, and buy\u002Fsell from your own wallet. Any Solana token with a live market opens there too, labelled as not from forks.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"68%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshot-coin.png\" alt=\"the terminal for $PUMP: logo, price, stats, candles from 1m to 1d, trades, and the buy\u002Fsell panel\">\u003C\u002Ftd>\n\u003Ctd width=\"32%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshot-phone.png\" alt=\"the home page on a phone: the $FORK box with Sign in with X and four tiles, then the graph\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"68%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshot-market.png\" alt=\"the market's project tokens: SOL, ORCA, RAY, JTO, PYTH, W, MET, KMNO with their logos, price, market cap, 24h change and volume\">\u003C\u002Ftd>\n\u003Ctd width=\"32%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshot-launch.png\" alt=\"the launch page: a repository's card and who gets its creator fees\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Csub>Screenshots from the test stand: prices, logos and coins there are stand data.\u003C\u002Fsub>\n\n## How a question becomes a tree\n\n```mermaid\nflowchart LR\n  q[\"anything you type\"] --> t[\"\u002Fapi\u002Ftrace\"]\n  t -- \"1 · free\" --> s[\"GitHub search\u003Cbr\u002F>candidates\"]\n  t -- \"2 · one call\" --> m[\"deepseek-flash\u003Cbr\u002F>thinking off · json\"]\n  t -- \"3 · one call\" --> g[\"GitHub GraphQL\u003Cbr\u002F>check every repo\u003Cbr\u002F>+ its top real forks\"]\n  g --> stage[\"the stage\"]\n  t -. \"asked before\" .-> c[(\"cache · a week\")]\n```\n\n1. **Candidates.** The server searches GitHub for what you typed.\n2. **One model call.** `deepseek-flash`, thinking off, answers in compact json: 8–14 repositories from the origin to your answer, with the interesting branches — famous forks, ports, rewrites, successors.\n3. **GitHub checks it.** One GraphQL call looks up every repository: what doesn't exist is dropped, duplicates merged, renamed repos get their current name, GitHub's own forks are marked, the origin's real parent is added above it, and notable real forks (≥ 100★) are hung on for free — up to 16 points.\n4. **The stage grows it.** Probes while it looks, then the line point by point, side branches as it passes, the answer ringed. Tap any point for its card: GitHub, its forks, the network graph, *trace from here*.\n\nStars, years, avatars and links come from GitHub, never from the model.\n\n## What a question costs\n\n| | |\n|---|---|\n| A new question | one `deepseek-flash` call · ~700 tokens in (mostly the same brief, billed at the cache-hit rate) · ~250 out · **a fraction of a cent** |\n| The same question again | **free** — answered from the CDN for a week |\n| GitHub | free with a token · one search + one GraphQL call per new question |\n| Abuse | new traces limited per IP (`FORKS_TRACES_PER_MIN`, default 8); DeepSeek is prepaid, so the balance is the cap |\n\n## Run it\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fforkwiki\u002Ffork.git && cd fork\nGITHUB_TOKEN=… FORKS_LLM_KEY=sk-… npm start   # http:\u002F\u002F127.0.0.1:5173\n```\n\nNo build step. `npm start` serves the page and runs every function in `netlify\u002Ffunctions` the way Netlify routes them. Only the coin launcher has dependencies (pump.fun's SDK and Solana's libraries): `npm install` once for it; without it everything else still runs.\n\n## Deploy\n\nThe page needs its functions, so deploy with the Netlify CLI or from Git — **not** by dragging a zip into Netlify (that uploads the page without the functions).\n\n```bash\nnpm install                   # the launch function's libraries, bundled from node_modules\nnpx netlify-cli login\nnpx netlify-cli link          # once: pick the site\nnpx netlify-cli deploy --prod\n```\n\nSet the environment variables in Netlify first, then deploy:\n\n| Variable | |\n|---|---|\n| `FORKS_LLM_KEY` | DeepSeek API key (any OpenAI-compatible API works with `FORKS_LLM_URL` \u002F `FORKS_LLM_MODEL`) |\n| `GITHUB_TOKEN` | fine-grained token, public repositories read-only |\n| `X_CLIENT_ID`, `X_CLIENT_SECRET`, `SESSION_SECRET`, `SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY`, `SITE_URL` | only for `\u002Ffreeforks` |\n| `SOLANA_RPC_URL` (+ `launch.treasury` in `src\u002Fconfig.js`) | coins on repositories and the terminal |\n| `PINATA_JWT` | coins on repositories: the logo and metadata go to public IPFS through [Pinata](https:\u002F\u002Fpinata.cloud) (pump.fun no longer takes uploads itself) |\n| `JUP_API_KEY` | optional: Jupiter without the keyless 0.5 requests\u002Fs limit |\n| `JUP_REFERRAL_ACCOUNT` | optional: forks' 0.5% on Jupiter trades — forks' Jupiter referral account (not a secret) |\n| `PINATA_GATEWAY` | optional: your Pinata gateway, asked first for IPFS logos |\n| `GITHUB_CLIENT_ID`, `GITHUB_CLIENT_SECRET` | optional: *connect GitHub* (a GitHub OAuth App, callback `\u002Fauth\u002Fgithub\u002Fcallback`) + `0005_github.sql` |\n\n`GET \u002Fapi\u002Fhealth` lists whatever is still missing; `GET \u002Fapi\u002Fchain` says whether the market and launch functions loaded the Solana SDKs (and on which Node). Step by step, in Russian: **[SETUP.ru.md](SETUP.ru.md)**.\n\n## $FORK\n\nThe $FORK box on the graph page, or `\u002Ffreeforks`:\n\n1. **Sign in with X.** upstream reads the account first — how long it has been on X, followers, posts, lists, verified — and forks it a one-time pending allocation. The page plays the reading back line by line, then the tokens fly up into the header.\n2. **Five trials**, one at a time, 9,000 together: follow, like, retweet, comment (each counted by the server five seconds after its link opens) and **quote the post with your fork card** (counted by the link to your quote: your handle, a post newer than your account, never counted twice).\n3. **Your fork**: a card drawn like a repository page — the commits that made your allocation, where it came from, your invite link as a clone URL. Copy it as a picture, quote on X, save it; then the Solana wallet.\n\n**Invite**: `forks.wiki\u002Fr\u002F\u003Chandle>`. +2,000 $FORK, pending, for every friend who signs in through your link and finishes three trials.\n\n**Connect GitHub** (optional, `\u002Fgithub`): +3,000 $FORK, once. GitHub's own OAuth with no scopes (the public profile only), done in `netlify\u002Ffunctions\u002Fauth-github.mjs`; the token is revoked at once. One GitHub per X account, for good; accounts younger than 30 days (`app_config 'github.min_age_days'`) don't count. It sits beside the six trials and never counts toward them or toward a referral.\n\nA trial's link opens in a new tab or the X app. If the page reloads meanwhile, it comes back to the trials and counts the one you opened (the server's clock started when you opened it); the graph grows once a visit, not on every reload.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshot-scan.png\" alt=\"the x scan in the demo: four lines read in — on x for 10 yrs +3,350, followers 21 +2,150, posts 1,465 +2,450, in lists 1 +250 — the total 8,200 $FORK, tokens flying up into the header\">\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshot-card.png\" alt=\"an example fork card (demo): forkwiki \u002F @forkwikis with a Fork button counting 21,550, the commits — read the x account +9,550, merge 6\u002F6 trials +10,000, grow 14 trees, invite 1 friend +2,000 — HEAD at 21,550 $FORK, an allocation bar, squares of 500, and git clone forks.wiki\u002Fr\u002Fforkwikis\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n**Season 0 — launch coins, earn $FORK.** A pool of 200,000,000 $FORK for the people who launch coins here: nothing for a coin created alone, +1,000 when it's live with a buy at launch, then +10,000 at $10K market cap, +20,000 at $30K, +50,000 when it migrates from the curve, +100,000 at $100K, +250,000 at $500K and +569,000 at $1M — up to 1,000,000 a coin, while the pool lasts. The launch counts for the X account signed in when it was sent, or for the one that later proves the launching wallet by signing a message with it; the buy at launch is recorded from the bundle the server built and the wallet signed (it lands with the coin or not at all). Market caps are measured by the server every 10 minutes (a scheduled function: the curve on the chain, or DexScreener's consensus price with $5K+ liquidity) and a milestone counts once seen twice, 10+ minutes apart; migrating is read from the chain. Three launch rewards a day per account, accounts younger than 30 days and forks' own wallet don't earn. The ladder lives in `season_tiers`, the pool in `seasons.pool`, the rules in `app_config` (`s1.*`) — `supabase\u002Fmigrations\u002F0006_season1.sql` → `0008_season0.sql`. The board: [forks.wiki\u002Flaunch#season](https:\u002F\u002Fforks.wiki\u002Flaunch#season).\n\n**The official $FORK** will live on this repository, `forkwiki\u002Ffork`: nobody but forks' treasury can launch a coin on it (`config.launch.reserved`), and until it's launched the market shows it as *not launched yet* — anything called $FORK elsewhere isn't it.\n\nAllocations are **pending**, never a balance. The X account and the post live in `src\u002Fconfig.js`; the amounts in the database — `tasks.reward` for the trials, `scan_lines()` and the `scan.*` \u002F `ref.*` knobs in `app_config`. Follow along: [@wikifork](https:\u002F\u002Fx.com\u002Fwikifork).\n\n## Coins on repositories\n\nEvery repository can have one coin, launched on [pump.fun](https:\u002F\u002Fpump.fun) from forks.wiki by anyone with a Solana wallet: `\u002Flaunch owner\u002Fname`, **launch a coin** on any point of a tree, or the chip under a tree. Coins show up on the trees as **$TICKER** next to their repositories; `\u002Fcoins` lists the newest.\n\nThe coin's **creator fees are split once, for good**, between the people behind the code and forks:\n\n| | | |\n|---|---|---|\n| the owner | 70% | a person's GitHub account; an organization's part goes to its top 5 people |\n| top contributors | 5% | the next two people by commits |\n| up the line | 10% · 3% · 2% | the owners of the repo it forked from, and the two above — GitHub's fork record first, upstream's traced line after |\n| forks | 10% | forks' wallet |\n\nPeople claim on pump.fun by signing in with GitHub; nobody has to sign up first. The launcher can **buy at launch** (up to 20 SOL), first, in the same bundle. Bots and organizations get nothing (pump.fun can't pay an organization). The server decides the split from GitHub and the line; the page never sends it.\n\nThe logo and the metadata JSON go to public IPFS first, through Pinata, the way pump.fun's own docs do it (`https:\u002F\u002Fipfs.io\u002Fipfs\u002F\u003Ccid>`). The launch is one Jito bundle of up to three transactions — GitHub fee accounts, `create_v2` + the fee-sharing config, then `update_fee_shares_v2`, which revokes the admin — so a coin never exists without its locked split. The server holds no wallet: the launcher's wallet signs and pays, the fresh mint key co-signs after it, and every byte is checked against what the server built. A coin is listed only after the server reads that split back from the chain. Not made or endorsed by the repositories' authors; not financial advice. Owners can ask to be left out (`launch_blocklist`).\n\n## The terminal\n\n| | |\n|---|---|\n| A coin still on its pump.fun curve | traded **on the curve**: the server builds the transaction with pump.fun's SDK, the wallet signs, the server checks it byte for byte and sends it |\n| Graduated coins, project tokens | traded **through Jupiter** (`\u002Fswap\u002Fv2\u002Forder` → `\u002Fexecute`); SOL itself against USDC |\n| Prices, market caps | DexScreener — the deepest pool among those priced where the market agrees (pools weighed by trade count, or Jupiter's price), so one broken pool can't skew it; coins it hasn't seen yet are priced from their curve |\n| Logos | Jupiter's token list, then DexScreener, then the project's GitHub avatar; logos on IPFS through `\u002Fapi\u002Fipfs\u002F\u003Ccid>` |\n| Trending, top | Jupiter's Tokens API: trending over 1 h, top by organic score over 24 h (verified or high organic activity, never flagged, with a logo); GeckoTerminal's trending pools if Jupiter doesn't answer |\n| Any other token | any Solana address with a live market opens in the terminal, labelled *not on forks* |\n| Candles, trades | GeckoTerminal (1m · 5m · 15m · 1h · 4h · 1d); a coin on its curve straight from the chain (the curve's own transactions) until GeckoTerminal has caught up |\n| Holders, balances, curve progress | our RPC |\n\n**forks' fee: 0.5%** on every trade made here and on the buy at launch (`config.trade.feeBps`). On a curve it's a SOL transfer to forks' treasury in the same transaction; through Jupiter it's Jupiter's referral fee (with `JUP_REFERRAL_ACCOUNT`; Jupiter keeps a fifth of it). The quote shows it before you sign. The server never holds a key and never decides an amount: the wallet signs what the page shows.\n\n## Inside\n\n```\nindex.html · market.html · coin.html · launch.html · guide.html     the pages\ncss\u002Fforks.css            one stylesheet: tokens (dark and light), every component\nsrc\u002F\n  prompt.js              upstream's brief and its json — shared by the server and the Claude artifact\n  brain.js               routing, which brain the page has, the GitHub-only fallback\n  stage.js               the growing tree\n  shell.js               the header, tabs, search, wallet menu and footer of every page\n  app.js · showcase.js   the graph page: the showcase, input, results, tokens on trees, the point card\n  market.js · coin.js    the market list; a coin's terminal: chart, trades, holders, buy\u002Fsell\n  launchpage.js          the launch page around the launch form\n  quest.js · config.js   \u002Ffreeforks, \u002Finvite and every public setting\n  card.js                your fork as a picture: drawn on a canvas, copied, quoted\n  launch.js · wallet.js  coins on repositories: the split, the logo, the launch; Solana wallets (Wallet Standard)\n  season.js              Season 0: the ladder, your coins, the top devs, linking a wallet by its signature\nnetlify\u002F\n  functions\u002Ftrace.mjs    one request → one answer: candidates, one model call, the check, the cache\n  functions\u002Frepos.mjs    GitHub for the fallback\n  functions\u002Fauth-*.mjs · api.mjs    sign in with X (and who invited you), connect GitHub, the trials\n  lib\u002Fgithub.mjs · lineage.mjs      GitHub GraphQL and search; proposal → tree of real repos\n  functions\u002Flaunch.mjs   the plan, the bundle, the status, the coins on a tree\n  functions\u002Fmarket.mjs   the market, one coin, candles, trades, holders, balances, quotes, trades\n  functions\u002Fipfs.mjs     IPFS logos through several gateways, images only, cached for good\n  functions\u002Fseason.mjs · season-tick.mjs · lib\u002Fseason.mjs    Season 0: the board, wallet links; every 10 minutes the market caps\n  lib\u002Fmarkets.mjs        DexScreener, GeckoTerminal, Jupiter (quotes, swaps, token logos, trending and top lists)\n  lib\u002Fsplit.mjs · chain.mjs         who gets the fees; IPFS (Pinata), pump.fun transactions, Jito, reading them back\nsupabase\u002Fmigrations\u002F     the database, closed to anon: 0001 → 0002 (scan) → 0003 (invites, trials) → 0004 (coins) → 0005 (GitHub) → 0006–0008 (Season 0)\nog\u002F                      link-preview cards, one per page (a new file name per version, so chats fetch the new one)\nfonts\u002F                   Anybody and JetBrains Mono, self-hosted (OFL)\ndocs\u002Fbrand\u002F              the X avatar (400, 800; a dark one too) and header (1500×500, 3000×1000), the pages they're drawn from, Mona Sans (OFL)\n```\n\nMore: [docs\u002FUPSTREAM.md](docs\u002FUPSTREAM.md) · [docs\u002FDESIGN_SYSTEM.md](docs\u002FDESIGN_SYSTEM.md) · [docs\u002FDECISIONS.md](docs\u002FDECISIONS.md) · [CHANGELOG.md](CHANGELOG.md)\n\n## License\n\n[MIT](LICENSE). Repository data comes from GitHub's API; forks links to every repository it shows.\n\nNot financial advice. forks is not affiliated with GitHub, pump.fun, Jupiter or the projects shown; project tokens belong to their projects.\n\n\u003Cdiv align=\"center\">\u003Cbr>\u003Cimg src=\"docs\u002Fmedia\u002Flogo.svg\" width=\"36\" alt=\"\">\u003Cbr>\u003Csub>\u003Ci>everything forks from something.\u003C\u002Fi>\u003C\u002Fsub>\u003C\u002Fdiv>\n","forkwiki\u002Ffork 是一个可视化开源项目谱系并集成加密代币交易功能的 Web 应用。它基于 GitHub 仓库的 fork 关系构建代码家谱图，支持输入任意项目名追溯其上游仓库 lineage；同时在图中叠加展示项目原生代币及通过 pump.fun 在该仓库名下发行的 meme 币，并提供链上交易终端（基于 Solana）与 $FORK 积分激励体系。项目采用纯 JavaScript 实现，无构建步骤，部署于 Netlify，强调去中心化归属与创作者收益分配。适用于开源文化研究、开发者社区激励、Web3 项目溯源及 Solana 生态 meme 币发现与交易场景。","2026-11-24 04:40:49","CREATED_QUERY"]