As you know, you can create 10 day free trial for https://learning.oreilly.com/ for testing purposes.
This tool does couple of simple steps to provide free trial account for you:
- Creates temp mails(--attemptCount) over API of www.1secmail.com
- Tries to register with created temp mails to https://learning.oreilly.com/
- Prints the login information to console and then exit.
oreilly-trial can be customized with several command line arguments:
Usage:
oreilly-trial [flags]
Flags:
-h, --help help for oreilly-trial
--logLevel string log level logging library (debug, info, warn, error) (default "info")
-v, --version version for oreilly-trial
By default, oreilly-trial attempts to create trial account --attemptCount times. Default value of that flag is 10, if you can not create trial account in --attemptCount attempts, please increase that value in the range of 1-20.
Binary can be downloaded from Releases page.
After then, you can simply run binary by providing required command line arguments:
$ ./oreilly-trial
This project can be installed with Homebrew:
$ brew tap bilalcaliskan/tap
$ brew install bilalcaliskan/tap/oreilly-trial
Then similar to binary method, you can run it by calling below command:
$ oreilly-trial
You can simply run docker image with default configuration:
$ docker run bilalcaliskan/oreilly-trial:latest
This project requires below tools while developing:
- Golang 1.19
- pre-commit
- golangci-lint - required by pre-commit
- gocyclo - required by pre-commit
After you installed pre-commit, simply run below command to prepare your development environment:
$ pre-commit install -c build/ci/.pre-commit-config.yaml
Apache License 2.0