Skip to content

ChatGPT based AI assistant to add to your Signal conversations

Notifications You must be signed in to change notification settings

kaashmonee/go-signal-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-signal-bot

go-signal-bot is a bot written in the Go programming language. It is designed to interact with Signal, the secure and privacy-focused messaging platform. It uses OpenAI's GPT4 or GPT3.5's API to respond meaningfully to any messages that contain the bot's name. It can be added to group chats like Meta AI to function like an AI assistant.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Go1.20
  • signal-cli installed and able to run
  • go-chatgpt
  • You have a separate signal account with a different number for the bot
  • I used the paid version of TextNow, an Android app, to register with Signal
  • OpenAI API key

Installation

  1. Clone the repository:
cd go-signal-bot
  1. Edit config.yml with necessary configurations
  2. Run go run main.go to start the listener

Contributing

Fork it! Please feel free to contribute and create a pull request.

Roadmap

  • improve coverage
  • improve API with additional functionality offered by CLI
  • improve documentation

Contact

Skanda Kaashyap (skandakk [ 4t ] gmail [ dot ] com)

Acknowledgements

Thanks a great deal to the following projects and their maintainers:

  1. signal-cli
  2. go-chatgpt
  3. OpenAI GPTs
  4. Signal and the Signal Foundation

License

Copyright <2024>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.