Ecosyste.ms: Awesome
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: about 2 months ago
JSON representation
Let's upload it once again for... 🥁
- Host: GitHub
- URL: https://github.com/vaaleyard/gocatgo
- Owner: vaaleyard
- License: mit
- Created: 2022-08-16T04:12:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-11T12:40:43.000Z (6 months ago)
- Last Synced: 2024-01-27T10:35:55.096Z (5 months ago)
- Language: Go
- Homepage: https://gcg.sh
- Size: 62.5 KB
- Stars: 23
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Lists
- cli-apps - GoCatGo - GoCatGo is another pastebin tool with a super focus on transparency. (<a name="pastebin"></a>Pastebin)
- awesome-cli-apps - GoCatGo - GoCatGo is another pastebin tool with a super focus on transparency. (<a name="pastebin"></a>Pastebin)
README
GoCatGo
GoCatGo is another simple pastebin tool.
![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.## 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 "[email protected]" gcg.sh
``````bash
# Passing any string
echo "some cool code" | curl -F "file=@-" gcg.sh
``````bash
# Upload images
curl -F "[email protected]" gcg.sh
``````bash
# 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:
```bash
echo "$(curl https://gcg.sh/alias)" >> ~/.bashrc
# or, to preserve the filetype
echo "$(curl https://gcg.sh/function)" >> ~/.bashrc
```## 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 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 `[email protected]`. In the future it will be implemented.## License
[MIT](./LICENSE)