No description
- Go 97.6%
- Python 1.2%
- Shell 0.9%
- Makefile 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
1. only print time left if ETA is positive 2. skip ETA calculation with a single input 3. don't compute ETA for first entry[*] [*] this is actually what avoids emitting infinite but the other parts of this diff felt useful yak shaving as well. Closes #91 |
||
| cmd/ooniprobe | ||
| config | ||
| data | ||
| docs | ||
| internal | ||
| nettests | ||
| scripts | ||
| testdata | ||
| utils | ||
| version | ||
| .dockerignore | ||
| .gitignore | ||
| .travis.yml | ||
| build.sh | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE.md | ||
| ooni.go | ||
| ooni_test.go | ||
| Readme.md | ||
OONI Probe CLI
The next generation OONI Probe Command Line Interface.
User setup
-
Go into the releases and download the release for your architecture and platform
-
Extract the tarball with
tar xvzf ooniprobe_*.tar.gz -
Copy the
ooniprobebinary into a location in your$PATH, for example/usr/local/bin/ooniprobe -
Run
ooniprobe runto perform all the tests
Optional:
Add a crontab entry (on linux) to run ooniprobe daily at a random time:
(crontab -l 2>/dev/null; echo "$(( ( RANDOM % 60 ) + 1 )) $(( ( RANDOM % 24 ) + 1 )) * * * ooniprobe run") | crontab -
Development setup
Be sure you have golang >= 1.13. We use golang modules. Run
./build.sh help
to get information on the supported systems as well as to get instructions on how to install dependencies.
Releasing
./build.sh release
and follow instructions.