An open API service indexing awesome lists of open source software.

https://github.com/woodruffw/ruby-upworthy

A Ruby gem for generating clickbait titles. Based on http://upworthygenerator.com.
https://github.com/woodruffw/ruby-upworthy

Last synced: 7 months ago
JSON representation

A Ruby gem for generating clickbait titles. Based on http://upworthygenerator.com.

Awesome Lists containing this project

README

          

ruby-upworthy
==============

![license](https://raster.shields.io/badge/license-MIT%20with%20restrictions-green.png)
[![Gem Version](https://badge.fury.io/rb/ruby-upworthy.svg)](http://badge.fury.io/rb/ruby-upworthy)
[![Build Status](https://img.shields.io/github/workflow/status/woodruffw/ruby-upworthy/CI/master)](https://github.com/woodruffw/ruby-upworthy/actions?query=workflow%3ACI)

A clickbait title generator, translated into Ruby from
[Mike Lacher's](http://mikelacher.com/)
[Upworthy Generator](http://www.upworthygenerator.com/).

### Installation

```bash
$ gem install ruby-upworthy
```

### Usage

From Ruby:

```ruby
require 'upworthy'

Upworthy.headline # => "Watch an extroverted police officer become a legend with six words"
```

From the shell:

```bash
$ upworthy
```

### License

This gem is licensed under the MIT License.

For the exact terms see the LICENSE file.