Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

freerange/campfire_export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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.

Dependencies

  • Ruby (tested with v2.0.0p195 & v2.2.1p85)
  • Bundler
  • Tinder (in Gemfile)
  • Dotenv (in Gemfile)

Installation

  • Use git to clone the repository or download it as a zip file.
  • Install the bundle with bundle install.

Execution

  • 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

Credits

Campfire Export was written by James Mead and the other members of Go Free Range.

License

Campfire Export is released under the MIT License.

About

Export messages from a Campfire room to CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages