This NodeJS program is designed to work along with the Rewrite of FreeTube and allows you to convert your old user data to the new formats.
Currently supported are:
- Subscriptions (including profile assignment)
- Watch history
- Pockettube subscriptions (including profile assignment)
You can download already built executables from the releases tab or install NodeJS, download the code and run it yourself.
##Usage This program currently provides 3 commands for the user:
./ft-convert -subs -op /path/to/old/file/subscriptions.db -np /path/to/new/file/profiles.db -toProfiles true/false
The -toProfiles option tells the program how to insert the subscriptions. If the value is true, then all channels are added to the profiles they were part of in the old FreeTube. Non existing profiles are created. If the value is false, then one profile is created where all subscriptions are added into, and the subscription are not added to the All Channels profile.
./ft-convert -history -op /path/to/old/file/videoHistory.db -np /path/to/new/file/history.db
./ft-convert -pocket -op /path/to/pocketube/file/subscriptions.json -np /path/to/new/file/profiles.db
./ft-convert -help
Displays the help description of the program.
If you download the code and want to run it, replace the ./ft-convert
with node index.js