轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
hidewall

astrognome/hidewall

astrognome

Repo for hidewall.io

下载次数: 0状态:社区镜像维护者:astrognome仓库类型:镜像最近更新:3 个月前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
轩辕镜像,不浪费每一次拉取。
点击查看

Hidewall

https://github.com/sashakarcz/hidewall/actions/workflows/docker-image.yml/badge.svg](https://github.com/sashakarcz/hidewall/actions/workflows/docker-image.yml) ![Go Version]([] ![License: MIT]([]

About

Hidewall is a high-performance web service designed to bypass soft paywalls on news and article websites. It powers the public instance at hidewall.io.

Completely rewritten in Go for superior performance, smaller resource footprint, and enhanced security. The modern Go implementation delivers:

  • 10x faster response times compared to the original Python version
  • 90% smaller Docker images (multi-stage builds)
  • Built-in security hardening (SSRF protection, rate limiting, secure headers)
  • Graceful shutdown and production-ready error handling
  • Concurrent request processing with minimal memory overhead

Bypass Techniques

Hidewall employs multiple strategies to access paywalled content:

  • Archive.today integration - Searches existing archives across multiple mirror domains (archive.ph, archive.is, archive.vn)
  • 12ft Ladder support - Leverages the popular paywall bypass service
  • Wayback Machine fallback - Retrieves content from Internet Archive snapshots
  • Smart user agent switching - Uses ***bot UA for simple paywalls, PlayStation 5 UA for sophisticated detection systems
  • Referrer spoofing - Employs Google, ***, and *** referrers for stubborn paywalls
  • Content processing - Fixes relative URLs, removes scripts, and optimizes images for clean article display

Security Features

  • SSRF Protection - Validates URLs and blocks access to private IP ranges, localhost, and internal networks
  • Rate Limiting - Per-IP rate limiting (10 requests per minute) to prevent abuse
  • Security Headers - Implements X-Content-Type-Options, X-Frame-Options, X-XSS-Protection, and more
  • Input Validation - Comprehensive URL validation and HTML escaping to prevent injection ***s
  • Response Size Limits - Protects against memory exhaustion (10MB limit)
  • Redirect Protection - Limits redirect chains and validates redirect targets

You can run this locally via Docker, or use the public version at https://hidewall.io

How to use

Hidewall has a simple web UI where you may enter your requested URL that is blocked by a paywall. You can also pass the URL you want to https://hidewall.io/yeet?y=.

Android

This can be installed as a Progressive Web App (PWA). If you visit https://hidewall.io, you will be prompted to "Add Hidewalls to Home screen". This will download a PWA version that you can use to share blocked content to.

iOS

A Shortcut is offered for iOS here.

Chrome Extension

Now in the Chrome Store!

Installation

Prerequisites

  • Docker and Docker Compose
  • Alternatively: Go 1.21+ for building from source

Quick Start with Docker Compose (Recommended)

  1. Clone the repository:
bash
git clone https://github.com/usenix17/hidewall.git
cd hidewall
  1. Start the service:
bash
docker compose up -d
  1. Access the service at http://localhost:8069

The Docker Compose configuration includes a Traefik label for reverse proxy integration. Configure Traefik separately according to your infrastructure needs.

Building from Source

Docker Build

Build the optimized Docker image with multi-stage compilation:

bash
docker build -t hidewall:latest .

Run the container:

bash
docker run -d \
  -p 8069:80 \
  --name hidewall \
  --restart unless-stopped \
  hidewall:latest

Native Go Build

bash
# Install dependencies
go mod download

# Build the binary
go build -o hidewall main.go

# Run the application
./hidewall

Configuration

Environment variables:

  • PORT - HTTP server port (default: 80)
  • HOST - Bind address (default: 0.0.0.0)

Example with custom port:

bash
PORT=8080 ./hidewall

Blocked Sites Configuration

Sites requiring advanced bypass methods are listed in blocked_sites.txt. These sites use the full arsenal of bypass techniques including archive services. Add domains (one per line) to customize behavior:

bloomberg.com
telegraph.co.uk
theatlantic.com
wsj.com

API Usage

Web Interface

Visit the root URL and enter a paywalled article URL in the form.

Direct API Endpoint

bash
curl "https://hidewall.io/yeet?y=https://example.com/paywalled-article"

