Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 618 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 618 Bytes

Development

1. set API keys to .dev.vars

cp .dev.vars.exmaple .dev.vars

get API keys and set to .dev.vars

2. set kv_namespaces id to wrangler.toml

https://developers.cloudflare.com/kv/concepts/kv-namespaces/

3. run dev server

npm install
npm run dev

Deploy

set API keys(GEMINI_API_KEY) to enviroment variable

Endpoint

/:unixTime/:rssUrl

  • unixTime : the article description for pubDate after this value will be replaced by a auto generated summary (set 0 to replace all)
  • rssUrl : target rssUrl