Home

Awesome

<div align="center"> <h1> GoCatGo </h1>

<a href="https://gcg.sh">GoCatGo</a> is another simple pastebin tool.<br>

<br>

lines of code Code Size License: MIT

</div>

GoCatGo provides a way of uploading a file to share with someone, you pass a file, and it returns a link. Simple as that!
With this short url, you can remember the links easily.

Requirements

It's a simple tool, you only need curl.


Usage

# With a file
cat file.txt | curl -F "file=@-" gcg.sh
# or
curl -F "file=@file.txt" gcg.sh
# Passing any string
echo "some cool code" | curl -F "file=@-" gcg.sh
# Upload images
curl -F "file=@image.png" gcg.sh
# with an alias
echo file.txt | gcg
# or with a function
gcg file.txt

Alias

You can add gcg alias to your shell to make it easier to upload files:

echo "$(curl https://gcg.sh/alias)" >> ~/.bashrc
# or, to preserve the filetype
echo "$(curl https://gcg.sh/function)" >> ~/.bashrc

Transparency

See wiki.

Contribution

See CONTRIBUTING.md

FAQ

  1. How do I know the code running is the same as the repository?
    I've created an URL so you can check the sha256 of current code running: gcg.sh/sha256
  2. How can I delete a paste I've created?
    For now, you can request me at contact@gcg.sh. In the future it will be implemented.

License

MIT