campfire.cr

Version, currently master branch1 version
  • master branchlatestSep 27, 2015

github.com/rubiojr/campfire.cr

Crystal Campfire client and library

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  campfire.cr:
    github: rubiojr/campfire.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
Sergio Rubio

Dependencies

This version declares no dependencies.

README

campfire.cr

Campfire command line client and library written in Crystal.

A one evening hack, awful, buggy and incomplete.

Building

Building the command line client:

crystal build ccc.cr

Usage

Configure your Campfire credentials adding the following to ~/.campfire/auth.yml:

---
subdomain: campfire-subdomain
token: my-token-here

Replace subdomain with your Campfire subdomain (i.e. without the campfirenow.com) and my-token-here with your own token.

Usage: ccc <command> <args>

AVAILABLE COMMANDS:

say          <room> <text>      Send a message to a room.
stalk        <room>             Join a room and listen.
list-rooms                      List available rooms.
transcript   <room> [date]      Get today's transcript.
                                (date is optional, format YYYY/MM/DD).
                                backup       <dir>  [room]      Backup transcripts to JSON files.

Contributing

  1. Fork it ( https://github.com/rubiojr/campfire.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request