MCPcopy Index your code
hub / github.com/denoland/apiland

github.com/denoland/apiland @1.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.8.0 ↗ · + Follow
143 symbols 346 edges 17 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

apiland

The Deno API Server.

Documentation

The APIs that are available with this server are documented in /specs/api-2.0.0.yaml as an OpenAPI 3.1 specification and can be viewed here.

Usage

The current production API server is available on apiland.deno.dev. Currently only the /webhook/publish requires an API token and it not part of the public API of the server.

Architecture

The API server uses Google Datastore as the persistance layer. It connects to the datastore using the google_datastore module.

The API server uses an API focused framework named acorn to serve the APIs.

The API server processes and documents third party modules registered on deno.land as well as the Deno Standard Library and built-in APIs for the Deno. It uses deno_graph and deno_doc to accomplish this, which are components that are part of the Deno CLI but are also available as Wasm libraries with a JavaScript/TypeScript interface.

Local development

A local development server is available using:

> deno task dev

Note that you need to have a properly configured .env file for this to work. An example file is included in .env.example, but for obvious reasons we will not make the production keys available.

Extension points exported contracts — how you extend this code

DocNodeNull (Interface)
(no doc)
docs.ts
MappedDependency (Interface)
(no doc)
analysis.ts
PagedItems (Interface)
(no doc)
main.ts
ApiModuleData (Interface)
(no doc)
types.d.ts
TokenManagerJson (Interface)
(no doc)
auth.ts
TaskBase (Interface)
(no doc)
process.ts
LegacyIndex (Interface)
(no doc)
docs.ts
MappedModule (Interface)
(no doc)
analysis.ts

Core symbols most depended-on inside this repo

assert
called by 41
util.ts
moduleDependencyToURLAndDisplay
called by 41
util.ts
getDatastore
called by 32
auth.ts
lookup
called by 19
auth.ts
lookup
called by 17
cache.ts
has
called by 10
auth.ts
ip4ToInt
called by 6
util.ts
isIp4InCidr
called by 6
util.ts

Shape

Function 96
Interface 35
Method 9
Class 2
Enum 1

Languages

TypeScript100%

Modules by API surface

types.d.ts23 symbols
auth.ts20 symbols
webhook.ts18 symbols
docs.ts15 symbols
modules.ts12 symbols
analysis.ts12 symbols
process.ts10 symbols
cache.ts9 symbols
util.ts6 symbols
completions.ts6 symbols
test.ts4 symbols
main.ts3 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page