Simple post client for twitter.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
.gitignore
.travis.yml
.yarnclean
LICENSE
README.md
package.json
yarn.lock

README.md

post-tweet

Post only twitter client application.

Image

post-tweet should be launched by URL Scheme.

Installation

You should create a binary on your env.

yarn
yarn dist
# output binary

Usage

  1. Open app
    • Launch app and register URL Scheme
  2. Input description
  3. Post tweet by Cmd+Shift+Enter shortcut

URL Scheme

post-tweet support post-tweet:// schema.

⚠️ You should launch the app before call URL Scheme.

You can open the app from your browser. post-tweet:// schema support following parameter.

  • url: URL
  • title: Title
  • quote: Quoted text

Example:

const selectedText = window.getSelection().toString();
location.href = `post-tweet://?url=${encodeURIComponent(window.top.location.href)}&title=${encodeURIComponent(window.top.document.title)}&quote=${encodeURIComponent(selectedText)}`

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT