Giter Club home page Giter Club logo

Comments (3)

jrennie avatar jrennie commented on June 3, 2024

+1 Install instructions seem to be incorrect:

$ go get -u github.com/FiloSottile/captive-browser
go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

from captive-browser.

bonedaddy avatar bonedaddy commented on June 3, 2024

It's because gopkg is deprecated and does not work with the newer golang compiler releases. If you use the code from #26 you can run go build and it will compile captive-browser locally.

from captive-browser.

wyattbiker avatar wyattbiker commented on June 3, 2024

Works great for me. Here is how I did it. Please add it to the installation instructions. Make sure you have installed golang

cd ~
go install github.com/FiloSottile/captive-browser@latest
# Check if it installed
cd go/bin
ls captive-browser  -lsa

# copy toml config file from package path to your local ~/.config. Yours may be different
cd ~/go/pkg/mod/github.com/\!filo\!sottile/[email protected]
cp captive-browser-ubuntu-chrome.toml ~/.config/captive-browser.toml
cd ~

# run  it. If you are already connected, you are just going to get an Example page. 
# If not you will be redirected to the hotspots signin page
$(go env GOPATH)/bin/captive-browser

from captive-browser.

Related Issues (13)

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.