Веб-сервис для конвертации HTML-страниц в Markdown. Использует mdream (нативный Rust через P/Invoke) для конвертации и AngleSharp для извлечения контента статей.
| Проект | Описание |
|---|---|
| Fetch.Server | Бэкенд — EmbedIO HTTP-сервер (порт 5020) |
| Fetch.Cli | dotnet tool для CLI-доступа к API |
| Funny.WebScrape | Библиотека: загрузка страниц + конвертация HTML→MD |
GET /parse/url| Параметр | Значение | Описание |
|---|---|---|
url | string | URL страницы |
loadingType | HttpRequest | Selenium | Способ загрузки |
mode | Article | FullPage | Режим конвертации (по умолчанию Article) |
Режимы:
Article — извлечение основного контента (AngleSharp.ContentExtraction), затем mdreamFullPage — конвертация всей страницы через mdreamПример:
curl "http://localhost:5020/parse/url?url=https://example.com&loadingType=HttpRequest&mode=Article"
Ответ:
{"content": "# Example Domain\n\nThis domain is for use in illustrative examples..."}
dotnet tool install --global Fetch.Cli --add-source https://nuget.pkg.github.com/fan92rus/index.json
# Статья (по умолчанию)
fetch https://example.com
# Полная страница
fetch https://example.com -m full-page
# Через Selenium (для JS-рендеринга)
fetch https://example.com -l Selenium
# Другой сервер
fetch https://example.com -s http://myserver:5020
Опции:
| Флаг | Описание |
|---|---|
-m, --mode | article (по умолчанию) или full-page |
-l, --loading-type | HttpRequest (по умолчанию) или Selenium |
-s, --server | URL бэкенда (по умолчанию http://localhost:5020) |
docker build -t fetch-server .
docker run -p 5020:5020 fetch-server
С переменной REMOTE_BROWSER_URL можно подключить удалённый Chrome (Selenoid и т.п.):
docker run -p 5020:5020 -e REMOTE_BROWSER_URL=http://selenoid:4444/wd/hub fetch-server
Образ также доступен в GHCR:
docker pull ghcr.io/fan92rus/fetch:latest
Требования: .NET 9 SDK, MdreamWrapper из GitHub Packages.
# Восстановление зависимостей
dotnet restore
# Сборка
dotnet build
# Запуск сервера
dotnet run --project Fetch.Server
Для NuGet-аутентификации в GitHub Packages нужен nuget.config с токеном (уже в репозитории для CI).
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub fan92rus/fetch --plugin fetchComprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.