From c1b6714d57a4daed7f148d0bbad2aa6778df8298 Mon Sep 17 00:00:00 2001 From: Urko Date: Sat, 4 Mar 2023 22:00:30 +0100 Subject: [PATCH] feat: add README --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b7238a3 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# go-wifi-switcher +## Huawei B2368-66 +This software will turn wifi on/off based on current state. + +Example: If wifi is **on** then it will turn **off**. + +## How does it works +It uses web-scrapping thanks to amazing **[go-rod web scrapper](github.com/go-rod/rod)** + +## How to use +You must build it using the `go build` command that better fits with the OS where this software will be consumed. + +I'm using it on debian OS so I've created some build commands inside **[Makefile](https://gitea.urkob.com/urko/go-wifi-switcher/src/branch/main/Makefile)** + +You can build and copy into your OS in `/usr/local/bin` for example, then create a cron task to automatically run this binary. + +## Result +You can configure to switch **off** during **night** and **on** at **morning**. So you can get free of radiation while you sleep and don't have to manually switch on :) + +## How to install and how to use +TODO + +## Tests +TODO \ No newline at end of file