GithubHelp home page GithubHelp logo

yjl9903 / animegarden Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 3.0 8.12 MB

動漫花園 3-rd party mirror site and Anime Torrent aggregation site

Home Page: https://garden.onekuma.cn/

License: MIT License

TypeScript 77.03% JavaScript 0.97% Astro 15.06% CSS 6.91% HTML 0.03%
animation anime dmhy anitomy torrent scraper animelist bangumi animespace animegarden

animegarden's Introduction

Metrics

An Retired XCPCer from Nanjing University of Science and Technology.

Learning Programming Languages and Static Program Analysis.

Love 青葉 モカ, 美竹 蘭 and Afterglow!

birthday

animegarden's People

Contributors

renovate[bot] avatar teiiiiiio avatar yjl9903 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

animegarden's Issues

feat: generate RSS

Clear and concise description of the problem

No response

Suggested solution

No response

Additional context

No response

feat(app): refactor rss query resolve

Clear and concise description of the problem

Use a json object (array) to generate rss, instead of the same query params.

Suggested solution

No response

Additional context

No response

搜索无法使用

Describe the bug

搜索无法使用

Reproduction

No response

Browser Info

No response

Search: Title excluding pattern not working

Describe the bug

Pattern:
标题:"Girls Band Cry" 标题:排除:繁體

  • Filter "标题:排除:繁體" not working.

排除:xxx 或者 -xxx:返回的每一条结果的标题不能包含其指定的所有关键词.

Expected behavior: It should return titles that do not include "繁體", but it returned the same results as the pattern 标题:"Girls Band Cry", which includes:

  • [北宇治字幕组] GIRLS BAND CRY [02][WebRip][HEVC_AAC][繁體內嵌]
  • [桜都字幕組] Girls Band Cry / Girls Band Cry [01][1080p][繁體內嵌]
    ...

Reproduction

No response

Browser Info

Any

bug: 搜索框无法输入 s 和 /

Clear and concise description of the problem

Search.tsx

  document.addEventListener('keypress', (ev) => {
    if (ev.key === 's' || ev.key === '/') {
      const input = document.querySelector('#animegarden-search input');
      // @ts-ignore
      input?.focus();
      ev.preventDefault();
      ev.stopPropagation();
    }
  });

输入s或者/会focus到input上用于快速输入,我认为主页的搜索框无法输入s的行为很怪异
不确认这是否是有意的行为,所以我没有提交为bug issue

Suggested solution

可以保留/

Additional context

No response

perf(worker): cache recent resources

App

Specify a begin date when listing resources to trigger cache.

Worker

Cache the result from up to 6 months ago to now, and the cache is live for 5 minutes (same as refresh interval).

When receives a query with after, use the cache first.

bug: astro render jsx true incorrectly

Describe the bug

Search: 【我推的孩子】v fansub:桜都字幕组 include:简日内嵌

image

Reproduction

No response

System Info

No response

Used Package Manager

None

feat: support abort controller

Clear and concise description of the problem

No response

Suggested solution

No response

Additional context

No response

how to dev locally

当我在本地执行了pnpm run dev后,web app打开会报错TypeError: Cannot read properties of undefined (reading 'env')
然后我搜索了Astro.locals.runtime.env,得知这是Cloudflare的runtime,所以dev时也需要部署到Cf上吗

feat(app): clear history search

Clear and concise description of the problem

  • add "清空" button to clear all search history
  • add close icon button to clear click item history

Suggested solution

No response

Additional context

No response

feat(app): home page

  • List the recent animes
  • User prefer resources list powered by cookie
  • Use LRU to sort the fansub

feat(animegarden): mark deleted resource item

Clear and concise description of the problem

Some resources may have been deleted from the source dmhy site. However, for we check dmhy in every 5 mins, so that there are some deleted resources shown in the list.

Some resources may be updated after the creation.

Suggested solution

No response

Additional context

No response

feat(app): display loading indicator

Clear and concise description of the problem

Avoid users feeling there is no feedback when making http request.

Suggested solution

No response

Additional context

No response

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): lock file maintenance

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.dev.yml
dockerfile
Dockerfile.Application
Dockerfile.Server
github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • pnpm/action-setup v3.0.0
  • actions/setup-node v4
