# install dependencies
pnpm install
Then edit info in vite.config.ts
.
const config = {
// ...
LINKS: {
domain: `https://pr.ryoppippi.com`, // The hostname of your site
repo: 'https://github.com/ryoppippi/pr.ryoppippi.com', // GitHub repository name ( will be the link of octocat icon 🐱 )
username: 'ryoppippi', // GitHub username
includeYourOwnPRs: 'true', // Include your own PRs 'true' or 'false'
},
// ...
};
export default config;
pnpm dev
(Optional): To prevent rate limiting, you can pass your GitHub token as an environment variable:
GITHUB_TOKEN=(gh auth token) pnpm dev
# build for production
pnpm build
pnpm preview
This repository supports deployment to Cloudflare Workers.
Run the following command:
pnpm run deploy