{% extends 'base.html' %} {% block content %}

xygt.cc

{% if current_user.is_authenticated %}
Welcome, {{ current_user.user }}!
{% else %}
Temporary file-hosting and URL shortening
{% endif %}

Welcome to xygt.cc, a no-bullshit, anonymous and temporary file-hosting and URL shortening solution, similar to the likes of pastebin and 0x0.


From {{ author }}:

"{{ quote }}" - Donate more than £5 to get your own quote here!


xygt is a platform currently in beta stages of development

Our default file retention is a minimum of 7 days and a maximum of 365 days, and is calculated using file size.

How do I upload files?

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
{% if current_user.is_authenticated %} {% endif %}

How do I shorten URLs?

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"
{% if current_user.is_authenticated %} {% endif %}

How do I view my files or URL's?

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.


How do I delete my files or URL's?

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

Donating

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:

{% endblock %}