An open API service indexing awesome lists of open source software.

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)

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 |
|----------------------------------------------|----------------------------------------|
| ![home-no-login](./assets/home-no-login.png) | ![home-login](./assets/home-login.png) |

| update | delete |
|----------------------------------------------|----------------------------------------------|
| ![update-prompt](./assets/update-prompt.png) | ![delete-prompt](./assets/delete-prompt.png) |

| quick add from model list | filter models |
|---------------------------------------------|----------------------------------------------|
| ![quick-add](./assets/add-model-prompt.png) | ![filter-models](./assets/filter-models.png) |

| completely api doc generated by openapi |
|-----------------------------------------|
| ![api doc](./assets/api-doc.png) |

| show result |
|-------------------------------------|
| ![result](./assets/res-example.png) |
| ![args](./assets/add-args.png) |

## 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)