Giter Club home page Giter Club logo

sagernet's Introduction

SagerNet for Android

The universal proxy toolchain for Android, written in Kotlin.

License

Copyright (C) 2021 by nekohasekai <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Build

  • Install and configure JDK, Android SDK, Android NDK, Go and Go Mobile.
  • git clone this project and at least submodule library/core.
  • Replace release.keystore (can be generated by Java keytool) with your own.
  • Append these to your local.properties
KEYSTORE_PASS=your_keystore_pass
ALIAS_NAME=your_alias_name
ALIAS_PASS=your_alias_pass
  • Build app:
    • Build libcore:
      ./run lib core
      
    • Download assets:
      ./gradlew :app:downloadAssets
      
    • Build app:
      ./gradlew :app:assembleOssRelease
      
    • APK files will be located in app/build/outputs/apk/.
  • Build a plugin:
    • Build plugin binaries (the next command already includes this command):
      ./run plugin [plugin_name]
      
    • Build plugin:
      ./gradlew :plugin:[plugin_name]:assembleOssRelease
      
    • Plugin APK files will be located in plugin/[plugin_name]/build/outputs/apk/.

sagernet's People

Contributors

nekohasekai avatar dyhkwong avatar enfein avatar weblate avatar zedifen avatar mygod avatar amd64v3 avatar arm64v8a avatar bolucat avatar akinokaede avatar xchacha20-poly1305 avatar fhokud avatar leafstative avatar ha-ku avatar 129tyc avatar ducksoft avatar fei1yang avatar leohearts avatar cyberpuffer avatar rprx avatar binarycraft007 avatar linsui avatar xjp-git avatar jiuqi9997 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.