{% extends 'base.html' %} {% block content %}
Welcome to xygt.cc, a no-bullshit, anonymous and temporary file-hosting and URL shortening solution, similar to the likes of pastebin and 0x0.
Our default file retention is a minimum of 7 days and a maximum of 365 days, and is calculated using file size.
You can either use the `upload` form, or use a POST request.
For example, using curl:
curl -F "file=@/path/to/file" https://xygt.cc
You can also add extra flags onto your command, for example:
curl -F "file=@/path/to/file" -F "retention=1024" -F "userid=6fd12a" -F "idpass=6ad5ec8ff9a14b45"
You can pipe plain text into the file flag, for example:
echo "Hello, World!" | curl -F "file=@-" https://xygt.cc
You can either use the `shorten` form, or use a POST request.
For example, using curl:
curl -F "url=https://example.com" https://xygt.cc
You can also add extra flags onto your command, for example:
curl -F "url=https://example.com" -F "retention=1024" -F "userid=6fd12a"
Simply use the link that is returned when you submit a POST request.
When you upload a file or shorten a URL, you'll simply get this in response:
https://xygt.cc/[id]
Simply replace [id] with the ID that is returned.
Your files or URL's can only be removed if you have linked them with your userid.
This is either done by appending -F 'userid=6fd12a'
or by being logged in when going through the website.
You can then go to your dashboard and delete the ID in question using the button next to it.
Alternatively you can also use a POST request like this:
curl -F'userid=6fd12a' -F'idpass=6ad5ec8ff9a14b45' https://xygt.cc/[id]/delete
xygt.cc is a free service, and costs me around £75 per year to run.
If you'd like to donate, you can do so via Liberapay:
liberapay placeholder
{% endblock %}