Commit Graph

11 Commits

Author SHA1 Message Date
Gouryella
d1f1147dc4 fix(ci): Update Docker image tag generation rules 2026-01-15 20:40:03 +08:00
Gouryella
37d1bfc089 feat(client): Support predefined tunnel configuration and management commands
Added predefined tunnel functionality, allowing users to define multiple tunnels in the configuration file and start them by name, including the following improvements:
- Added --all flag to start all configured tunnels
- Added parameterless start command to list available tunnels
- Support configuration of multiple tunnel types (http, https, tcp)
- Support advanced configurations such as subdomains, transport protocols, and IP allowlists

refactor(deployments): Refactor Docker deployment configuration

Removed old Dockerfile and Compose configurations, added new deployment files:
- Removed .env.example and old Docker build files
- Added Caddy reverse proxy configuration file
- Added two deployment modes: standard and Caddy reverse proxy
- Added detailed server configuration example files

docs: Update documentation to include tunnel configuration and deployment guide

Updated Chinese and English README documents:
- Added usage instructions and configuration examples for predefined tunnels
- Expanded server deployment section to include direct TLS and reverse proxy modes
- Added server configuration reference table with detailed configuration item descriptions
- Added specific configuration methods for Caddy and Nginx reverse proxies
2026-01-15 17:18:27 +08:00
Gouryella
a3cad40196 fix: Update goreleaser-action version to improve stability 2026-01-14 15:26:42 +08:00
Gouryella
4b2dcc0ee1 feat(workflow): Use GoReleaser to simplify the release process 2026-01-14 13:30:25 +08:00
Gouryella
9e8b3b001d build(github): update sigstore version 2025-12-07 13:54:23 +08:00
Gouryella
faa53400f5 feat(docker): Refactored the Docker build and release process and added support for image signing. 2025-12-07 11:21:21 +08:00
Gouryella
0fee9569d2 ci(docker): Removes Docker Hub login and image push configuration
The Docker Hub login step and image push configuration have been removed from the GitHub Actions workflow,

retaining only the push logic for the GitHub Container Registry. This simplifies the CI process and avoids

unnecessary Docker Hub-related operations.
2025-12-07 00:14:33 +08:00
Gouryella
aead68bb62 feat: Add HTTP streaming, compression support, and Docker deployment
enhancements

  - Add adaptive HTTP response handling with automatic streaming for large
  responses (>1MB)
  - Implement zero-copy streaming using buffer pools for better performance
  - Add compression module for reduced bandwidth usage
  - Add GitHub Container Registry workflow for automated Docker builds
  - Add production-optimized Dockerfile and docker-compose configuration
  - Simplify background mode with -d flag and improved daemon management
  - Update documentation with new command syntax and deployment guides
  - Clean up unused code and improve error handling
  - Fix lipgloss style usage (remove unnecessary .Copy() calls)
2025-12-05 22:09:07 +08:00
Gouryella
37d1c4e005 ci(release): Optimizes the way Git commit information is retrieved in the build workflow.
The previous method of obtaining commit hashes via `git rev-parse` has been changed to directly using the `github.sha` variable provided by GitHub Actions,

and the first 10 characters are truncated as the short version commit hash.

Unnecessary `fetch-depth` configuration has also been removed.
2025-12-02 16:55:30 +08:00
Gouryella
8aee33a53a build(workflow): Injects version, commit hash, and build time information into the build command.
In GitHub Actions' release workflow, the `ldflags` parameter has been added to the build command for each platform,

to inject the application version number, Git commit hash, and build time. This facilitates subsequent debugging and release tracking.
2025-12-02 16:53:43 +08:00
Gouryella
e0e33c3323 feat(install-scripts): Updated installation scripts to fetch the latest version from GitHub and fixed download links.
Updated client and server installation scripts to automatically fetch the latest release via the GitHub API and corrected binary download addresses. Removed the old "latest" version logic to ensure explicit version tags are always used for downloads.

fix(readme): Fixed installation commands and license information in the README.

Corrected the installation script link pointing to an incorrect URL in the README to the correct path raw.githubusercontent.com, and updated the open-source license information used by the project from MIT to BSD 3-Clause.

ci(release): Added an automated GitHub Actions release workflow.

Added a new CI workflow configuration file to trigger the build process when a tag is pushed. This workflow compiles binaries for multiple platforms, generates checksums, and creates a GitHub Release with attachments. Supports different architectures including Linux, macOS, and Windows.
2025-12-02 16:40:53 +08:00