@grove-dev/cli 0.3.2 → 0.3.4
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.
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +13 -1
- package/dist/init.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/site/README.md +44 -0
- package/dist/site/astro.config.mjs +6 -4
- package/dist/site/package.json +4 -4
- package/dist/site/public/icons/stacks/tauri.svg +1 -0
- package/dist/site/src/pages/[slug]/index.astro +1 -0
- package/package.json +2 -2
- package/dist/site/content/pages/about.md +0 -63
- package/dist/site/content/pages/methodology.md +0 -103
- package/dist/site/public/og-image.svg +0 -48
- package/dist/site/public/robots.txt +0 -53
- package/dist/site/src/pages/apps/[recordSlug].astro +0 -34
- /package/{LICENSE → dist/site/LICENSE} +0 -0
package/dist/init.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,WAAW;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,cAAc,IAAI,MAAM,CAWvC;AAOD,wBAAgB,cAAc,IAAI,MAAM,CAMvC;AAwBD,wBAAsB,aAAa,CACjC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAwCrD"}
|
package/dist/init.js
CHANGED
|
@@ -3,6 +3,13 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { dirname, relative, resolve } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const SKIP_NAMES = new Set(["node_modules", "dist", ".astro", ".DS_Store"]);
|
|
6
|
+
const GENERATED_PUBLIC_NAMES = new Set([
|
|
7
|
+
"llms.txt",
|
|
8
|
+
"llms-full.txt",
|
|
9
|
+
"sitemap.xml",
|
|
10
|
+
"robots.txt",
|
|
11
|
+
"og-image.svg",
|
|
12
|
+
]);
|
|
6
13
|
const GROVE_PACKAGES = ["@grove-dev/astro", "@grove-dev/cli", "@grove-dev/core"];
|
|
7
14
|
export function readCliVersion() {
|
|
8
15
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
@@ -60,7 +67,12 @@ export async function initDirectory(targetDir, options = {}) {
|
|
|
60
67
|
const parts = pathFromRoot.split(/[\\/]/);
|
|
61
68
|
if (parts.some((part) => SKIP_NAMES.has(part)))
|
|
62
69
|
return false;
|
|
63
|
-
|
|
70
|
+
if (parts[0] === "data" && parts[1] === "generated")
|
|
71
|
+
return false;
|
|
72
|
+
if (parts[0] === "public" && GENERATED_PUBLIC_NAMES.has(parts[1] ?? "")) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return true;
|
|
64
76
|
},
|
|
65
77
|
});
|
|
66
78
|
const version = options.version ?? readCliVersion();
|
package/dist/init.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;AAC5E,MAAM,c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AAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;AAC5C,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -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).
|
|
9
|
-
// `grove.config.ts`
|
|
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 ||
|
|
17
|
+
site: process.env.SITE_URL || groveConfig.site.url,
|
|
16
18
|
trailingSlash: 'ignore',
|
|
17
19
|
integrations: [groveAstro()],
|
|
18
20
|
vite: {
|
package/dist/site/package.json
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@astrojs/check": "^0.9.9",
|
|
22
|
-
"@grove-dev/astro": "^0.3.
|
|
23
|
-
"@grove-dev/cli": "^0.3.
|
|
24
|
-
"@grove-dev/core": "^0.3.
|
|
22
|
+
"@grove-dev/astro": "^0.3.4",
|
|
23
|
+
"@grove-dev/cli": "^0.3.4",
|
|
24
|
+
"@grove-dev/core": "^0.3.4",
|
|
25
25
|
"@tailwindcss/vite": "^4.3.0",
|
|
26
|
-
"astro": "^
|
|
26
|
+
"astro": "^7.1.3",
|
|
27
27
|
"tailwindcss": "^4.3.0",
|
|
28
28
|
"yaml": "^2.9.0"
|
|
29
29
|
},
|
|
@@ -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>
|
|
@@ -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"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grove-dev/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Grove CLI — scaffolds Grove-powered spaces and orchestrates @grove-dev/core commands.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"commander": "^15.0.0",
|
|
46
46
|
"yaml": "^2.6.0",
|
|
47
|
-
"@grove-dev/core": "0.3.
|
|
47
|
+
"@grove-dev/core": "0.3.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"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
|