Lukas Wolfsteiner
5b4fe8e68d
feat(route): add user likes activity for Hugging Face ( #21838 )
...
Introduces a new route to fetch and display user likes activity from Hugging Face, including links to liked repositories and their types.
The route is accessible via '/activity/:user/likes' and supports various repository types such as datasets, spaces, papers, and collections.
This is done by parsing the JSON provided through the HuggingFace API.
E.g.: `https://huggingface.co/api/users/dotwee/likes `
2026-04-27 03:04:25 +08:00
Tony
7785a7bde4
style: update eslint rules ( #21207 )
...
* style: update eslint rules
* style: fix prefer-object-spread
* style: fix no-lonely-if
* fix: typescript-eslint/no-unnecessary-template-expression
* fix: sort import
* style: apply file filtering to config presets
* revert: changes on pkg
* style: revert
* style: use defineConfig
* style: reorder js plugin in eslint config
* chore: remove obsolete override
* style: fix CodeQL initialization to ensure language matrix is used
2026-02-23 08:17:37 +08:00
Tony
b84bb92a8a
style: replace unicorn/no-for-loop w/ typescript/prefer-for-of ( #20798 )
...
* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of
* style: fix typescript-eslint/prefer-for-of
* style: fix typescript/no-inferrable-types
* style: fix typescript-eslint/consistent-generic-constructors
* style: typescript-eslint/consistent-type-assertions
* style: fix typescript-eslint/array-type
* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
2026-01-02 09:42:24 +08:00
grenade
3f42a429ee
fix(route/huggingface): Add allowEmpty option to huggingface daily papers response ( #20739 )
...
Fixes https://github.com/DIYgod/RSSHub/issues/20738
2025-12-22 09:54:51 +00:00
WuNein
fd12cf8e75
fix(route/huggingface): add huggingface group models detail ( #20646 )
...
* Adding Huggingface Model details
* more robust
* fix deepscan's problem, shall not be a problem !!!!! 404 should be a proper state !!!!!
* md2html and image url fix
2025-12-07 17:40:02 +08:00
WuNein
dd142bff03
feat(route): add huggingface group models route ( #20631 )
...
* feat(route): add huggingface group models route
* feat(route): add huggingface group models route , eslint fix
* feat(route): add huggingface group models route , eslint fix
* remove Unnecessary fliter
* remove no use date
2025-12-06 10:59:39 +08:00
Jinghao Tu
7196256dcd
fix(route/huggingface): fix getting blog links and community blog author data handling. ( #20644 )
...
* fix(route/huggingface): fix getting blog links and community blog author data handling.
* fix(route/huggingface): fix property error.
2025-12-06 01:04:10 +08:00
Jinghao Tu
d81a7b2b32
fix(route/huggingface): restore article list and author parsing ( #20599 )
...
* fix(route/huggingface): restore article list and author parsing
- lib/routes/huggingface/blog-zh.ts: Read articles from data.props.allBlogs and construct /blog/zh/:slug links; use authorsData (fullname or name) for author names.
- lib/routes/huggingface/blog.ts: Read articles from data.props.allBlogs and switch author parsing to authorsData (fullname or name); preserve upvotes and thumbnail handling.
- lib/routes/huggingface/daily-papers.ts: Relax selector to read data.props from div[data-target="DailyPapers"] so DailyPapers props can be retrieved.
* fix(route/huggingface): use api instead of http; title is at right property.
2025-12-01 23:57:43 +08:00
Tony
bf9f4b5961
style: fix import
2025-11-27 11:22:19 +08:00
github-actions[bot]
a28890a135
style: auto format
2025-11-27 02:55:46 +00:00
dependabot[bot]
802cbf95d2
chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 ( #19998 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 60.0.0 to 61.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-version: 61.0.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* refactor: replace `replace(/regex/g)` with replaceAll
* refactor: replace sort() with toSorted() for immutability in various routes and utilities
* refactor: fix unicorn/prefer-array-find
* refactor: fix unicorn/prefer-at
* refactor: add unicorn/no-array-sort rule to ESLint configuration
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 23:03:48 +08:00
Tim
661efcf41c
feat(routes): Support fetching by different publication cycle and flitering by votes for Huggingfce papers. ( #19858 )
...
* feat(routes): Support fetching by different publication cycle and flitering by votes for Huggingfce papers.
* feat(routes): add comment links
* fix(routes): string concatenation style & remove upvotes info from description
* fix(routes): remove comments
2025-08-22 22:16:30 +08:00
Guorui Yu
4e7fb94cec
feat(route): add community blogs for huggingface ( #19043 )
2025-05-08 21:03:24 +08:00
Cesaryuan
bca47a11aa
feat(route): add huggingface english blog ( #17975 )
2024-12-26 10:58:09 +08:00
pseudoyu
0a42f88de7
feat(route): add lang field in route namespace
2024-11-01 22:09:31 +07:00
J. H. Cao
8a60688bda
fix(route/huggingface): sanitize the pubDate value to capture blog publication date ( #17016 )
2024-10-06 15:35:14 -07:00
Tony
d585a87daf
fix: allow multiple radar rules per route ( #14800 )
...
* fix: allow multiple radar rules per route
* fix: github folder
* feat: add namespace to radar target
* docs: fix types url
2024-03-16 03:28:44 +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
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
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