.github/workflows/deploy.yml
  • actions/checkout v4
  • pnpm/action-setup v3.0.0
  • actions/setup-node v4
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-node v4
nodenv
.node-version
npm
package.json
  • @cloudflare/workers-types ^4.20240423.0
  • @types/fs-extra ^11.0.4
  • @types/node ^20.12.7
  • breadc ^0.9.7
  • drizzle-kit ^0.20.17
  • fs-extra ^11.2.0
  • https-proxy-agent ^7.0.4
  • ofetch ^1.3.4
  • prettier ^3.2.5
  • prettier-plugin-astro ^0.13.0
  • tsx ^4.7.3
  • turbo ^1.13.3
  • typescript ^5.4.5
  • unbuild ^2.0.0
  • undici ^6.14.1
  • vitest ^1.5.2
  • wrangler ^3.52.0
  • pnpm 9.0.6
packages/animegarden/package.json
  • simptrad ^0.1.0
  • zod ^3.23.4
packages/app/package.json
  • @astrojs/cloudflare ^10.2.4
  • @astrojs/node ^8.2.5
  • @astrojs/react ^3.3.1
  • @astrojs/rss ^4.0.5
  • @astrojs/sitemap ^3.1.4
  • @astrojs/tailwind ^5.1.0
  • @breadc/color ^0.9.7
  • @floating-ui/react ^0.26.12
  • @formkit/auto-animate ^0.8.2
  • @radix-ui/react-dialog ^1.0.5
  • @radix-ui/react-dropdown-menu ^2.0.6
  • @radix-ui/react-popover ^1.0.7
  • @radix-ui/react-scroll-area ^1.0.5
  • @radix-ui/react-slot ^1.0.2
  • @radix-ui/react-tooltip ^1.0.7
  • astro ^4.7.0
  • astro-robots-txt ^1.0.0
  • bgmd ^0.0.49
  • class-variance-authority ^0.7.0
  • clsx ^2.1.1
  • cmdk ^1.0.0
  • jotai ^2.8.0
  • lucide-react ^0.376.0
  • next-themes ^0.3.0
  • react 18.3.1
  • react-dom 18.3.1
  • react-draggable ^4.4.6
  • sonner ^1.4.41
  • swagger-ui-react ^5.17.2
  • swr ^2.2.5
  • tailwind-merge ^2.3.0
  • tailwindcss-animate ^1.0.7
  • video.js ^8.10.0
  • webtorrent ^2.2.1
  • zod ^3.23.4
  • @iconify-json/ant-design ^1.1.16
  • @iconify-json/carbon ^1.1.31
  • @iconify-json/devicon ^1.1.40
  • @onekuma/preset.css ^0.1.11
  • @onekuma/reset ^0.1.11
  • @total-typescript/ts-reset ^0.5.1
  • @types/react 18.3.1
  • @types/react-dom 18.3.0
  • @types/swagger-ui-react ^4.18.3
  • @types/webtorrent ^0.109.8
  • @unocss/reset ^0.59.4
  • @vite-pwa/assets-generator ^0.2.4
  • @vite-pwa/astro ^0.3.1
  • anitomy 0.0.34
  • date-fns ^2.30.0
  • date-fns-tz ^2.0.1
  • tailwindcss ^3.4.3
  • unocss ^0.59.4
  • unplugin-analytics ^0.0.11
  • unplugin-info ^1.1.0
packages/cli/package.json
  • @breadc/color ^0.9.7
  • breadc ^0.9.7
  • dotenv ^16.4.5
  • fs-extra ^11.2.0
  • undici ^6.14.1
  • zod ^3.23.4
packages/database/package.json
  • anitomy 0.0.34
  • drizzle-orm ^0.30.9
  • meilisearch ^0.38.0
  • postgres ^3.4.4
  • unstorage ^1.10.2
  • dotenv ^16.4.5
packages/scraper/package.json
  • cheerio 1.0.0-rc.12
  • zod ^3.23.4
packages/server/package.json
  • @breadc/color ^0.9.7
  • @hono/node-server ^1.11.1
  • @hono/zod-validator ^0.2.1
  • croner ^8.0.2
  • dotenv ^16.4.5
  • drizzle-orm ^0.30.9
  • hono ^4.2.8
  • ioredis ^5.4.1
  • memofunc ^0.1.5
  • ohash ^1.1.3
  • string-width ^7.1.0
  • unstorage ^1.10.2
  • zod ^3.23.4
packages/worker/package.json
  • anitomy 0.0.34
  • bgmd ^0.0.49
  • hono ^4.2.8
  • memofunc ^0.1.5
  • ohash ^1.1.3
  • @total-typescript/ts-reset ^0.5.1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.