echoip-slatecave/templates/base.txt
2023-02-25 15:42:59 +01:00

26 lines
940 B
Plaintext

{%- block content %}
Greetings from the base template!
{% endblock -%}
{%- block json_notice %}
You can get the json version:
=> {{ extra.base_url }}/{% block path %}{% endblock %}?format=json
{% endblock -%}
{%- if view == "404" %}
## Usage
You can query this service using the folowing endpoints …
=> {{ extra.base_url }}/ip/<address> … to query for an ip-address
=> {{ extra.base_url }}/dig/<name> … to query for a domain-name
=> {{ extra.base_url }}/ua … to get your user agent
## About
You can find the echoip-slatecave sourcecode on Codeberg.
=> https://codeberg.org/slatian/service.echoip-slatecave
If you found a bug or have an idea, feature, etc. please get in touch (I also accept E-Mails!).
This service works in its current form because nobody is abusing it, please keep that in mind. If you want to do frequent automated requests please host your own instace. Thank you for being awesome!
{% endif %}