Poster
A Sublime Text 3 plugin to post the contents of the current tab
Details
Installs
- Total 114
- Win 67
- Mac 28
- Linux 19
Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 0 | 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 | 1 | 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.