Response: HTML content with paywall removed

URL Parameters

  • y - The full URL of the paywalled article (required, must be URL-encoded)

Example:

bash
https://hidewall.io/yeet?y=https%3A%2F%2Fwww.wsj.com%2Farticle%2Fexample

Architecture

Technology Stack

  • Language: Go 1.21+
  • Router: Gorilla Mux
  • HTML Parser: goquery (jQuery-like API)
  • Compression: gzip and Brotli support
  • Rate Limiting: Token bucket algorithm with per-IP tracking

Performance Characteristics

  • Concurrency: Handles thousands of concurrent requests
  • Memory: ~20MB base footprint
  • Response Time: <500ms average for simple paywalls, <3s for archive fallback
  • Docker Image: ~25MB compressed (Alpine-based multi-stage build)

Security Architecture

  1. Input Validation Layer: URL scheme and format validation
  2. SSRF Protection Layer: DNS resolution and IP range validation
  3. Rate Limiting Layer: Per-IP token bucket with periodic cleanup
  4. HTTP Client Layer: Redirect validation, timeout enforcement, size limits
  5. Output Sanitization Layer: HTML escaping for error messages

Deployment

Production Recommendations

  1. Reverse Proxy: Deploy behind nginx or Traefik for TLS termination
  2. Rate Limiting: Additional rate limiting at reverse proxy layer recommended
  3. Monitoring: Health check endpoint available at / (returns 200 OK)
  4. Resources: Recommended 256MB RAM minimum, 512MB for high traffic
  5. Scaling: Stateless design allows horizontal scaling

Health Check

The Docker image includes a built-in health check that pings the root endpoint every 30 seconds.

Graceful Shutdown

The application handles SIGTERM and SIGINT gracefully, completing in-flight requests before shutdown (30-second timeout).

Troubleshooting

Common Issues

Rate Limit Errors: The service enforces 10 requests per minute per IP. Wait 60 seconds or deploy your own instance.

Archive Services Timeout: Archive.today and Wayback Machine can be slow. The service has extended timeouts (15-20s) for these services.

Bypass Failure: Some sites have very strong paywalls. Try adding the domain to blocked_sites.txt to enable all bypass methods.

Logs

Logs are written to stdout. In Docker, view logs with:

bash
docker logs hidewall

Development

Running Tests

bash
go test ./...

Code Structure

  • main.go - Main application (1100+ lines, modular functions)
  • templates/index.html - Web UI template
  • static/ - CSS, fonts, and static assets
  • chrome/ - Chrome extension source
  • blocked_sites.txt - Sites requiring advanced bypass

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Submit a pull request

Follow Go conventions and ensure go fmt and go vet pass.

Legal and Ethics

This tool is designed for educational purposes and personal use to access content you have a right to read. Users are responsible for complying with applicable laws and website terms of service.

The authors do not condone copyright infringement or violation of terms of service. This tool should be used ethically and responsibly.

Support

  • Bug Reports: Open an issue on https://github.com/sashakarcz/hidewall/issues
  • Questions: Email sasha@starnix.net
  • Public Instance: https://hidewall.io

License

MIT License - See LICENSE file for details

Project Status

Active Development - Regularly maintained and updated

Recent Improvements

  • Complete Go rewrite for performance
  • SSRF protection and security hardening
  • Rate limiting implementation
  • Graceful shutdown handling
  • Updated dependencies to latest versions
  • Comprehensive error handling
  • Response size limits
  • HTML output sanitization

Roadmap

  • Prometheus metrics endpoint
  • Configurable rate limits via environment variables
  • Support for additional archive services
  • API authentication for private instances
  • Browser extension improvements

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 hidewall 镜像标签

docker pull docker.xuanyuan.run/astrognome/hidewall:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull astrognome/hidewall:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

iKuai 镜像加速

宝塔面板

一键配置镜像源

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

一键安装

一键安装 Docker

Linux Docker 一键安装

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

免费版与专业版区别

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
astrognome/hidewall
教程轩辕镜像功能与使用教程
定价查看流量套餐与价格
热门查看热门 Docker 镜像推荐
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
商务合作:点击复制邮箱
用户协议·隐私政策·©2024-2026 源码跳动
用户协议·隐私政策©2024-2026 杭州源码跳动科技有限公司商务合作:点击复制邮箱