Little posix shell script to send webmentions
- Shell 100%
| LICENSE | Changed Copyright owner in LICENSE | |
| README.md | Edited README.md to take POSIX shell compatibility into account | |
| webmention.sh | FIXED some newlines | |
webmention.sh
Little shell script to send webmentions
With this little script you can send webmentions manually on the command line:
./webmention.sh <your-url> <target-url>
It waits 10 seconds for the webmention to process.
Dependencies
- curl - for network requests
- grep - to grep out line
- sed - to extract Webmention endpoint
- jq - to parse JSON reply and extract location of result link
It's written in POSIX compliant shell scripting, so it should run on different shells.
Result
webmention.sh now outputs some status messages of the sent webmention.
Problems or bugs
If you find any bugs or problems please open an issue or write me an email if you prefer.