https://github.com/aolyang/cloudflare-deepseek-code-reviewer
Code review/completion using Cloudflare Workers (AI & Octockit)
https://github.com/aolyang/cloudflare-deepseek-code-reviewer
ai cloudflare cloudflare-workers deepseek deepseek-r1 github-app github-bot guide headless nextjs nextjs15 prompts self-hosted
Last synced: 6 months ago
JSON representation
Code review/completion using Cloudflare Workers (AI & Octockit)
- Host: GitHub
- URL: https://github.com/aolyang/cloudflare-deepseek-code-reviewer
- Owner: aolyang
- Created: 2025-02-07T02:11:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-26T13:20:25.000Z (6 months ago)
- Last Synced: 2025-04-11T17:11:39.102Z (6 months ago)
- Topics: ai, cloudflare, cloudflare-workers, deepseek, deepseek-r1, github-app, github-bot, guide, headless, nextjs, nextjs15, prompts, self-hosted
- Language: TypeScript
- Homepage: https://github-ai.aolyang.me
- Size: 1.21 MB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloudflare worker AI for GitHub bot
+ a headless cloudflare worker use KV to store prompts, use Cloudflare AI to handle GitHub webhook events, for example:
issue command
+ handle routes by [hono](https://hono.dev/)
+ use [hono-openapi](https://github.com/rhinobase/hono-openapi)
and [zod-openapi](https://github.com/samchungy/zod-openapi#readme) (with zod) to define and validate query & params
schema
+ use [hono-openapi](https://github.com/rhinobase/hono-openapi) (api specs) to generate
api [schemas and docs](https://cloudflare-deepseek-code-reviewer.aolyang.workers.dev)
+ use [nextjs](https://nextjs.org/docs) to serve a nice interactive UI to operate Prompts
+ GitHub OAuth using [Next-Auth@v5](https://authjs.dev/getting-started)
+ Prompts Import/Export, Create/Update/Delete, Search Models, etc.
+ completely self-hostable, you can freely to deploy worker to your cloudflare account, and run Nextjs on your own
server*ps: prompt in example image below are not production usable, please add your own.
recommend site: [https://prompts.chat/](https://prompts.chat)
## A brief look
| unauthorized | authorized |
|----------------------------------------------|----------------------------------------|
|  |  || update | delete |
|----------------------------------------------|----------------------------------------------|
|  |  || quick add from model list | filter models |
|---------------------------------------------|----------------------------------------------|
|  |  || completely api doc generated by openapi |
|-----------------------------------------|
|  || show result |
|-------------------------------------|
|  |
|  |## online [home page](https://github-ai.aolyang.me) | [api doc](https://cloudflare-deepseek-code-reviewer.aolyang.workers.dev)
## dev & deploy guide
[English](./docs/deploy.md) | [简体中文](./docs/deploy.zh.md)