Skip to content

Tool that creates readable pdfs from an export of the messages and rooms collection from rocketchat database

License

Notifications You must be signed in to change notification settings

samopper/RocketChat-auditPDFs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rocketchat-auditPDFs

Takes exports of rocketchat's messages and rooms collections and creates readable pdfs for every room in the server including direct messages.

Step 1: Export rocketchat_room and rocketchat_message collections from rocketchat mongodb with mongodb compass as rooms.json and messages.json

Step2: Fix formatting of json files. add brackets at first and last char of the files and add commas at each new line. You can use VSCode's regex find and replace to find ^ and replace with , then change the first and last , to a open and close bracket. "[]"

Step3: npm install and node index. Pdfs should appear in the pdfs folder. if the pdfs folder does not exist create one before running node index.

About

Tool that creates readable pdfs from an export of the messages and rooms collection from rocketchat database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published