A script for exporting Campfire room messages to CSV.
It does a very small bit of monkey-patching of Tinder to make it work for rooms which have been "removed", which was my original use case.
- Ruby (tested with v2.0.0p195 & v2.2.1p85)
- Bundler
- Tinder (in Gemfile)
- Dotenv (in Gemfile)
- Use git to clone the repository or download it as a zip file.
- Install the bundle with
bundle install
.
-
Set the following environment variables (in
.env
file or otherwise):CAMPFIRE_SUBDOMAIN
CAMPFIRE_API_TOKEN
CAMPFIRE_ROOM_ID
CAMPFIRE_ROOM_NAME
-
Specify start date as first command line argument.
-
Redirect stdout to a file as desired.
$ ruby export.rb 2013-01-27 >my-campfire-room-messages.csv
Campfire Export was written by James Mead and the other members of Go Free Range.
Campfire Export is released under the MIT License.