MCPcopy
hub / github.com/withastro/astro

github.com/withastro/astro @astro@7.0.6 sqlite

repository ↗ · DeepWiki ↗ · release astro@7.0.6 ↗ · compare 2 versions
5,524 symbols 20,845 edges 2,720 files 377 documented · 7%
README

Build the web you want

Astro is a website build tool for the modern web —

powerful developer experience meets lightweight output.

main License npm version

Install

The recommended way to install the latest version of Astro is by running the command below:

npm create astro@latest

You can also install Astro manually by running this command instead:

npm install astro

Looking for help? Start with our Getting Started guide.

Looking for quick examples? Open a starter project right in your browser.

Documentation

Visit our official documentation.

Support

Having trouble? Get help in the official Astro Discord.

Contributing

New contributors welcome! Check out our Contributors Guide for help getting started.

Join us on Discord to meet other maintainers. We'll help you get your first contribution in no time!

Directory

Package Release Notes
astro astro version
create-astro create-astro version
@astrojs/react @astrojs/react version
@astrojs/preact @astrojs/preact version
@astrojs/solid-js @astrojs/solid version
@astrojs/svelte @astrojs/svelte version
@astrojs/vue @astrojs/vue version
@astrojs/node @astrojs/node version
@astrojs/vercel @astrojs/vercel version
@astrojs/cloudflare @astrojs/cloudflare version
@astrojs/partytown @astrojs/partytown version
@astrojs/sitemap @astrojs/sitemap version
@astrojs/alpinejs @astrojs/alpinejs version
@astrojs/mdx @astrojs/mdx version
@astrojs/rss @astrojs/rss version
@astrojs/netlify @astrojs/netlify version
@astrojs/check astro-check version
@astrojs/language-server @astrojs/language-server version
@astrojs/ts-plugin @astrojs/ts-plugin version
astro-vscode astro-vscode version

CII Best Practices

Several official projects are maintained outside of this repo:

Project Repository
@astrojs/compiler withastro/compiler
Starlight withastro/starlight

Links

Sponsors

Astro is free, open source software made possible by these wonderful sponsors.

❤️ Sponsor Astro! ❤️

Sponsor logos including the current Astro Sponsors, Gold Sponsors, and Exclusive Partner Sponsors: Netlify, Sentry, and Project IDX.

Extension points exported contracts — how you extend this code

MockCookies (Interface)
Minimal cookie interface used by AstroSession. [5 implementers]
packages/astro/test/units/sessions/astro-session.test.ts
SerializedPathWithRoute (Interface)
* A pathname with its serialized route data, used for prerendering over HTTP.
packages/integrations/cloudflare/src/prerender-types.ts
ExecaOptions (Interface)
(no doc)
packages/create-astro/src/shell.ts
ShikiHighlighterInternal (Interface)
(no doc)
packages/markdown/remark/test/shiki.test.ts
EventContext (Interface)
(no doc)
packages/telemetry/src/index.ts
SyntaxHighlightConfig (Interface)
(no doc)
packages/internal-helpers/src/markdown.ts
ElementChildrenAttribute (Interface)
(no doc)
packages/language-tools/language-server/types/astro-jsx.d.ts
CreateRedirectsFromAstroRoutesParams (Interface)
(no doc)
packages/underscore-redirects/src/astro.ts

Core symbols most depended-on inside this repo

text
called by 1392
packages/astro/src/core/errors/overlay.ts
load
called by 867
packages/astro/src/core/session/runtime.ts
match
called by 610
packages/astro/src/core/app/node.ts
get
called by 516
packages/astro/test/units/sessions/astro-session.test.ts
render
called by 502
packages/astro/test/fixtures/preact-component/src/components/Class.jsx
fetch
called by 387
packages/astro/src/core/fetch/types.ts
loadFixture
called by 384
packages/astro/test/test-utils.ts
defineConfig
called by 374
packages/astro/src/config/index.ts

Shape

Function 3,801
Method 776
Interface 608
Class 338
Enum 1

Languages

TypeScript100%

Modules by API surface

packages/language-tools/language-server/types/astro-jsx.d.ts62 symbols
packages/astro/astro-jsx.d.ts59 symbols
packages/astro/src/core/fetch/fetch-state.ts54 symbols
packages/astro/test/units/cli/utils.ts51 symbols
packages/astro/src/content/utils.ts40 symbols
packages/astro/src/core/errors/errors.ts36 symbols
packages/astro/src/core/logger/core.ts33 symbols
packages/astro/test/units/test-utils.ts32 symbols
packages/astro/src/core/cache/memory-provider.ts31 symbols
packages/astro/src/core/cookies/cookies.ts30 symbols
packages/astro/src/core/messages/runtime.ts29 symbols
packages/astro/src/content/mutable-data-store.ts29 symbols

Dependencies from manifests, versioned

@astrojs/alpinejsworkspace:* · 1×
@astrojs/check0.9.5 · 1×
@astrojs/cli-kit0.4.1 · 1×
@astrojs/cloudflareworkspace:* · 1×
@astrojs/compiler2.13.1 · 1×
@astrojs/compiler-rs0.3.0 · 1×
@astrojs/internal-helpersworkspace:* · 1×
@astrojs/language-server2.16.9 · 1×
@astrojs/markdocworkspace:* · 1×
@astrojs/markdown-remarkworkspace:* · 1×
@astrojs/markdown-satteriworkspace:* · 1×
@astrojs/mdxworkspace:* · 1×

Datastores touched

(mongodb)Database · 1 repos
(mysql)Database · 1 repos

For agents

$ claude mcp add astro \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact