focalboard/import/nextcloud-deck
Chen-I Lim 16120e43d4
GH-Pages: Move contributors guide to GitHub (#2298)
* GH-Pages: Move contributors guide to GitHub

* Fix URL
2022-02-09 08:17:46 -08:00
..
.eslintrc.json Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
.gitignore Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
deck.ts Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
importDeck.ts Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
package-lock.json Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
package.json Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
README.md GH-Pages: Move contributors guide to GitHub (#2298) 2022-02-09 08:17:46 -08:00
tsconfig.json Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00
utils.ts Add importer for Nextcloud Deck (#2210) 2022-02-04 11:05:23 -08:00

Nextcloud Deck importer

This node app converts data from a Nextcloud Server with the app Deck installed into a Focalboard archive. To use:

  1. Run npm install from within focalboard/webapp
  2. Run npm install from within focalboard/import/nextcloud-deck
  3. Run npx ts-node importDeck.ts -o archive.focalboard (also from within focalboard/import/nextcloud-deck)
    1. Enter URL and credentials (can also be provided via cli arguments)
    2. Enter ID of the board to convert
  4. In Focalboard, click Settings, then Import archive and select archive.focalboard

Import scope

Currently, the script imports all cards from a single board, including their stacks (column) membership, labels, names, descriptions, duedate and comments. Contribute code to expand this.