├── src ├── _redux │ ├── index.ts │ ├── rootReducer.ts │ └── store.ts ├── utils │ ├── noop.ts │ ├── setTitle.ts │ ├── logout.ts │ ├── randomString.ts │ ├── index.ts │ ├── assetsHelper.ts │ ├── imageCrop.ts │ └── formatData.ts ├── component │ ├── index.ts │ ├── Avatar │ │ ├── styled.ts │ │ └── index.tsx │ ├── CommentList │ │ ├── styled.ts │ │ └── index.tsx │ ├── CommentCard │ │ ├── tinyIcon.ts │ │ └── styled.ts │ └── CommentInput │ │ ├── styled.ts │ │ └── index.tsx ├── features │ ├── index.ts │ ├── Comment │ │ └── index.tsx │ ├── Notification │ │ ├── Styled.ts │ │ └── index.tsx │ └── Adblock │ │ └── index.tsx ├── layout │ ├── index.ts │ ├── frame │ │ ├── AppFrame.tsx │ │ ├── Footer.tsx │ │ └── Header.tsx │ └── core │ │ ├── ThemeProvider.tsx │ │ └── SplashScreen.tsx ├── Icon │ ├── index.tsx │ ├── BackOldIcon.tsx │ ├── MagnetIcon.tsx │ ├── svg │ │ ├── ie.svg │ │ ├── xiaomi.svg │ │ └── unknown.svg │ ├── Ed2kIcon.tsx │ └── DoubanRateIcon.tsx ├── hooks │ ├── index.ts │ ├── useAuth.ts │ ├── useRedux.ts │ ├── useLoginBack.ts │ ├── useGoResourcePage.ts │ └── useDomeSize.ts ├── app │ ├── pages │ │ ├── motFound │ │ │ └── index.tsx │ │ ├── index.ts │ │ ├── login │ │ │ └── userSlice.ts │ │ ├── home │ │ │ ├── LastComment │ │ │ │ ├── Styled.ts │ │ │ │ └── index.tsx │ │ │ ├── Announce │ │ │ │ └── index.tsx │ │ │ ├── Styled.ts │ │ │ ├── LastResource │ │ │ │ └── index.tsx │ │ │ └── index.tsx │ │ ├── discuss │ │ │ └── index.tsx │ │ ├── search │ │ │ ├── Rank.tsx │ │ │ ├── Section.tsx │ │ │ ├── CommentDrawer.tsx │ │ │ ├── SubtitleDrawer.tsx │ │ │ └── index.tsx │ │ ├── resource │ │ │ ├── DownloadBtn.tsx │ │ │ ├── Address.tsx │ │ │ └── index.tsx │ │ ├── help │ │ │ └── index.tsx │ │ ├── me │ │ │ └── avatarUploader.tsx │ │ └── database │ │ │ └── index.tsx │ ├── modules │ │ └── statistics │ │ │ ├── styled.ts │ │ │ ├── index.tsx │ │ │ └── Visitor.tsx │ ├── themeSlice.ts │ ├── Routes.tsx │ ├── App.tsx │ └── BasePage.tsx ├── API │ ├── index.ts │ ├── database.ts │ ├── announce.ts │ ├── notification.ts │ ├── axiosConfig.ts │ ├── metrics.ts │ ├── user.ts │ ├── search.ts │ ├── comment.ts │ └── resource.ts ├── setupProxy.js ├── index.tsx ├── material.d.ts └── react-app-env.d.ts ├── .sentryclirc ├── src-tauri ├── build.rs ├── src │ └── main.rs ├── Cargo.toml └── tauri.conf.json ├── public ├── logo.icns ├── logo.ico ├── logo.png ├── favicon.ico ├── logo192.png ├── logo512.png ├── robots.txt ├── sponsor │ ├── afdian.png │ ├── coffee.jpg │ └── stripe.png ├── manifest.json ├── index.css ├── svg │ ├── mongodb.svg │ ├── sqlite.svg │ ├── logo.svg │ ├── mysql.svg │ ├── login.svg │ └── emptyAddress.svg └── index.html ├── Makefile ├── .github ├── dependabot.yml └── workflows │ └── builder.yml ├── .env.example ├── .gitignore ├── README.md ├── tsconfig.json └── package.json /src/_redux/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./store"; 2 | -------------------------------------------------------------------------------- /src/utils/noop.ts: -------------------------------------------------------------------------------- 1 | export const noop = () => {}; 2 | -------------------------------------------------------------------------------- /.sentryclirc: -------------------------------------------------------------------------------- 1 | [defaults] 2 | project=yyets 3 | org=yyets 4 | -------------------------------------------------------------------------------- /src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | tauri_build::build() 3 | } 4 | -------------------------------------------------------------------------------- /public/logo.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/logo.icns -------------------------------------------------------------------------------- /public/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/logo.ico -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | default: 2 | git tag $$(git rev-parse --short HEAD) 3 | git push 4 | git push --tags -v 5 | -------------------------------------------------------------------------------- /public/sponsor/afdian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/sponsor/afdian.png -------------------------------------------------------------------------------- /public/sponsor/coffee.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/sponsor/coffee.jpg -------------------------------------------------------------------------------- /public/sponsor/stripe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tgbot-collection/YYeTsFE/HEAD/public/sponsor/stripe.png -------------------------------------------------------------------------------- /src/component/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./CommentInput"; 2 | export * from "./CommentList"; 3 | export * from "./Avatar"; 4 | -------------------------------------------------------------------------------- /src/features/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Comment"; 2 | export * from "./Notification"; 3 | export * from "./Adblock"; 4 | -------------------------------------------------------------------------------- /src/utils/setTitle.ts: -------------------------------------------------------------------------------- 1 | export function setTitle(title: string) { 2 | document.title = `${title } - 人人影视下载分享站`; 3 | } 4 | -------------------------------------------------------------------------------- /src/layout/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./core/ThemeProvider"; 2 | export * from "./core/SplashScreen"; 3 | 4 | export * from "./frame/AppFrame"; 5 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "npm" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | -------------------------------------------------------------------------------- /src/Icon/index.tsx: -------------------------------------------------------------------------------- 1 | export * from "./Ed2kIcon"; 2 | export * from "./MagnetIcon"; 3 | export * from "./DoubanRateIcon"; 4 | export * from "./BackOldIcon"; 5 | -------------------------------------------------------------------------------- /src/utils/logout.ts: -------------------------------------------------------------------------------- 1 | import Cookies from "js-cookie"; 2 | 3 | export function logout() { 4 | Cookies.remove("username"); 5 | localStorage.removeItem("username"); 6 | } 7 | -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./useLoginBack"; 2 | export * from "./useRedux"; 3 | export * from "./useAuth"; 4 | export * from "./useDomeSize"; 5 | export * from "./useGoResourcePage"; 6 | -------------------------------------------------------------------------------- /src/app/pages/motFound/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | import { setTitle } from "utils"; 3 | 4 | export function NotFoundPage() { 5 | setTitle("404"); 6 | return
103 |
141 |
142 |
143 |