Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

PHP CLI tool to export all your Clubhouse data into a single JSON file

Notifications You must be signed in to change notification settings

prezly/clubhouse-export-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clubhouse JSON Export Tool

PHP CLI tool to export all your Clubhouse data into a single JSON file

Requirements

  • PHP 7.3+
  • Composer

Getting started

  1. Clone the code with git:
git clone git@github.com:prezly/clubhouse-export-tool.git
  1. Install Composer dependencies:

    composer install
  2. Put Clubhouse access token into the .env file.

Usage

Export all your Clubhouse data into a single JSON file:

php export.php > data/clubhouse.json

Supported sections:

  • categories
  • entity-templates
  • epic-workflow
  • epics
  • files
  • groups
  • iterations
  • labels
  • linked-files
  • members
  • milestones
  • projects
  • repositories
  • stories
  • teams
  • workflows

Exporting only sepcific sections

php export.php epics > data/epics.json

Other tools

There is an official clubhouse/exporter package from Clubhouse, but it has a few differences:

  • clubhouse/exporter does export shortened story objects (no comments or description).
  • clubhouse/exporter does not export story history records.
  • clubhouse/exporter stores every section into a separate file. This may be okay for you, but we needed everything into a single file, so we could use JSONata to manipulate the whole dataset.

Brought to you with ❤️ by Prezly.

About

PHP CLI tool to export all your Clubhouse data into a single JSON file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published