glynnbird / toot Goto Github PK
View Code? Open in Web Editor NEWA very simple Mastodon command-line client for posting toots.
A very simple Mastodon command-line client for posting toots.
toot version 1.2.1
while launched for a new user, toot did not start the registration process but sent "Missing config file"
It would be great if we could set the visibility of our toots, like a --visibility
flag.
And it could accept one of the four available options:
public
(default?)unlisted
private
direct
Example: toot "Dear followers..." --visibility private
What I expect: this would work
emv$ echo "can I pipe a toot into toot" | toot
emv$ cat tootfile | toot
What I got:
Error: Usage: toot <message>
Workaround: if you have a toot in a file, you can toot it out with toot "$(cat tootfile)"
I would like to use this pkg in a CI environment, specifically appveyor, but the way .mastodon.json
is saved makes it a bit difficult.
It would be nice if you could add a --config
flag that would allow me to
.mastodon.json
Allowing the json to be passed inline would let me set the contents of .mastodon.json
as an environment variable and not have to worry about leaking my API keys anywhere.
So the CLI calls for these might look like
toot 'This is a test toot.' --config .
toot 'This is a test toot.' --config ./some/path/to/config/file
toot 'This is a test toot.' --config '{"domain":"mastodon.social","name":"example-app-name-v1","baseURL":"https://mastodon.social","id":4,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"xxx","client_secret":"xxx","accessToken":"xxx"}'
toot 'This is a test toot.' --config $Env:APPVEYOR_TOOT_AUTH_JSON
I have a Windows 10 x64 PC with Node 8.9.0 installed. When I run "node" the outputs were all right.
I did "npm install -g toot" and got toot installed globally, but when I run "toot blablabla" I keep getting this:
Fatal error in launcher: Unable to create process using '"'
I have uninstalled all python versions from my computer.
I then tried "npm install toot" and I managed to get the app working by navigating to that directory where toot is downloaded and running "node toot.bin.js".
So why is it that toot couldn't be executed globally? You know because the app is great but it needs perhaps some more elegance?
Hi.
I installed Toot via npm in MacOS Sierra, and configured setup the app name and pointed it at my Mastodon instance, and got the token. Everything works. However, I didnt realize the name of the app would appear in the Authorized Apps page on my Mastodon account, so I decided to delete the authorization, and set up the app connection again. This is where Toot doesnt seem to work.
I retyped "toot" in the Terminal and nothing happens. I am not asked to reconfigure anything. I uninstalled and reinstalled and it doesnt seem to do anything. Also, I cant seem to understand the "-c" configuration. To my knowlege there is no configuration file.
Would you help me be able to reauthroize the app with my Mastodon instance?
Thanks.
David
What I expected: help and version info
toot --help
toot --version
What I got:
toots of "--help" and "--version" to my tootstream.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.