===PasteME - originex.tech - CLI Pastebin===

What is it?

PasteME is a pastebin service designed for users who need to quickly copy logs or other system files using a single command.

General operating principles (and limitations)

Since this project is currently neither popular nor well-funded, there are a few limitations:

Instructions

Since I currently do not have access to systems like Linux or macOS, the commands I prepare for them will be generated by AI.

Windows (PowerShell because why not)

  1. The basic command:

(Get-Content file | Invoke-WebRequest -Uri "https://originex.tech" -Method Post).Content

  1. It can be extended by the expiration time:

(Get-Content file | Invoke-WebRequest -Uri "https://originex.tech" -Method Post -Headers @{"X-TTL"="300"}).Content

Remember to replace the "file" field with your own file, and note that the max expiration time for the paste is 24 hours (86400 s).

Windows (CMD)

  1. The basic command:

curl --data-binary @file https://originex.tech

  1. It can be extended by the expiration time:

curl -H "X-TTL: 300" --data-binary @file https://originex.tech

Remember to replace the "file" field with your own file, and note that the max expiration time for the paste is 24 hours (86400 s).

Linux (AI generated)

  1. The basic command:

cat file | curl --data-binary @- https://originex.tech

  1. It can be extended by the expiration time:

cat file | curl -H "X-TTL: 300" --data-binary @- https://originex.tech

Remember to replace the "file" field with your own file, and note that the maximum expiration time for the paste is 24 hours (86400 s).

MacOS (AI generated)

  1. The basic command:

cat file | curl --data-binary @- https://originex.tech

  1. It can be extended by the expiration time:

cat file | curl -H "X-TTL: 300" --data-binary @- https://originex.tech

Remember to replace the "file" field with your own file, and note that the maximum expiration time for the paste is 24 hours (86400 s).

Note

If you notice any errors or you have any ideas, please message me immediately, preferably via Discord (anik2010), to explain the issue, so I don't mistake you for a scammer!!!

Alternatively, you can send an email to this address: kacper5555544444@gmail.com, but if it ends up in the spam folder, I unfortunately won't see it.

Credits

Thanks HackClub/macondo for the motivation to work on projects from my list.

License

The project is licensed under the GNU GPL v3.