ShareChat is a simple terminal-based tool that lets you share messages or files to your Google Chat space effortlessly — just using a single command. No switching apps, no pasting links manually!
- Send instant messages to your Google Chat group.
- Upload and share files (e.g., images, scripts, documents) using GoFile.io.
- Automatically organizes files into dedicated folders: Images, Python files, and Others.
- Set up once and use with simple terminal commands from anywhere.
git clone https://github.com/yourusername/ShareChat.git
cd ShareChatbash setup.shThe script will:
-
Install the required Python library (
requests). -
Prompt you to enter:
- Your Google Chat Webhook URL
- Your GoFile.io API Token
- Folder IDs for: Image_Files, Python_Files, Other_Files
-
Automatically update your
~/.bashrcwith environment variables and helpful aliases. -
Reload your shell config so you can start using it immediately.
📌 Instructions will be shown step-by-step as you run the setup.
After setup, use the following commands from any terminal directory:
sendtext "Hello, team! Quick update…"sendfile "/path/to/report.pdf"Files are uploaded to your GoFile folders based on file type, and the download link is posted to your Google Chat group.
Ram Bikkina 📧 [email protected]
MIT License. Use freely and improve it if you like ✨