Commit Graph
25 Commits
Author SHA1 Message Date
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

* fix: unicorn/no-array-callback-reference

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
Goestav e543a92ee6 fix(route/openai): fetch OpenAI blog articles through RSS feed (#18952)
* fix(route/openai): fetch news through RSS feed

* refactor: rename blog route to news

* refactor(route/openai): ensure limit parameter works as expected

* refactor(route/openai): use user agent from configuration

* refactor(route/openai): cache data items

* refactor(route/openai): cache individual data items

* refactor: read query string parameter instead of path parameter
2025-04-28 03:23:19 +08:00
DIYgod 83e701b592 feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
Tony 4fa33716c1 docs: remove indent (#18247)
* docs: remove indent

* docs: remove more indent

* docs: remove h5 indent

* docs: remove h4 indent

* docs: remove details indent
2025-01-31 22:17:58 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
liyaozhong c72446556f feat(route/cookbook): Add OpenAICookbook (#17196)
* feat(route/cookbook): Add OpenAICookbook

fix(route/cookbook): add missing example & follow the guidelines

fix(route/cookbook): use ofetch

fix(route/cookbook): delete duplicated namespace.ts

fix(route/cookbook): lint issues

* fix: use namespace `openai`

---------
2024-10-30 12:18:54 +08:00
github-actions[bot] 9af421ae2f style: auto format 2024-05-10 14:46:15 +00:00
Tony 0893debb07 style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b fix: add routes 2024-03-09 03:24:53 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod a10bafb263 fix: __dirname 2024-03-04 00:46:26 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
StevenRCE0andgithub-actions[bot] 9b6594bbad feat(route): Update route OpenAI (#12113)
* Updated route OpenAI

* style: auto format

* Improved route OpenAI

* Use cheerio to remove comments

* style: auto format

* Update lib/v2/openai/radar.js

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-16 17:39:08 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
Ethan Shen bf62cc9e38 feat: add openai blog (#6301) 2020-12-01 11:38:54 +00:00