Git Product home page Git Product logo

toot's Issues

Add a flag to set visibility

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

Piping a toot in from a file or command

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)"

Add --config flag

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

  1. pass the entire json inline
  2. set the location/path of where the pkg looks for .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

toot not recognised on Windows 10 device

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?

Unable to Reconfigure/Reauthorize the App

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.