Poster
A Sublime Text 3 plugin to post the contents of the current tab
Details
Installs
- Total 117
- Win 69
- Mac 29
- Linux 19
Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Poster
A super simple Sublime Text plugin for posting text in the current tab content to a server.
Configuration
Settings are accessed via the Preferences
> Package Settings
> Poster
menu.
The settings can take the following options:
- poster_url - The url to post data to.
- poster_content_key - The post key that the current tab content will be sent on. Defaults to 'content'.
- poster_data - An object containing any extra variables you want to add to the post data. This can be very useful for sending data to API's and you need to add keys.
The poster_url
setting is required for Poster to work. Here is the default settings file:
{
"poster_url": "http://example.com",
"poster_content_key": "content",
"poster_data": {
"a": "This is an example post item",
"b": "Another post variable"
}
}
By default some extra post data is sent, “a” & “b”, You can either override with your own poster_data
or empty out the contents like below which will send no extra data:
{
"poster_data": {}
}
How to use
A shortcut is available, ctrl+shift+o
, or you can find the option Poster
in the tools menu.
Contributing
If you find any issues or would like a new feature feel free to add a github issue or create a pull-request.
Attribution
This plugin uses the Requests HTTP library.