Clickbait title generator for Amateur Radio
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
Dockerfile
LICENSE
README.md
demo.html

README.md

ham-clickbait

Clickbait title generator for Amateur Radio. Spawned from an idea on Twitter.

Using this on your site

Download build/generator.js, and include it on your page, along with Mustache.js.

<script src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.8.1/mustache.min.js"></script>
<script src="build/generator.js"></script>

You can then generate a new title in JavaScript.

generator = new HamClickbaitGenerator();
generator.title();
// Watch this G5 slap a Old Man Ham. First you'll be shocked, then you'll be inspired.

Developing

Please send pull requests to the project on Github.

Using Docker to compile the CoffeeScript file

A Dockerfile is provided, based on NodeJS which contains Coffeescript for compiling the source, from src/ into build/.

docker build -t mcoms/ham-clickbait
docker run --rm -ti --volume="`pwd`:/data" mcoms/ham-clickbait