rubotnik

(★ 188)

"Bot-end" Ruby framework to quickly build and launch a Facebook Messenger chatbot

File Explorer

  • .gitignore
  • .rspec
  • .travis.yml
  • Gemfile
  • LICENSE.txt
  • Rakefile
  • README.md
  • rubotnik.gemspec

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

bind

View Details ▼

Bash builtin to manage bash hotkeys and variables.

bind {{-p|-P}}

List all bound commands and their hotkeys:

bind -q {{command}}

Query a command for its hotkey:

bind -x '"{{key_sequence}}":{{command}}'

Bind a key:

🔍

bundle

View Details ▼

Dependency manager for the Ruby programming language.

bundle install

Install all gems defined in the `Gemfile` expected in the working directory:

bundle exec {{command}} {{arguments}}

Execute a command in the context of the current bundle:

bundle update

Update all gems by the rules defined in the `Gemfile` and regenerate `Gemfile.lock`:

🔍

gem

View Details ▼

A package manager for the Ruby programming language.

gem search {{regex}} {{[-a|--all]}}

Search for remote gem(s) and show all available versions:

gem install {{gem_name}}

Install the latest version of a gem:

gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}

Install a specific version of a gem:

🔍

git add

View Details ▼

Stage changed files for a commit.

git add {{path/to/file}}

Stage a file for a commit:

git add {{[-A|--all]}}

Add all files (tracked and untracked):

git add .

Add all files recursively starting from the current folder:

🔍

git init

View Details ▼

Initialize a new local Git repository.

git init

Initialize a new local repository:

git init {{[-b|--initial-branch]}} {{branch_name}}

Initialize a repository with the specified name for the initial branch:

git init --object-format sha256

Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):

🔍

git push

View Details ▼

Push commits to a remote repository.

git push

Send local changes in the current branch to its default remote counterpart:

git push {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart:

git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:

🔍

heroku

View Details ▼

Create and manage Heroku apps.

heroku login

Log in to your Heroku account:

heroku create

Create a Heroku app:

heroku logs --app {{app_name}}

Show logs for an app:

🔍

ngrok

View Details ▼

Reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service.

ngrok http {{80}}

Expose a local HTTP service on a given port:

ngrok http {{example.com}}:{{80}}

Expose a local HTTP service on a specific host:

ngrok http https://localhost

Expose a local HTTPS server:

🔍

rake

View Details ▼

A Make-like program for Ruby.
Tasks for `rake` are specified in a Rakefile.

rake

Run the `default` Rakefile task:

rake {{task}}

Run a specific task:

rake --jobs {{n}}

Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default):

🔍

say

View Details ▼

Convert text to speech.

say "{{I like to ride my bike.}}"

Say a phrase aloud:

say --input-file {{filename.txt}}

Read a file aloud:

say --voice {{voice}} --rate {{words_per_minute}} "{{I'm sorry Dave, I can't let you do that.}}"

Say a phrase with a custom voice and speech rate:

// repository documentation