{"id":20923521,"url":"https://github.com/shingareom/s2gram","last_synced_at":"2026-04-25T06:36:03.627Z","repository":{"id":246056798,"uuid":"819972687","full_name":"shingareom/s2gram","owner":"shingareom","description":"s2gram.sh is a Bash script that facilitates sending text messages or files to a Telegram chat using a Telegram bot.","archived":false,"fork":false,"pushed_at":"2024-06-25T17:50:33.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-30T13:01:31.162Z","etag":null,"topics":["bash","bugbounty-tool","omshingare","pentest","telegram","tool"],"latest_commit_sha":null,"homepage":"https://omshingare.me","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shingareom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-25T14:43:36.000Z","updated_at":"2024-06-25T17:50:37.000Z","dependencies_parsed_at":"2024-06-25T16:30:54.072Z","dependency_job_id":"15a62f22-5191-4250-aee3-214a3d00c478","html_url":"https://github.com/shingareom/s2gram","commit_stats":null,"previous_names":["shingareom/s2gram"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/shingareom/s2gram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2Fs2gram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2Fs2gram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2Fs2gram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2Fs2gram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shingareom","download_url":"https://codeload.github.com/shingareom/s2gram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2Fs2gram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32253251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bugbounty-tool","omshingare","pentest","telegram","tool"],"created_at":"2024-11-18T20:16:13.694Z","updated_at":"2026-04-25T06:36:03.610Z","avatar_url":"https://github.com/shingareom.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/badge/release-v1.3.4-brightgreen?style=flat-square)](https://github.com/ShingareOm/s2gram/releases)\n[![GitHub stars](https://img.shields.io/github/stars/ShingareOm/s2gram?style=flat-square)](https://github.com/ShingareOm/s2gram/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/ShingareOm/s2gram?style=flat-square)](https://github.com/ShingareOm/s2gram/network)\n[![GitHub issues](https://img.shields.io/github/issues/ShingareOm/s2gram?style=flat-square)](https://github.com/ShingareOm/s2gram/issues)\n[![GitHub license](https://img.shields.io/github/license/ShingareOm/s2gram?style=flat-square)](https://github.com/ShingareOm/s2gram/blob/main/LICENSE)\n\n\n# s2gram\n**s2gram.sh is a Bash script that facilitates sending text messages or files to a Telegram chat using a Telegram bot.**\n\n![s2gram-banner](banner.png)\n\n## ***Requirements*** \u003ca name=\"requirements\"\u003e\u003c/a\u003e\n\n- curl needs to be installed, If not installed already.\n- Telegram chat ID [CHATID](CHATID.md)\n- Telegram bot API token [AUTHTOKEN](AUTHTOKEN.md)\n\n## ***Download s2gram***\n\nYou can download the latest version of s2gram by cloning the GitHub repository.\n```bash\ngit clone https://github.com/ShingareOm/s2gram.git\n```\n\n## ***Installation***\n\n - cd to **s2gram** directory. ```cd s2gram```\n - add your `TOKEN=\"YOUR-BOT-TOKEN\"` \u0026 `CHAT_ID=\"YOUR-CHAT-ID-OF-TELEGRAM\"` in s2gram.sh shell script, See [Requirements](#requirements) \n - make executable: `sudo chmod +x ./s2gram.sh`\n - add in /bin: `sudo cp s2gram.sh /bin/s2gram` OR `sudo cp s2gram /usr/bin/s2gram` \n - you will be able to access and run the s2gram with simple `s2gram --help` command.\n\n## ***Features***\n- Send Messages\n    Send text messages directly to Telegram.\n    Send files as documents to Telegram.\n\n- Clipboard Integration\n    Fetch and send the current contents of the clipboard.\n\n- Path Information\n    Retrieve and send the current working directory path.\n\n- Piping\n    You can use this tool using piping as well, to send some data using stdin pipe\n\n- Help and Usage\n    Provides a comprehensive help message outlining available options and examples.\n\n\n\n## **Advanced Usage**\n\n\u003cpre\u003e\u003ccode\u003e\nAuthor: Om Shingare (\u003ca href=\"https://in.linkedin.com/in/shingareom\"\u003eOm Shingare\u003c/a\u003e)\n\nUsage: ./s2gram.sh [OPTIONS]\nSend text or files to Telegram chat using a Telegram bot.\n\nOptions:\n  -t, --text \"message\"    Send a text message\n  -f, --file file.ext     Send a file\n  -c, --clipboard         Send current clipboard contents\n      --path              Send current working directory path\n  -h, --help              Show this help message\n\nExamples:\n  cat 'file.txt' | s2gram.sh\n  s2gram.sh -t \\\"this is my text\\\"\n  s2gram.sh -f file.ext\n  s2gram.sh -c\n  s2gram.sh --path\n\n\n\u003c/code\u003e\u003c/pre\u003e\n\n\n## **Legal disclaimer**\n\n    Usage of s2gram for attacking targets without prior mutual consent is illegal.\n    It is the end user's responsibility to obey all applicable local,state and federal laws. \n    Developer assume no liability and is not responsible for any misuse or damage caused by this program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshingareom%2Fs2gram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshingareom%2Fs2gram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshingareom%2Fs2gram/lists"}