mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(web): llms.txt, convex live stats, switch to vercel and improved ui (#460)
This commit is contained in:
19
packages/backend/convex/stats.ts
Normal file
19
packages/backend/convex/stats.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { OssStats } from "@erquhart/convex-oss-stats";
|
||||
import { components } from "./_generated/api";
|
||||
|
||||
export const ossStats = new OssStats(components.ossStats, {
|
||||
githubOwners: ["AmanVarshney01"],
|
||||
githubRepos: ["AmanVarshney01/create-better-t-stack"],
|
||||
npmPackages: ["create-better-t-stack"],
|
||||
});
|
||||
|
||||
export const {
|
||||
sync,
|
||||
clearAndSync,
|
||||
getGithubOwner,
|
||||
getNpmOrg,
|
||||
getGithubRepo,
|
||||
getGithubRepos,
|
||||
getNpmPackage,
|
||||
getNpmPackages,
|
||||
} = ossStats.api();
|
||||
Reference in New Issue
Block a user