Skip to content

ab/onceler

Repository files navigation

Onceler House

Onceler

The Onceler listens to your secrets and shares them exactly once.

You won't see the Once-ler.
Don't knock at his door.
He stays in his Lerkim on top of his store.
He lurks in his Lerkim, cold under the roof,
where he makes his own clothes
out of miff-muffered moof.
And on special dank midnights in August,
he peeks
out of the shutters
and sometimes he speaks
and tells how the Lorax was lifted away.

        He'll tell you, perhaps....
        if you're willing to pay.

Installing and Running

Dependencies

Since Onceler stores secrets in volatile memory, it has no external dependencies and no database. All Ruby library dependencies are listed in the Gemfile.

Onceler is written in Ruby. It requires Ruby >= 2.7.

Rbenv provides a convenient way to manage installations of multiple Ruby versions.

Running the app

Install ruby, either via rbenv or a system package manager.

Then install gem dependencies:

bundle install

Start the application:

# Usage: serve [BIND_ADDR] [BIND_PORT]

# Listen only on localhost
bin/serve

# Listen on all network interfaces
bin/serve 0.0.0.0