Skip to content

Campfire history importer and checker against Slack messages archive

License

Notifications You must be signed in to change notification settings

vpetrenko/campfire-tools

Repository files navigation

Campfire tools perform two tasks:

  1. Import Campfire history into MySQL database for further message integrity checks.
  2. Check that Campfire and Slack histories are matching.

Config file format

config.json contains following settings:

{
    "DbName": "cftools",
    "ApiKey": "<XXXxxxxXXXXXXXXXXXxxxxxXXXXXXXxxxXXXXXxx>",
    "Domain": "<cfdomain>",
    "SlackData": "data"
}

Where:

  • DbName - MySQL Database name for Campfire history crawling
  • ApiKey - Your Campfire API key
  • Domain - Your Campfire domain
  • SlackData - Path to Slack's 'Export Data' messages archive (unzip it to some folder)

CLI

    # Imports Campfire history to MySQL database
    campfire-tools import

    # Perform histories match check
    campfire-tools -cfroom CfRoomName -slroom SlackRoomName [-from YYYY-MM-DD] [-to YYYY-MM-DD] check

License

Copyright (c) 2014, Victor Petrenko. Distributed under the MIT license.

About

Campfire history importer and checker against Slack messages archive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages