Giter VIP home page Giter VIP logo

husi's Introduction

Get it on IzzyOnDroid

๐Ÿ› ๏ธ Contribution

๐Ÿงญ Guide

CONTRIBUTING

๐Ÿ“š Localization

Is husi not in your language, or the translation is incorrect or incomplete? Get involved in the translations on our Weblate.

Translation status

๐Ÿ”จ Learn to Compilation

๐Ÿงฐ Get the Source Code

git clone https://github.com/xchacha20-poly1305/husi.git --depth=1
cd husi/
./run lib source # Will help you to get submodules

โš–๏ธ libcore

Environment:

  • Go (1.22+) But should apply patch

    Go1.22.5: Apply this patch to ${GOROOT}/src/runtime/cgocall.go

    Go1.23: Apply this patch (You should decode base64 first) to ${GOROOT}

  • Openjdk-17 (Other version is ok. But require version 17 to build the same file as action.)

Run:

make libcore

This will generate app/libs/libcore.aar.

If gomobile is not in the GOPATH, it will be automatically downloaded and compiled.

If you don't want to build it, you can download then in actions

๐ŸŽ APK

Environment:

  • jdk-17-openjdk
  • ndk 27.0.12077973

If the environment variables $ANDROID_HOME and $ANDROID_NDK_HOME are not set, you can run the script buildScript/init/env_ndk.sh:

echo "sdk.dir=${ANDROID_HOME}" > local.properties

Signing preparation (optional, it is recommended to sign after compilation): Replace release.keystore with your own keystore.

echo "KEYSTORE_PASS=" >> local.properties
echo "ALIAS_NAME=" >> local.properties
echo "ALIAS_PASS=" >> local.properties

Download geo resource files:

make assets

Compile the release version:

make apk

The APK file will be located in app/build/outputs/apk.

๐ŸŒˆ Plugins

make plugin PLUGIN=<Plugin name>

Plugin name list:

  • hysteria2
  • juicity
  • naive
  • mieru

โ˜ ๏ธ End users

Wiki

๐Ÿ“– License

GPL-3.0

๐Ÿ›ก๏ธ Credits

Core:

Android GUI:

husi's People

Contributors

xchacha20-poly1305 avatar dependabot[bot] avatar dyhkwong avatar endermanco avatar vargalott avatar fredman95 avatar rejectvanity avatar comradekingu avatar mahdi-zarei avatar wald-w avatar otnak avatar rezaalmanda avatar weblate avatar ehsankarimi1 avatar maskedeken avatar dev-dev-dev avatar arm64v8a avatar enfein avatar slavrom21 avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.