@grove-dev/cli 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +35 -0
  2. package/dist/audit-cli.d.ts +3 -0
  3. package/dist/audit-cli.d.ts.map +1 -0
  4. package/dist/audit-cli.js +20 -0
  5. package/dist/audit-cli.js.map +1 -0
  6. package/dist/audit.d.ts +27 -0
  7. package/dist/audit.d.ts.map +1 -0
  8. package/dist/audit.js +247 -0
  9. package/dist/audit.js.map +1 -0
  10. package/dist/collection-cli.d.ts +3 -0
  11. package/dist/collection-cli.d.ts.map +1 -0
  12. package/dist/collection-cli.js +51 -0
  13. package/dist/collection-cli.js.map +1 -0
  14. package/dist/index.js +17 -15
  15. package/dist/index.js.map +1 -1
  16. package/dist/init.d.ts.map +1 -1
  17. package/dist/init.js +13 -1
  18. package/dist/init.js.map +1 -1
  19. package/dist/package.json +4 -1
  20. package/dist/site/README.md +44 -0
  21. package/dist/site/astro.config.mjs +6 -4
  22. package/dist/site/data/collections/top-ai-agents.yml +14 -0
  23. package/dist/site/data/collections/top-flutter.yml +12 -0
  24. package/dist/site/grove.config.ts +14 -0
  25. package/dist/site/package.json +6 -5
  26. package/dist/site/public/icons/stacks/tauri.svg +1 -0
  27. package/dist/site/src/layouts/Base.astro +22 -0
  28. package/dist/site/src/pages/[slug]/index.astro +1 -0
  29. package/dist/site/src/pages/collections/[slug].astro +37 -0
  30. package/dist/site/src/pages/collections/index.astro +25 -0
  31. package/dist/site/src/pages/empty.astro +7 -0
  32. package/dist/site/src/pages/index.astro +17 -1
  33. package/dist/site/src/pages/stacks/[name].astro +11 -0
  34. package/package.json +5 -2
  35. package/dist/site/content/pages/about.md +0 -63
  36. package/dist/site/content/pages/methodology.md +0 -103
  37. package/dist/site/public/og-image.svg +0 -48
  38. package/dist/site/public/robots.txt +0 -53
  39. package/dist/site/src/pages/apps/[recordSlug].astro +0 -34
  40. /package/{LICENSE → dist/site/LICENSE} +0 -0
@@ -0,0 +1,44 @@
1
+ # Grove directory
2
+
3
+ This is a complete, customizable Astro directory powered by Grove. The pages
4
+ and product content live in this repository; Grove supplies reusable
5
+ components, data contracts, generated artifacts, and CI commands.
6
+
7
+ ## Start locally
8
+
9
+ ```sh
10
+ pnpm install
11
+ pnpm dev
12
+ ```
13
+
14
+ Run the same validation used by CI:
15
+
16
+ ```sh
17
+ pnpm exec grove check
18
+ pnpm build
19
+ ```
20
+
21
+ ## Customize
22
+
23
+ - `grove.config.ts` — site identity, navigation, footer, labels, facets,
24
+ analytics, and theme
25
+ - `data/records/` — one YAML record per directory item
26
+ - `data/taxonomy/` — categories, stacks, platforms, and distribution channels
27
+ - `src/pages/` — consumer-owned Astro pages and custom routes
28
+ - `src/components/` — project-specific components
29
+ - `public/icons/` — custom stack and platform SVG assets
30
+
31
+ Generated data stays in `data/generated/`. Grove prepares it automatically
32
+ when Astro starts, so the project does not need consumer-owned generation
33
+ scripts.
34
+
35
+ ## Refresh GitHub data
36
+
37
+ ```sh
38
+ pnpm exec grove sync github
39
+ pnpm exec grove sync contributors
40
+ ```
41
+
42
+ The included workflows run checks, refresh metadata, and prepare a deployable
43
+ static build. Adjust the deployment workflow for the hosting provider used by
44
+ your directory.
@@ -3,16 +3,18 @@
3
3
  import { defineConfig } from 'astro/config';
4
4
  import tailwindcss from '@tailwindcss/vite';
5
5
  import groveAstro from '@grove-dev/astro';
6
+ import { loadConfig } from '@grove-dev/core';
6
7
 
