
Hermesly
Your best bot
Meet hermesly on facebook, your friendly bot.
Discord
Our new release, at the discord wherein you can bring hermesly into your server.
Facebook Bot
Hermesly is your awesome and friendly bot on the message platform, which is our starter platform and learn some lessons while developing and improving hermesly.
Discord WebHook
Currently, hermesly only support webhook at discord platform. We're always moving forward to give hermesly a new functions to help
and solve problems that teams and other people encounter each day or even give out smiles out of thin air.
Embed a webhook on your shell command
curl -X GET https://hook.hermesly.io/TOKEN?text=Hello+world!
Let hermesly notify you when there's a Pull Request
name: Hermesly Webhook
on:
pull_request:
branches:
- 'development'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '14'
- name: Run a one-line script
run: |
PR_TITLE=$(echo "${{ github.event.pull_request.title }}" | node -p 'encodeURIComponent(require("fs").readFileSync(0, "utf-8"))')
PR_NUMBER=${{ github.event.pull_request.number }}
curl -X GET "https://hook.hermesly.io/TOKEN?message=New+Pull+Request+($PR_TITLE)%0Ahttps://github.com/${{ github.repository }}/pull/$PR_NUMBER"
Perform a CURL in your PHP back-end application
$ch = curl_init();
// Set the URL to fetch
$url = "https://hook.hermesly.io/TOKEN?message=hello+from+php";
curl_setopt($ch, CURLOPT_URL, $url);
// Execute the session
$result = curl_exec($ch);
// Close the session
curl_close($ch);
Perform a CURL on your NodeJS Back-end. Currently we're working on more secured webhook by using credentials, token shouldn't be publicly available as of writing.
const request = require('request');
let URL = 'https://hook.hermesly.io/TOKEN?message=Hello+from+the+NodeJS';
request(URL, (error, response, body) => {
// Result
});
Developing a flutter app or just a console app?
import 'package:http/http.dart' as http;
void main() async {
// Specify the URL for the GET request
var url = Uri.parse('https://hook.hermesly.io/TOKEN');
// Send the GET request
var response = await http.get(url);
// Check if the request was successful (status code 200)
if (response.statusCode == 200) {
// Parse and handle the response data
print('Response data: ${response.body}');
} else {
// Handle the error if the request was not successful
print('Request failed with status: ${response.statusCode}');
}
}