Git Product home page Git Product logo

awesome-hosts's Introduction

简体中文

Awesome Hosts

A simple GUI for manage hosts, written in Go with the astilectron, and Vue, ElementUI, etc.

avatar

Building

Assume that you had installed the Go compilers (if not, click here to get the Go compilers)

Step 1: Install awesome hosts

Run the following commands:

$ go get -u github.com/im050/awesome-hosts

Step 2: Install the bundler

Run the following commands:

go get -u github.com/asticode/go-astilectron-bundler/

don't forget to add $GOPATH/bin to your $PATH.

Step 3: bundle the app for your current environment

Run the following commands:

$ cd $GOPATH/src/github.com/im050/awesome-hosts
$ astilectron-bundler -v

Step 4: test the app

The result is in the output/<your os>-<your arch> folder and is waiting for you to test it!

Step 5: bundle the app for more environments

To bundle the app for more environments, add an environments key to the bundler configuration (bundler.json):

"environments": [
  {"arch": "amd64", "os": "linux"},
  {"arch": "386", "os": "windows"}
]

The installation steps is copied from go-astilectron-demo

Similar projects

Actually, I have to admit that I copied something from <SwitchHosts!>, because it is a mature product and perfect. and, the AwesomeHosts is my first project using Golang, I will improve and perfect it for learning and growing.

Todo List

  • add/edit/delete host ok
  • add/edit/delete group ok
  • allow that add hosts from remote file pending
  • add google hosts from remote as one of the default group pending
  • clear DNS cache pending
  • add a dock menu on Mac to provide some quick operations pending

License

This project is an open-source software licensed under the MIT License.

awesome-hosts's People

Contributors

im050 avatar

Watchers

 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.