7
8
  // `site` is the canonical URL the build uses for absolute links
8
- // (sitemap, OpenGraph, canonical tags, JSON-LD). The CLI injects
9
- // `grove.config.ts` → `site.url` at scaffold time, but it can also
10
- // be overridden per-build via the `SITE_URL` env var.
9
+ // (sitemap, OpenGraph, canonical tags, JSON-LD). It is read directly
10
+ // from `grove.config.ts` and can be overridden per build via `SITE_URL`.
11
11
  //
12
12
  // The Grove integration prepares data, sitemap, and llms files before
13
13
  // Astro starts. No consumer-owned prebuild script is required.
14
+ const groveConfig = await loadConfig();
15
+
14
16
  export default defineConfig({
15
- site: process.env.SITE_URL || 'https://example.com',
17
+ site: process.env.SITE_URL || groveConfig.site.url,
16
18
  trailingSlash: 'ignore',
17
19
  integrations: [groveAstro()],
18
20
  vite: {
@@ -0,0 +1,14 @@
1
+ slug: top-ai-agents
2
+ kind: curated
3
+ title: Top Open Source AI Agents
4
+ description: Python-based agent frameworks and orchestration tools.
5
+ query:
6
+ stacks: [python]
7
+ excludeStatuses: [archived]
8
+ ranking:
9
+ preset: quality
10
+ editorial:
11
+ selectionNote: Ranked by curation score and recent activity.
12
+ seo:
13
+ index: true
14
+ title: Top Open Source AI Agents in 2026
@@ -0,0 +1,12 @@
1
+ slug: top-flutter
2
+ kind: curated
3
+ title: Top Open Source Flutter Apps
4
+ description: Production-scale Flutter applications with public source code.
5
+ query:
6
+ stacks: [flutter]
7
+ excludeStatuses: [archived]
8
+ ranking:
9
+ preset: quality
10
+ seo:
11
+ index: true
12
+ title: Top Open Source Flutter Apps in 2026
@@ -16,6 +16,7 @@ export default defineConfig({
16
16
  nav: [
17
17
  { label: "Home", href: "/" },
18
18
  { label: "Browse", href: "/projects" },
19
+ { label: "Collections", href: "/collections" },
19
20
  { label: "About", href: "/about" },
20
21
  ],
21
22
 
@@ -73,4 +74,17 @@ export default defineConfig({
73
74
  density: "comfortable",
74
75
  containerWidth: "72rem",
75
76
  },
77
+
78
+ audit: {
79
+ baseUrl: "http://127.0.0.1:4321",
80
+ pages: [
81
+ { path: "/", type: "home", label: "Homepage" },
82
+ { path: "/projects/", type: "directory", label: "Directory index" },
83
+ { path: "/collections/top-flutter/", type: "collection", label: "Top Flutter collection" },
84
+ { path: "/projects/open-webui/", type: "record", label: "Record detail" },
85
+ { path: "/about/", type: "content", label: "About page" },
86
+ { path: "/empty/", type: "empty", label: "Empty state" },
87
+ { path: "/this-page-does-not-exist/", type: "404", label: "404 page" },
88
+ ],
89
+ },
76
90
  });
@@ -15,15 +15,16 @@
15
15
  "start": "astro dev",
16
16
  "preview": "astro preview",
17
17
  "astro": "astro",
18
- "check": "astro check"
18
+ "check": "astro check",
19
+ "audit": "grove audit --runs 1"
19
20
  },
20
21
  "dependencies": {
21
22
  "@astrojs/check": "^0.9.9",
22
- "@grove-dev/astro": "^0.3.2",
23
- "@grove-dev/cli": "^0.3.2",
24
- "@grove-dev/core": "^0.3.2",
23
+ "@grove-dev/astro": "^0.4.0",
24
+ "@grove-dev/cli": "^0.4.0",
25
+ "@grove-dev/core": "^0.4.0",
25
26
  "@tailwindcss/vite": "^4.3.0",
26
- "astro": "^6.4.4",
27
+ "astro": "^7.1.3",
27
28
  "tailwindcss": "^4.3.0",
28
29
  "yaml": "^2.9.0"
29
30
  },
@@ -0,0 +1 @@
1
+ <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Tauri</title><path d="M13.912 0a8.72 8.72 0 0 0-8.308 6.139c1.05-.515 2.18-.845 3.342-.976 2.415-3.363 7.4-3.412 9.88-.097 2.48 3.315 1.025 8.084-2.883 9.45a6.131 6.131 0 0 1-.3 2.762 8.72 8.72 0 0 0 3.01-1.225A8.72 8.72 0 0 0 13.913 0zm.082 6.451a2.284 2.284 0 1 0-.15 4.566 2.284 2.284 0 0 0 .15-4.566zm-5.629.27a8.72 8.72 0 0 0-3.031 1.235 8.72 8.72 0 1 0 13.06 9.9131 10.173 10.173 0 0 1-3.343.965 6.125 6.125 0 1 1-7.028-9.343 6.114 6.115 0 0 1 .342-2.772zm1.713 6.27a2.284 2.284 0 0 0-2.284 2.283 2.284 2.284 0 0 0 2.284 2.284 2.284 2.284 0 0 0 2.284-2.284 2.284 2.284 0 0 0-2.284-2.284z"/></svg>
@@ -0,0 +1,22 @@
1
+ ---
2
+ interface Props {
3
+ title: string;
4
+ description: string;
5
+ }
6
+ const { title, description } = Astro.props;
7
+ const favicon =
8
+ "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%2318181b'/%3E%3C/svg%3E";
9
+ ---
10
+ <!doctype html>
11
+ <html lang="en">
12
+ <head>
13
+ <meta charset="utf-8" />
14
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
15
+ <title>{title}</title>
16
+ <meta name="description" content={description} />
17
+ <link rel="icon" href={favicon} />
18
+ </head>
19
+ <body>
20
+ <slot />
21
+ </body>
22
+ </html>
@@ -136,6 +136,7 @@ const clearFiltersHref = clearQuery ? `/${slug}?${clearQuery}` : `/${slug}`;
136
136
  currentParams={Astro.url.searchParams}
137
137
  pathPrefix={`/${slug}`}
138
138
  lensIds={["all", "hot", "mature", "production-like", "good-to-learn"]}
139
+ allLabel={`All ${itemLabelPlural()}`}
139
140
  />
140
141
  <RefinePanel
141
142
  class="contents"
@@ -0,0 +1,37 @@
1
+ ---
2
+ import CollectionPage from "@grove-dev/astro/components/CollectionPage.astro";
3
+ import BaseLayout from "@grove-dev/astro/layouts/BaseLayout.astro";
4
+ import {
5
+ getCollectionPageModel,
6
+ recordsToCollectionEntries,
7
+ loadCollections,
8
+ } from "@grove-dev/astro/server";
9
+ import records from "@grove/generated/records.json";
10
+ import siteConfig from "@grove/generated/site-config.json";
11
+
12
+ export async function getStaticPaths() {
13
+ const collections = await loadCollections(process.cwd());
14
+ return collections.map((c) => ({ params: { slug: c.slug } }));
15
+ }
16
+
17
+ const { slug } = Astro.params;
18
+ const collections = await loadCollections(process.cwd());
19
+ const collection = collections.find((c) => c.slug === slug);
20
+ if (!collection) return Astro.redirect("/404");
21
+
22
+ const entries = recordsToCollectionEntries(
23
+ (records as { records: unknown[] }).records as never,
24
+ siteConfig,
25
+ );
26
+ const model = getCollectionPageModel(collection, entries, collections);
27
+ ---
28
+ <BaseLayout
29
+ title={model.collection.title}
30
+ description={model.collection.description}
31
+ site={siteConfig}
32
+ >
33
+ <CollectionPage
34
+ model={model}
35
+ eyebrow={model.collection.kind === "curated" ? "Curated collection" : "Generated collection"}
36
+ />
37
+ </BaseLayout>
@@ -0,0 +1,25 @@
1
+ ---
2
+ import CollectionIndex from "@grove-dev/astro/components/CollectionIndex.astro";
3
+ import BaseLayout from "@grove-dev/astro/layouts/BaseLayout.astro";
4
+ import {
5
+ getCollectionIndexModel,
6
+ recordsToCollectionEntries,
7
+ loadCollections,
8
+ } from "@grove-dev/astro/server";
9
+ import records from "@grove/generated/records.json";
10
+ import siteConfig from "@grove/generated/site-config.json";
11
+
12
+ const collections = await loadCollections(process.cwd());
13
+ const entries = recordsToCollectionEntries(
14
+ (records as { records: unknown[] }).records as never,
15
+ siteConfig,
16
+ );
17
+ const model = getCollectionIndexModel(collections, entries);
18
+ ---
19
+ <BaseLayout
20
+ title="Collections"
21
+ description="Curated and generated directories of related items."
22
+ site={siteConfig}
23
+ >
24
+ <CollectionIndex model={model} />
25
+ </BaseLayout>
@@ -0,0 +1,7 @@
1
+ ---
2
+ import Base from "../layouts/Base.astro";
3
+ ---
4
+ <Base title="No results" description="Empty state fixture.">
5
+ <h1>No results</h1>
6
+ <p>There are no items to show right now.</p>
7
+ </Base>
@@ -20,8 +20,15 @@ import CategoryGrid from "@grove-dev/astro/components/CategoryGrid.astro";
20
20
  import ContributorsGrid from "@grove-dev/astro/components/ContributorsGrid.astro";
21
21
  import OriginalCollection from "@grove-dev/astro/components/OriginalCollection.astro";
22
22
  import FinalCta from "@grove-dev/astro/components/FinalCta.astro";
23
+ import CollectionTeaser from "@grove-dev/astro/components/CollectionTeaser.astro";
23
24
 
24
- import { getHomePageModel } from "@grove-dev/astro/server";
25
+ import {
26
+ getHomePageModel,
27
+ getCollectionTeaserModel,
28
+ recordsToCollectionEntries,
29
+ loadCollections,
30
+ } from "@grove-dev/astro/server";
31
+ import records from "@grove/generated/records.json";
25
32
  import siteConfig from "@grove/generated/site-config.json";
26
33
 
27
34
  const home = getHomePageModel(siteConfig);
@@ -35,6 +42,14 @@ const matureList = home.established;
35
42
  const { stacks, categories } = home;
36
43
 
37
44
  const { contributors, stats, title, description } = home;
45
+
46
+ // ── Featured collections teaser ─────────────────────────────────
47
+ const allCollections = await loadCollections(process.cwd());
48
+ const teaserEntries = recordsToCollectionEntries(
49
+ (records as { records: unknown[] }).records as never,
50
+ siteConfig,
51
+ );
52
+ const collectionTeaser = getCollectionTeaserModel(allCollections, teaserEntries, 3);
38
53
  ---
39
54
 
40
55
  <BaseLayout title={title} description={description} site={siteConfig}>
@@ -103,6 +118,7 @@ const { contributors, stats, title, description } = home;
103
118
  />
104
119
 
105
120
  <StackGrid stacks={stacks} pathPrefix={`/${slug}`} itemLabelPlural={itemPlural} />
121
+ <CollectionTeaser model={collectionTeaser} />
106
122
  <CategoryGrid categories={categories} pathPrefix={`/${slug}`} itemLabelPlural={itemPlural} />
107
123
 
108
124
  <ContributorsGrid
@@ -0,0 +1,11 @@
1
+ ---
2
+ import Base from "../../layouts/Base.astro";
3
+ export function getStaticPaths() {
4
+ return [{ params: { name: "flutter" } }];
5
+ }
6
+ const { name } = Astro.params;
7
+ ---
8
+ <Base title={`${name} apps`} description={`Open source apps built with ${name}.`}>
9
+ <h1>{name} apps</h1>
10
+ <p>Browse open source apps built with {name}.</p>
11
+ </Base>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grove-dev/cli",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "description": "Grove CLI — scaffolds Grove-powered spaces and orchestrates @grove-dev/core commands.",
6
6
  "license": "MIT",
@@ -42,9 +42,12 @@
42
42
  "README.md"
43
43
  ],
44
44
  "dependencies": {
45
+ "chrome-launcher": "^1.2.1",
45
46
  "commander": "^15.0.0",
47
+ "lighthouse": "^12.8.2",
48
+ "typescript": "^5.9.3",
46
49
  "yaml": "^2.6.0",
47
- "@grove-dev/core": "0.3.2"
50
+ "@grove-dev/core": "0.4.0"
48
51
  },
49
52
  "devDependencies": {
50
53
  "tsx": "^4.23.0"
@@ -1,63 +0,0 @@
1
- ---
2
- title: "About"
3
- description: "What this directory is, who it's for, and how it works."
4
- ---
5
-
6
- # About this directory
7
-
8
- This site is a small, hand-curated index of useful open-source work
9
- relevant to a specific community. The framing is deliberately
10
- narrow: we list *one* project per record, with a hand-written
11
- "why listed" note for each, and we surface the things that matter
12
- in practice (recent activity, install friction, license, etc.)
13
- rather than the things that look impressive on a GitHub profile.
14
-
15
- ## How it works
16
-
17
- Records live as YAML files in `data/records/`. Each record carries:
18
-
19
- - A `kind` (`project`, `resource`, or `entity` — picked by the
20
- blueprint in `grove.config.ts`).
21
- - A `slug` (URL-safe identifier; becomes the path on
22
- `/<kind>/<slug>`).
23
- - A `name` and a one-line `description`.
24
- - Cross-links (`links.github`, `links.website`, etc.) and free-form
25
- tags.
26
- - An optional `curation` block with `labels`, `reviewedAt`,
27
- `bestFor`, `whyListed`, `caveats`, and `scores`.
28
- - An optional `github` block with the live repository signals
29
- (stars, forks, latest release, languages, pushed-at).
30
-
31
- At build time:
32
-
33
- 1. `grove check` validates every record against the schema.
34
- 2. The Astro integration prepares generated data, sitemap, and LLM indexes.
35
- 3. `astro build` produces the static output without consumer prebuild scripts.
36
-
37
- The whole pipeline is reproducible. The records are the source of
38
- truth; everything else is derived.
39
-
40
- ## Why a static site
41
-
42
- The directory is a *reference*, not an *app*. Static HTML is the
43
- right tool:
44
-
45
- - Every page is a single round-trip. No client-side data layer.
46
- - The output is auditable: open the deployed HTML and you can see
47
- the full markup, no hidden hydration.
48
- - Hosting is cheap (or free, on GitHub Pages / Cloudflare Pages).
49
- - AI crawlers can read the full content. The `llms.txt` /
50
- `llms-full.txt` files give them a single fetch to land on.
51
-
52
- ## Contributing
53
-
54
- To add a record, open a submission issue. The maintainer will
55
- review and, if accepted, open a PR that adds the new YAML file.
56
- See `/submit` for the issue form and a minimal record template.
57
-
58
- ## License
59
-
60
- The site's source code is MIT. The records are released under CC-BY
61
- 4.0 unless a record's `license` field says otherwise. A record's
62
- `license` field is the license of the *project it describes*, not
63
- the license of the directory entry.
@@ -1,103 +0,0 @@
1
- ---
2
- title: "Methodology"
3
- description: "How records are picked, scored, and surfaced in this directory."
4
- ---
5
-
6
- # Methodology
7
-
8
- This page describes how entries in the directory are chosen, how the
9
- curation signals are computed, and what we do (and don't) promise about
10
- the data. The intent is to make the directory's logic auditable — every
11
- number on a detail page is reproducible from the record's YAML.
12
-
13
- ## Selection
14
-
15
- A record is included if it is:
16
-
17
- 1. **Open source.** Source is public under an OSI-approved license
18
- (or public-domain dedication).
19
- 2. **Actively maintained.** A pushed commit within the last 18 months
20
- OR a declared maintenance status of `maintained` / `passive`.
21
- 3. **Useful to a curious developer.** A working build, a real user
22
- base (or a credible path to one), and a clear description of what
23
- the project does.
24
-
25
- We exclude: abandoned experiments, vapourware, projects whose entire
26
- purpose is to sell a hosted plan, and any record that has not been
27
- hand-checked by a maintainer.
28
-
29
- ## Curation labels
30
-
31
- The `curation.labels` field is a small, hand-set list. The supported
32
- labels are:
33
-
34
- - `hot` — high recent activity or attention (≥ 1 000 stars or a
35
- commit within the last 30 days).
36
- - `new` — added to the directory in the last 7 days.
37
- - `mature` — long-running curated project, pushed > 365 days ago,
38
- but still maintained.
39
- - `featured` — editor's pick for the front page.
40
- - `needs-review` — open submission awaiting a second maintainer
41
- look.
42
-
43
- These labels are mutually additive, not exclusive. A `new` record
44
- can also be `hot`; a `mature` record can also be `featured`.
45
-
46
- ## Scoring
47
-
48
- The detail page surfaces a five-dimension score block. The five
49
- dimensions are:
50
-
51
- - **Documentation** — is the README / docs site enough to onboard
52
- without reading the source?
53
- - **Onboarding** — install in < 5 min, first useful result in < 1 h.
54
- - **Maintenance** — recent commits, issue close rate, release cadence.
55
- - **Community** — issues answered, discussions active, contributors
56
- per release.
57
- - **Production-readiness** — CI, tests, security policy, releases
58
- with semver.
59
-
60
- Each dimension is scored 0-5. The overall score on the detail page
61
- is the mean. Scores are stored on the record, not computed at build
62
- time, so we can deliberately disagree with the raw signals (a 1-line
63
- toy that happens to be wildly popular can still score low on
64
- documentation).
65
-
66
- ## Health signals
67
-
68
- The `health` block on each record tracks four state machines:
69
-
70
- - `status` — `healthy` / `slowing` / `stale` / `archived`.
71
- - `tier` — `curated` / `community` / `experimental`.
72
- - `issue_close_rate` — moving 90-day average.
73
- - `last_release` — most recent semver tag.
74
-
75
- A record's `status` transitions are time-boxed: a project with no
76
- commits in 365 days flips from `slowing` to `stale`; 730 days flips
77
- to `archived`. The transition is mechanical; the recovery is
78
- manual (a maintainer sets `tier` back to `community` after review).
79
-
80
- ## Lenses
81
-
82
- The directory's home page surfaces three curated lenses:
83
-
84
- - **Hot** — `curation.labels` includes `hot`, OR `github.stars` ≥
85
- 1 000, OR `pushedAt` within 30 days.
86
- - **New** — `pushedAt` within 7 days, OR `curation.labels` includes
87
- `new`.
88
- - **Mature** — `health.tier === "curated"` AND `pushedAt` > 365 days
89
- ago.
90
-
91
- Each lens caps at 6 items on the home page; the full filtered list
92
- is reachable via the lens tab on `/projects`.
93
-
94
- ## What we don't promise
95
-
96
- - **Real-time data.** The site is rebuilt on a schedule, not on
97
- every push. Counts and dates can lag by up to one build cycle.
98
- - **Verdict-free scores.** A high overall score means "useful to a
99
- curious developer", not "best in class" — judgement calls are
100
- documented per record, not baked into the score.
101
- - **Causal claims.** The "best for" / "why listed" / "caveats"
102
- blocks are editorial notes, not derived signals. They reflect
103
- what a maintainer thought at review time.
@@ -1,48 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 630" width="1200" height="630">
2
- <defs>
3
- <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0%" stop-color="#0a0a0c"/>
5
- <stop offset="100%" stop-color="#18181b"/>
6
- </linearGradient>
7
- <linearGradient id="accent" x1="0" y1="0" x2="1" y2="0">
8
- <stop offset="0%" stop-color="#1f6feb"/>
9
- <stop offset="100%" stop-color="#6ee7b7"/>
10
- </linearGradient>
11
- <radialGradient id="glow1" cx="0.15" cy="0.2" r="0.5">
12
- <stop offset="0%" stop-color="#1f6feb" stop-opacity="0.25"/>
13
- <stop offset="100%" stop-color="#1f6feb" stop-opacity="0"/>
14
- </radialGradient>
15
- <radialGradient id="glow2" cx="0.85" cy="0.9" r="0.5">
16
- <stop offset="0%" stop-color="#fb923c" stop-opacity="0.18"/>
17
- <stop offset="100%" stop-color="#fb923c" stop-opacity="0"/>
18
- </radialGradient>
19
- </defs>
20
- <rect width="1200" height="630" fill="url(#bg)"/>
21
- <rect width="1200" height="630" fill="url(#glow1)"/>
22
- <rect width="1200" height="630" fill="url(#glow2)"/>
23
- <g transform="translate(96,96)">
24
- <rect width="48" height="48" rx="9" fill="#fafafa"/>
25
- </g>
26
- <g transform="translate(96,260)">
27
- <text x="0" y="0" font-family="ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="84" font-weight="700" fill="#fafafa" letter-spacing="-2.5">
28
- Open Curated
29
- </text>
30
- <text x="0" y="84" font-family="ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="32" font-weight="400" fill="#a1a1aa">
31
- A directory of real open-source projects
32
- </text>
33
- <text x="0" y="132" font-family="ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="32" font-weight="400" fill="#a1a1aa">
34
- you can run, study, and contribute to.
35
- </text>
36
- </g>
37
- <g transform="translate(96,520)">
38
- <rect x="0" y="0" width="200" height="56" rx="10" fill="none" stroke="#3f3f46" stroke-width="1.5"/>
39
- <text x="100" y="36" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace" font-size="22" font-weight="500" fill="#d4d4d8">
40
- open-curated.dev
41
- </text>
42
- </g>
43
- <g transform="translate(820,520)">
44
- <text x="0" y="36" font-family="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace" font-size="22" font-weight="500" fill="url(#accent)">
45
- 79 apps · 4.3k stars
46
- </text>
47
- </g>
48
- </svg>
@@ -1,53 +0,0 @@
1
- # robots.txt for open-curated.dev
2
- #
3
- # Search engines, AI crawlers, and link preview bots are all welcome.
4
- # The directory is intended to be fully indexable.
5
- #
6
- # The /submit path is a thin wrapper that POSTs to GitHub Issues —
7
- # it carries no indexable content of its own, so we disallow it here
8
- # (the page also serves `noindex,nofollow` as a belt-and-suspenders).
9
-
10
- User-agent: *
11
- Allow: /
12
- Disallow: /submit
13
-
14
- # LLM/AI crawlers — explicitly welcome. The curated per-app metadata
15
- # is the primary audience for the /llms.txt and /llms-full.txt files.
16
- User-agent: GPTBot
17
- Allow: /
18
-
19
- User-agent: ChatGPT-User
20
- Allow: /
21
-
22
- User-agent: ClaudeBot
23
- Allow: /
24
-
25
- User-agent: Claude-Web
26
- Allow: /
27
-
28
- User-agent: anthropic-ai
29
- Allow: /
30
-
31
- User-agent: PerplexityBot
32
- Allow: /
33
-
34
- User-agent: Google-Extended
35
- Allow: /
36
-
37
- User-agent: Applebot-Extended
38
- Allow: /
39
-
40
- User-agent: cohere-ai
41
- Allow: /
42
-
43
- User-agent: CCBot
44
- Allow: /
45
-
46
- User-agent: Amazonbot
47
- Allow: /
48
-
49
- # Sitemaps
50
- Sitemap: https://example.com/sitemap.xml
51
-
52
- # LLM context
53
- LLM-Content: https://example.com/llms.txt
@@ -1,34 +0,0 @@
1
- ---
2
- /**
3
- * /apps/<slug> — V0-published alias URL → V1 canonical.
4
- *
5
- * The canonical V1 detail URL is `/<blueprint>/<recordSlug>` (e.g.
6
- * `/projects/coolify`). The V0 published Astro template exposed
7
- * `/apps/<slug>` as a static alias to keep the openapps-style URL
8
- * working for project-directory blueprints. Now that the V1
9
- * template uses the blueprint-aware dynamic route everywhere,
10
- * this page is a pure redirect: any `/apps/<slug>` request is
11
- * sent to the blueprint-canonical path.
12
- */
13
- import { indexSlug, fullRecords, recordBySlug } from "@grove-dev/astro/server";
14
-
15
- export async function getStaticPaths() {
16
- if (indexSlug() === "apps") return [];
17
- return fullRecords.map((r) => ({ params: { recordSlug: r.slug } }));
18
- }
19
-
20
- const slug = indexSlug();
21
- const recordSlug = Astro.params.recordSlug ?? "";
22
-
23
- if (slug !== "projects") {
24
- return Astro.redirect(`/${slug}/${recordSlug}`);
25
- }
26
-
27
- const record = recordBySlug(recordSlug);
28
- if (!record) {
29
- return Astro.redirect(`/${slug}`);
30
- }
31
-
32
- // Canonical V1 URL.
33
- return Astro.redirect(`/${slug}/${recordSlug}`, 301);
34
- ---
File without changes