oreilly-trial

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

Oreilly Trial

CI Docker pulls Go Report Card Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Release Go version License

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:

Configuration

oreilly-trial can be customized with several command line arguments:

      --createUserUrl string       url of the user creation on Oreilly API (default "https://learning.oreilly.com/api/v1/registration/individual/")
      --emailDomains strings       comma separated list of usable domain for creating trial account, it should be a valid domain (default [jentrix.com,geekale.com,64ge.com,frnla.com])
  -h, --help                       help for oreilly-trial
      --passwordRandomLength int   length of the random generated password between 0 and 32 (default 16)
      --usernameRandomLength int   length of the random generated username between 0 and 32 (default 16)
  -v, --verbose                    verbose output of the logging library (default false)

If you need more usable domains for email randomization, please check https://temp-mail.org/

Installation

Binary

Binary can be downloaded from Releases page.

After then, you can simply run binary by providing required command line arguments:

$ ./oreilly-trial --usernameRandomLength 15
Homebrew

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
Docker

You can simply run docker image with default configuration:

$ docker run bilalcaliskan/oreilly-trial:latest

Development

This project requires below tools while developing:

After you installed pre-commit, simply run below command to prepare your development environment:

$ pre-commit install -c build/ci/.pre-commit-config.yaml

License

Apache License 2.0

Documentation

Overview

Copyright © 2022 bilalcaliskan bilalcaliskan@protonmail.com

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL