An open API service indexing awesome lists of open source software.

https://github.com/vaaleyard/gocatgo

Let's upload it once again for... 🥁
https://github.com/vaaleyard/gocatgo

Last synced: 16 days ago
JSON representation

Let's upload it once again for... 🥁

Awesome Lists containing this project

README

          

GoCatGo

[GoCatGo](https://gcg.sh/) is another simple pastebin tool.

You can check its [uptime](https://status.gcg.sh/)!


![uptime](https://status.gcg.sh/api/badge/12/uptime) ![lines of code](https://sloc.xyz/github/vaaleyard/gocatgo) ![Code Size](https://img.shields.io/github/languages/code-size/vaaleyard/gocatgo) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)

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.

# Preview



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

---

# Usage
```bash
# With a file
cat file.txt | curl -F "file=@-" gcg.sh
# or
curl -F "file=@file.txt" gcg.sh
```

```bash
# Passing any string
echo "some cool code" | curl -F "file=@-" gcg.sh
```

```bash
# Upload images
curl -F "file=@image.png" gcg.sh
```

## Shell function
You can add gcg function to your shell to make it easier to upload files:
```bash
echo "$(curl https://gcg.sh/function)" >> ~/.bashrc
```

```bash
# with the function
gcg file.txt
```

## Transparency
See [wiki](https://github.com/vaaleyard/gocatgo/wiki).

## Contribution
See [CONTRIBUTING.md](./CONTRIBUTING.md)

## FAQ
1. How do I know the code running is the same as the repository?
I've created a URL so you can check the sha256 of current code running: [gcg.sh/sha256](https://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](./LICENSE)