MCPcopy Create free account
hub / github.com/R44VC0RP/opencode.cafe / fetchReadme

Function fetchReadme

scripts/import-awesome-list.ts:134–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134async function fetchReadme(): Promise<string> {
135 console.log("Fetching awesome-opencode README...")
136 const response = await fetch(AWESOME_OPENCODE_RAW_URL)
137 if (!response.ok) {
138 throw new Error(`Failed to fetch README: ${response.status}`)
139 }
140 return response.text()
141}
142
143async function importToConvex(extensions: ParsedExtension[], dryRun: boolean = true) {
144 if (dryRun) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected