MCPcopy Index your code
hub / github.com/ekafyi/astronotion

github.com/ekafyi/astronotion @v0.0.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.7 ↗ · + Follow
38 symbols 105 edges 32 files 0 documented · 0% updated 4y agov0.0.7 · 2022-06-16★ 331 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Astronotion

smiling cat in spacesuit

Make an Astro site with content from Notion

Quick start

Use the starter site

Usage

Standalone page

https://github.com/ekafyi/astronotion-starter-ssg/blob/main/src/pages/kitchen-sink-notion.astro#L5-L11

Notion source page: https://ekafyi-playground.notion.site/Plants-1cf6f82effc24ad4aea5a50f88198a7b

Collection page

Code:

  • https://github.com/ekafyi/astronotion-starter-ssg/blob/main/src/pages/journal/index.astro#L6-L12
  • https://github.com/ekafyi/astronotion-starter-ssg/blob/main/src/pages/journal/%5B...fullSlug%5D.astro#L6-L18

Notion source page: https://ekafyi-playground.notion.site/2ba80ec3d84d46479f23ec15ba5e39b0


Credit: - Image by Darius Dan

Core symbols most depended-on inside this repo

flattenBlocks
called by 7
packages/astronotion/src/api/lib/flatten.ts
getFilename
called by 6
packages/astronotion/src/api/lib/image-file.ts
getCodeLangText
called by 5
packages/astronotion/src/api/lib/code-block-lang.ts
flattenText
called by 5
packages/astronotion/src/api/lib/flatten.ts
getCover
called by 5
packages/astronotion/src/api/lib/get-cover.ts
convertCodeLangNotionToShiki
called by 4
packages/astronotion/src/api/lib/code-block-lang.ts
replaceImageUrlWithDownloadable
called by 4
packages/astronotion/src/api/lib/image-file.ts
transformImageUrl
called by 4
packages/astronotion/src/api/lib/image-file.ts

Shape

Function 38

Languages

TypeScript100%

Modules by API surface

packages/astronotion/src/api/lib/transform-page.ts6 symbols
packages/astronotion/src/api/lib/image-file.ts6 symbols
packages/astronotion/src/api/client-static.ts6 symbols
packages/astronotion/src/api/lib/group-list-blocks.ts5 symbols
packages/astronotion/src/api/lib/type-utils.ts3 symbols
packages/astronotion/src/api/lib/get-astro-path.ts3 symbols
packages/astronotion/src/api/lib/code-block-lang.ts3 symbols
packages/astronotion/src/api/lib/flatten.ts2 symbols
packages/astronotion/src/api/lib/filter-blocks.ts2 symbols
packages/astronotion/src/api/lib/get-cover.ts1 symbols
packages/astronotion/src/api/lib/check-page-type.ts1 symbols

For agents

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

⬇ download graph artifact