I've written 'toot', a very simple command-line utility to allow Mastodon posts to be sent from the command-line: https://www.npmjs.com/package/toot
@glynn_bird OK, I've poked about randomly, but am way out of my depth. I can't make this work, and don't know what to tell you beyond what I've said already. So let me know what you need me to tell you to help diagnose this.
Cheers.
First of all this is an 'npm' module. So it assumes you've got Node.js installed. https://nodejs.org/en/
If you get that far, you should be able to do
npm install -g toot
or
sudo npm install -g toot
After that just run 'toot' and follow the on-screen instructions. Feel free to DM me screenshots.
@glynn_bird I'm on Ubuntu - can I install node.js with an apt-get? (I'm about to Google for that as well)
@glynn_bird I've done a sudo apt-get install nodejs and it says:
nodejs is already the newest version.
nodejs set to manually installed.
@ColinTheMathmo so doing `npm -v` gives you?
@ColinTheMathmo let me try on my virtual ubuntu machine
@glynn_bird OK, trying that.
@glynn_bird So far so good - stand by ...