|
1 | | -# Startup India Guide |
| 1 | +<div align="center"> |
2 | 2 |
|
3 | | -**A searchable, filterable documentation site for the Government of India's _Playbook of Government Schemes and Initiatives for Startups_ (June 2026).** |
| 3 | +# startup-india-guide |
4 | 4 |
|
5 | | -69 central government schemes — grants, equity, loans, credit guarantees, incubation and market access — extracted from the official playbook PDF, machine-verified against the source, and organised the way a founder actually looks for money: by need, by stage, by sector. |
| 5 | +**Every central government scheme for Indian startups — one searchable, comparable, verified documentation site.** |
| 6 | + |
| 7 | +The Government of India's 107-page *Playbook of Government Schemes and Initiatives for Startups* (June 2026), rebuilt as a docs site: 69 schemes with verbatim eligibility, benefits and official links, organised the way a founder actually looks for money — by need, by stage, by sector. |
| 8 | + |
| 9 | +[**Live site**](https://fritzhand.github.io/startup-india-guide/) · [**Scheme Finder**](https://fritzhand.github.io/startup-india-guide/finder.html) · [**All 69 schemes**](https://fritzhand.github.io/startup-india-guide/directory.html) · [**Compare**](https://fritzhand.github.io/startup-india-guide/compare.html) |
| 10 | + |
| 11 | +[](https://github.com/fritzhand/startup-india-guide/generate) |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +<br> |
| 20 | + |
| 21 | +<a href="https://fritzhand.github.io/startup-india-guide/"><img src=".github/screenshots/hero-home.png" alt="The playbook site's home page — hero, stats, and browse-by-support cards" width="840"></a> |
| 22 | + |
| 23 | +*The home page. Palette sampled from the source PDF's own navy, saffron and green.* |
| 24 | + |
| 25 | +</div> |
| 26 | + |
| 27 | +## What it looks like |
| 28 | + |
| 29 | +Four views from the [live site](https://fritzhand.github.io/startup-india-guide/) — dark home, the filterable directory, a scheme one-pager, the finder's results. Light/dark theme, ⌘K search, and mobile-first layout throughout. |
| 30 | + |
| 31 | +| | | |
| 32 | +| --- | --- | |
| 33 | +|  |  | |
| 34 | +|  |  | |
6 | 35 |
|
7 | 36 | ## What's on the site |
8 | 37 |
|
9 | 38 | | Page | What it does | |
10 | 39 | | --- | --- | |
11 | | -| **Overview** (`index.html`) | Stats, browse-by-support / stage / sector, flagship schemes | |
12 | | -| **Scheme Finder** (`finder.html`) | The playbook's official 5-question decision tree as an interactive wizard, plus the full static tree | |
13 | | -| **All schemes** (`directory.html`) | Filter all 69 schemes by part, support type, lifecycle stage, sector and audience — card or table view, deep-linkable filters (`?support=grant&stage=ideation`) | |
14 | | -| **Scheme pages** (`schemes/<slug>.html`) | One page per scheme: plain-English summary, objectives, eligibility checklist, benefits, how to apply, verified official links, related schemes, source page citation | |
15 | | -| **Compare** (`compare.html`) | Up to three schemes side by side | |
16 | | -| **Lifecycle Map** (`lifecycle.html`) | Which schemes fit ideation → prototype → seed → growth → market access | |
17 | | -| **What do you need?** (`needs.html`) | Jump from a need (grant / loan / lab / buyers / IP) to the schemes that provide it | |
18 | | -| **PSU & regulators** (`psu.html`) | 17 startup programs run by PSUs and regulators | |
19 | | -| **States & UTs** (`states.html`) | Every state/UT startup portal | |
20 | | -| **Glossary** (`glossary.html`) | The playbook's definitions and abbreviations | |
| 40 | +| [Overview](https://fritzhand.github.io/startup-india-guide/) | Stats, browse by support / stage / sector, flagship schemes | |
| 41 | +| [Scheme Finder](https://fritzhand.github.io/startup-india-guide/finder.html) | The playbook's official 5-question decision tree as an interactive wizard | |
| 42 | +| [All schemes](https://fritzhand.github.io/startup-india-guide/directory.html) | Filter 69 schemes by part, support type, stage, sector, audience — cards or table, deep-linkable (`?support=grant&stage=ideation`) | |
| 43 | +| Scheme pages | One per scheme: plain-English summary, eligibility checklist, benefits, how to apply, verified official links, related schemes, source-page citation | |
| 44 | +| [Compare](https://fritzhand.github.io/startup-india-guide/compare.html) | Up to three schemes side by side | |
| 45 | +| [Lifecycle Map](https://fritzhand.github.io/startup-india-guide/lifecycle.html) | Ideation → prototype → seed → growth → market access | |
| 46 | +| [What do you need?](https://fritzhand.github.io/startup-india-guide/needs.html) | From a need (grant / loan / lab / buyers / IP) to the schemes that provide it | |
| 47 | +| [PSU & regulators](https://fritzhand.github.io/startup-india-guide/psu.html) · [States & UTs](https://fritzhand.github.io/startup-india-guide/states.html) | 17 PSU/regulator programs; every state startup portal | |
| 48 | +| [Glossary](https://fritzhand.github.io/startup-india-guide/glossary.html) · [About](https://fritzhand.github.io/startup-india-guide/about.html) | Definitions, abbreviations, disclaimer, method | |
| 49 | + |
| 50 | +## How it works |
| 51 | + |
| 52 | +``` |
| 53 | +Startup-Schemes-Playbook-June-2026.pdf the source document |
| 54 | + │ |
| 55 | + │ extract (text + page images) → parse → adversarially verify |
| 56 | + ▼ |
| 57 | +data/*.json the content: 69 schemes, decision tree, |
| 58 | + │ lifecycle, needs index, PSU/states, glossary |
| 59 | + + |
| 60 | +site/tokens.css + site.css + site.js the skin (PDF-sampled palette) + engine |
| 61 | + │ |
| 62 | + │ node build.mjs zero dependencies, fails loudly |
| 63 | + ▼ |
| 64 | +docs/ → GitHub Pages 80 static pages, ⌘K search, no runtime deps |
| 65 | +``` |
21 | 66 |
|
22 | | -Site-wide: **⌘K / `/` search** across schemes, glossary, states and PSU programs · **light/dark theme** with system default · mobile-first responsive layout · print-friendly scheme pages · zero runtime dependencies. |
| 67 | +1. **Extract** — every PDF page rendered to text *and* image; scheme one-pagers parsed to structured JSON; hyperlinks taken from the PDF's link annotations, never retyped. |
| 68 | +2. **Verify** — an independent pass re-reads each source page and corrects amounts, bullets and URLs before anything ships. |
| 69 | +3. **Build** — `build.mjs` turns `data/` + `site/` into `docs/`: directory, wizard, compare, search index, sitemap, per-scheme pages. |
| 70 | +4. **Deploy** — pushing to `main` publishes `docs/` to the `gh-pages` branch via the included workflow. |
23 | 71 |
|
24 | | -## Enable GitHub Pages |
| 72 | +## Use this as a template |
25 | 73 |
|
26 | | -The generated site lives in `docs/`. To publish it: |
| 74 | +The engine is content-agnostic: it turns any structured reference corpus — a scheme catalogue, a benefits handbook, an internal policy binder — into this site. Click **[Use this template](https://github.com/fritzhand/startup-india-guide/generate)**, then: |
27 | 75 |
|
28 | | -1. Repo **Settings → Pages** |
29 | | -2. Source: **Deploy from a branch** |
30 | | -3. Branch: **`gh-pages`**, folder **`/` (root)** — already set up; the `Publish site to gh-pages` workflow refreshes it on every push to `main` |
31 | | -4. Save — the site appears at `https://<user>.github.io/startup-india-guide/` |
| 76 | +1. **Point it at your home.** Edit `site.config.json` — `siteName`, `siteBase`, `pathPrefix`, `repo`. |
| 77 | +2. **Bring your content.** Replace `data/*.json` (schemes, decision tree, lifecycle, needs index, glossary). The shapes are plain and documented by example; `data/aliases.json` resolves any cross-reference spellings. |
| 78 | +3. **Wear your brand.** `site/tokens.css` is the only file that knows the palette — light and dark themes, ~60 custom properties. |
| 79 | +4. **Build & publish.** `node build.mjs`, push, and enable Pages (the included workflow publishes `docs/` → `gh-pages`). |
| 80 | + |
| 81 | +The build fails loudly on duplicate slugs, missing fields, malformed URLs, or any scheme name that doesn't resolve to a page — broken cross-references can't ship silently. |
32 | 82 |
|
33 | 83 | ## Repo tour |
34 | 84 |
|
35 | 85 | ``` |
36 | 86 | startup-india-guide/ |
37 | 87 | ├── Startup-Schemes-Playbook-June-2026.pdf # the source document (also served by the site) |
38 | | -├── data/ # the extracted, verified content — the single source of truth |
| 88 | +├── site.config.json # template knobs: site name, base URL, path prefix, repo |
| 89 | +├── data/ # the extracted, verified content — single source of truth |
39 | 90 | │ ├── schemes.json # 69 schemes: verbatim eligibility/benefits/links + tags |
40 | 91 | │ ├── decision-tree.json # the 5-question finder |
41 | 92 | │ ├── lifecycle.json # stage → schemes map |
42 | 93 | │ ├── needs-index.json # need → schemes map |
43 | | -│ ├── master? — master-table columns (howMuch, category) are merged into schemes.json |
44 | | -│ ├── psu.json, states.json, glossary.json, about.json |
45 | | -│ └── aliases.json # printed-name → slug overrides for cross-reference resolution |
| 94 | +│ ├── psu.json · states.json · glossary.json · about.json |
| 95 | +│ └── aliases.json # printed-name → slug overrides for cross-references |
46 | 96 | ├── site/ # the engine — consumed by build.mjs |
47 | | -│ ├── tokens.css # the brand skin (palette sampled from the PDF) — light + dark |
| 97 | +│ ├── tokens.css # the skin: PDF-sampled palette, light + dark |
48 | 98 | │ ├── site.css # layout & component vocabulary; reads only tokens |
49 | 99 | │ └── site.js # search, filters, wizard, compare, theme toggle |
50 | | -├── build.mjs # data + site → docs/ (zero dependencies, Node ≥ 18) |
51 | | -└── docs/ # GENERATED — never hand-edit; this is what GitHub Pages serves |
| 100 | +├── build.mjs # data + site → docs/ (zero dependencies, Node ≥ 18) |
| 101 | +├── docs/ # GENERATED — never hand-edit; what GitHub Pages serves |
| 102 | +└── .github/workflows/deploy-pages.yml # publishes docs/ → gh-pages on push to main |
52 | 103 | ``` |
53 | 104 |
|
54 | 105 | ## Working on the site |
55 | 106 |
|
56 | 107 | ```bash |
57 | | -node build.mjs # regenerate docs/ from data/ + site/ |
58 | | -npx serve docs # or: python3 -m http.server -d docs 8000 |
| 108 | +node build.mjs # regenerate docs/ from data/ + site/ |
| 109 | +python3 -m http.server -d docs 8000 # preview locally (or: npx serve docs) |
59 | 110 | ``` |
60 | 111 |
|
61 | | -- **Content change** (a scheme's amount, a new link)? Edit `data/*.json`, rebuild. |
62 | | -- **Design change**? Edit `site/tokens.css` (colours/fonts) or `site/site.css` (components), rebuild. |
63 | | -- **Never edit `docs/`** — it is overwritten on every build. |
64 | | - |
65 | | -The build **fails loudly** on duplicate slugs, missing required fields, malformed URLs, or any scheme name referenced in the decision tree / lifecycle / needs index that doesn't resolve to a scheme page (fix those by adding an entry to `data/aliases.json`). |
| 112 | +- **Content change** (an amount, a new link, a new scheme)? Edit `data/*.json`, rebuild. |
| 113 | +- **Design change**? Edit `site/tokens.css` (palette/fonts) or `site/site.css` (components), rebuild. |
| 114 | +- **Never edit `docs/`** — every build overwrites it. |
66 | 115 |
|
67 | 116 | ## How the data was made |
68 | 117 |
|
69 | | -Each of the playbook's 107 pages was extracted to text and rendered to an image; every scheme one-pager was parsed into structured JSON and then **independently re-verified against the source page** (amounts, eligibility bullets, benefits, URLs). Hyperlinks come from the PDF's link annotations — never reconstructed by hand. Each scheme page cites the playbook page it came from. |
| 118 | +Each of the playbook's 107 pages was extracted to text and rendered to an image; every scheme one-pager was parsed into structured JSON and then **independently re-verified against the source page** — ₹ amounts, eligibility bullets, benefits and URLs are reproduced as printed, and each scheme page cites the playbook page it came from. Hyperlinks come from the PDF's link annotations, never reconstructed by hand. |
| 119 | + |
| 120 | +## Honest limitations |
| 121 | + |
| 122 | +- **Scheme details drift.** Deadlines, corpus sizes and application windows change after any snapshot; every page carries a "verify on the official portal" notice for exactly that reason. |
| 123 | +- **This is an independent reference,** not a government website, and not legal or financial advice. |
| 124 | +- **Extraction is machine-verified, not lawyer-reviewed.** The verification pass catches transcription errors; it cannot catch changes the government made after June 2026. |
| 125 | + |
| 126 | +## License |
70 | 127 |
|
71 | | -This is an independent reference, not a government website. Scheme details change — always verify on the linked official portals before applying. |
| 128 | +MIT — see [LICENSE](LICENSE). The underlying playbook is a Government of India publication; this repo reproduces its content as a reference with attribution and a link to [the source PDF](Startup-Schemes-Playbook-June-2026.pdf). |
0 commit comments