This is an alternative IPFS uploader to upload videos onto DTube. Includes a basic web UI.
npmcommand line tools
bcfor sprite generation
go-ipfswith a running daemon
git clone https://github.com/techcoderx/ipfsVideoUploader.gitin a terminal window.
cd ipfsVideoUploader && npm install
config.jsonfile. If you need help with the configuration, view the documentation here
npm run keygento generate encryption and auth keys for Steem Keychain support. Then backup the contents of
.auth.jsonfile in a safe place.
npm run sc2linkto generate SteemConnect login link (if SteemConnect is used).
npm run build
whitelistEnabledis set to
true, add some Steem accounts to the whitelist by modifying whitelist.txt. (one line per Steem user)
npm start. Your app will listen to ports you specify in
All uploaded files will be saved in the
uploaded folder within the repo. Image files (for Steem article body) will be saved in the
npm run build.
IPFS works the best for videos with .mp4, therefore only mp4 files will be supported at this moment. Both .jpg and .png file formats are supported for thumbnail uploads.
API calls for authentication, file uploads, hashes and usage data are documented here.
If you found any ways to improve on the code, or found any bugs, feel free to create a pull request on the GitHub repository. You can also contact me on Discord
techcoderx#7481 if you have any enquiries.