enputi

package module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 12 Imported by: 0

README

enputi

enputi

GitHub forks GitHub Repo stars GitHub GitHub go.mod Go version GitHub release (latest by date) Docker Image Version (latest by date) GitHub commit activity GitHub contributors GitHub last commit GitHub Release Date GitHub issues GitHub pull requests GitHub Discussions GitHub language count Docker Automated build GitHub top language GitHub all releases GitHub repo size Docker Image Size (latest by date)

A self-developing tool

使用方法

获取二进制包
使用编译包
  • 下载最新的包
  • enputi [-c <config file path>]
自编译
  • git clone https://github.com/darabuchi/enputi.git
  • cd enputi
  • CGO_ENABLED=1 GO111MODULE=on go build -o enputi ./cmd/enputi.go
直接运行服务

./enputi [-c <config file path>]

安装服务(需要管理员权限)

./enputi -s install

卸载服务(需要管理员权限)

./enputi -s uninstall

使用docker运行
  • 下载镜像 docker pull luoxintt/enputi
  • 运行 docker run -itd -p 7890:7890 luoxintt/enputi
通过 scoop 安装
  • scoop bucket add enputi https://github.com/darabuchi/enputi.git
  • scoop install enputi

mini-enputi

最小构建的 enputi,并且会尝试一些新的功能应用 可选定制项极少

食用姿势
  • 下载对应系统版本编译好的包并解压
  • mini-enputi -s <订阅地址> [-p <代理端口, default:7890>] OR mini-enputi -n <节点地址> [-p <代理端口, default:7890>]

TODO

  • docker支持
  • 支持更多协议的抓取和检测
    • ss
    • ssr
    • vmess
    • trojan
    • http
    • socket
  • 支持更多的订阅方式
    • clash
    • v2ray
    • surge
  • 内置DNS支持
    • dns查询
    • dns服务
    • clash支持内置dns
    • ipv6支持
    • dot支持
    • doh支持
    • 翻墙dns查询内置
  • 优化订阅返回的节点策略以及排序
  • 本地代理支持
  • 桌面客户端
    • 包括跨平台的支持
  • pac的优化
    • 指定proxy地址
    • 对齐proxy rule
  • clash订阅规则优化
    • 完善rule list
    • 支持订阅host
  • 多数据库支持
    • memory
    • sqlite
    • mysql
    • postgres
  • 多缓存支持
    • memory
    • redis
    • etcd
    • sqlite
    • mysql
    • postgres
  • webhook支持

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFilePatch *string
View Source
var ServiceName = "enputi"

Functions

func Init

func Init(configFilePatch string) error

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL