Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ getGithubRepoInfo
Function
getGithubRepoInfo
apps/public/src/lib/github.ts:1–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
export
async
function
getGithubRepoInfo() {
2
try {
3
const
res =
await
fetch(
4
'https://api.github.com/repos/Openpanel-dev/openpanel'
,
5
);
6
return
res.json();
7
} catch (e) {
8
return
null;
9
}
10
}
Callers
1
GithubButton
Function · 0.90
Calls
1
fetch
Function · 0.50
Tested by
no test coverage detected