[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8756":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":15,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":28,"discoverSource":29},8756,"avhub","levywang\u002Favhub","levywang","R18 Resource Search & Management Tool","https:\u002F\u002Favhub.vercel.app",null,"Vue",2694,283,6,1,0,2,8,61.16,"Apache License 2.0",false,"main",true,[],"2026-06-12 04:00:41","\u003Cdiv align=\"center\">\n  \u003Cimg src=\"web\u002Fpublic\u002Fimgs\u002Flogo_opaque.png\" alt=\"AvHub Logo\">\n\u003C\u002Fdiv>\n\n# AvHub - R18 Resource Search & Management Tool\n\n**AvHub** is a web platform dedicated to the retrieval and management of R18 video resources, with a Vue 3 frontend served directly by the FastAPI backend.\n\nCloudflare Page: https:\u002F\u002Favhub.pages.dev\u002F\n\nVercel Page: https:\u002F\u002Favhub.vercel.app\u002F\n\n****\n\n[![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Flevywang\u002Favhub?label=License&logo=github)](https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub\u002Fblob\u002Fmain\u002FLICENSE \"Click to view the repo on Github\")\n[![Release Version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Flevywang\u002Favhub?include_prereleases&label=Release&logo=github)](https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub\u002Freleases\u002Flatest \"Click to view the repo on Github\")\n[![GitHub Star](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Flevywang\u002Favhub?label=Stars&logo=github)](https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub \"Click to view the repo on Github\")\n[![GitHub Fork](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002Flevywang\u002Favhub?label=Forks&logo=github)](https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub\u002Fforks?include=active%2Carchived%2Cinactive%2Cnetwork&page=1&period=2y&sort_by=stargazer_counts \"Click to view the repo on Github\")\n[![Repo Size](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frepo-size\u002Flevywang\u002Favhub?label=Size&logo=github)](https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub \"Click to view the repo on Github\")\n[![GitHub Issue](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues-closed-raw\u002Flevywang\u002Favhub?label=Closed%20Issue&logo=github)](https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub\u002Fissues?q=is%3Aissue+is%3Aclosed \"Click to view the repo on Github\")\n\n[![Docker Stars](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fstars\u002Flevywang\u002Favhub?label=Stars&logo=docker)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Flevywang\u002Favhub \"Click to view the image on Docker Hub\")\n[![Docker Pulls](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Flevywang\u002Favhub?label=Pulls&logo=docker)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Flevywang\u002Favhub \"Click to view the image on Docker Hub\")\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=levywang\u002Favhub&type=Date)](https:\u002F\u002Fstar-history.com\u002F#levywang\u002Favhub&Date)\n\n[English](README.md) | [简体中文](README_CN.md)\n\n---\n\n### Core Features\n\n● 🔗 **Magnet Link Search by Video Code**  \n  &emsp;Accurately find magnet links and cover images corresponding to video codes.  \n● 📅 **Timely Hacg Resource Updates**  \n  &emsp;Automatically update and archive monthly hacg resources, with manual refresh support.  \n● 📊 **Random Video Recommendation**  \n  &emsp;Random playback functionality based on crawled data.  \n● 🌐 **Multi-language Support**  \n  &emsp;Supports Chinese and English interfaces.  \n● 🎨 **Multiple Theme Options**  \n  &emsp;Dark, Light, Emerald, Ocean, and Amethyst themes.  \n● 🔒 **API Key Authentication**  \n  &emsp;Optional access protection via API Key, configurable via environment variable.  \n\n---\n\n## Getting Started\n\n### Run Locally\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub.git\ncd avhub\n\n# Build frontend\ncd web\nnpm install\nnpm run build\ncd ..\n\n# Install backend dependencies and run\npip install -r requirements.txt\npython main.py\n```\n\nThe service will be available at `http:\u002F\u002F127.0.0.1:8000\u002F`. The frontend is served directly by the FastAPI backend from `web\u002Fdist`.\n\n### Docker Deployment\n\nThe Docker image uses a multi-stage build: Node.js builds the frontend, then the output is copied into the Python image. No pre-build step is needed.\n\n```bash\n# Pull and run from Docker Hub\ndocker run -d \\\n  -p 8000:8000 \\\n  -v $PWD\u002Fdata:\u002Fapp\u002Fdata \\\n  --name avhub \\\n  levywang\u002Favhub:latest\n```\n\nOr build locally:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Flevywang\u002Favhub.git\ncd avhub\ndocker build -t avhub .\ndocker run -d -p 8000:8000 -v $PWD\u002Fdata:\u002Fapp\u002Fdata --name avhub avhub\n```\n\n---\n\n### Configuration\n\nThe backend configuration file is located at `data\u002Fconfig.yaml`. All key options support **environment variable overrides**.\n\n#### Proxy (required for servers in China)\n\n`missav` is blocked in China. Configure a proxy in `data\u002Fconfig.yaml` or via environment variables:\n\n```yaml\nav_spider:\n  source_url: \"https:\u002F\u002Fmissav.ai\u002Fcn\u002Fsearch\u002F\"\n  proxy_url: \"http:\u002F\u002F192.168.50.3:7890\"  # HTTP or SOCKS5 proxy\n  use_proxy: true\n```\n\n#### API Key Authentication\n\nTo restrict access, enable authentication:\n\n```yaml\napp:\n  auth_enabled: true\n  api_key: \"your-secret-key\"\n```\n\nOr via environment variables when running Docker:\n\n```bash\ndocker run -d \\\n  -p 8000:8000 \\\n  -v $PWD\u002Fdata:\u002Fapp\u002Fdata \\\n  -e AUTH_ENABLED=true \\\n  -e API_KEY=your-secret-key \\\n  -e USE_PROXY=true \\\n  -e PROXY_URL=http:\u002F\u002F192.168.50.3:7890 \\\n  --name avhub \\\n  levywang\u002Favhub:latest\n```\n\n#### All Supported Environment Variables\n\n| Variable | Default | Description |\n|---|---|---|\n| `AUTH_ENABLED` | `false` | Enable API Key authentication |\n| `API_KEY` | `123456` | API Key value |\n| `USE_PROXY` | `false` | Enable proxy for spider requests |\n| `PROXY_URL` | `http:\u002F\u002F127.0.0.1:7890` | Proxy address |\n| `USE_CACHE` | `true` | Cache search results locally |\n| `CACHE_DIR` | `\u002Fapp\u002Fdata\u002F.av` | Cache directory path |\n| `AV_SOURCE_URL` | `https:\u002F\u002Fmissav.ai\u002Fcn\u002Fsearch\u002F` | AV search source URL |\n| `HACG_SOURCE_URL` | `https:\u002F\u002Fwww.hacg.mov` | Hacg source URL |\n\n---\n\n### Technology Stack\n\n- **Frontend**: Vue 3 + Vite + Tailwind CSS + hls.js\n- **Backend**: Python + FastAPI (also serves the frontend static files)\n- **Containerization**: Docker multi-stage build (Node.js → Python)\n- **Privacy**: Does not host any resource files. All data is retrieved via third-party links.\n\n---\n\n### Data Sources\n\n- **Magnet Links & Cover Images**: sourced from **missav**\n- **Hacg Resources**: sourced from **hacg liuli**\n- **Random Video Recommendations**: sourced from crawled data stored in `\u002Fdata\u002Fvideo_urls.txt`\n\nAll data sources are configured in `data\u002Fconfig.yaml`.\n\n---\n\n### Legal Disclaimer\n\nUsers must comply with the laws and regulations of their respective regions. AvHub is solely a resource retrieval tool and does not involve the distribution or storage of any resources.\n\n---\n\n### License\n\nThis project is provided under an **Apache License 2.0** license that can be found in the [LICENSE](LICENSE) file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.\n","AvHub 是一个专门用于检索和管理R18视频资源的网络平台。它采用Vue 3作为前端框架，并由FastAPI后端直接提供服务，支持通过视频代码搜索磁力链接、自动更新并归档每月的新资源、随机播放推荐视频等功能。此外，该工具还具备多语言界面（中文和英文）、多种主题样式选择以及可选的API密钥认证机制以增强安全性。AvHub适用于需要高效管理和访问成人内容资源的个人或团队，在确保隐私与安全的前提下提升用户体验。","2026-06-11 03:19:36","top_language"]