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

https://github.com/supejuice/forma


https://github.com/supejuice/forma

firebase flutter genkit mistral

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Forma

Forma is a Calorie Tracker app designed to utlise AI chat completions as your backend service.

## Features

- Flutter app: multi platform
- Genkit CLI
- Mistral apis support

## Installation

First install node if you haven't for the Genkit dev tools to work

```zsh
cd forma
brew update
brew install node
node -v
npm -v
```

Install Genkit dev tools
```zsh
npm i genkit
npm i genkit-cli
npx genkit init
```

Install go packages
```zsh
go get github.com/firebase/genkit/go/ai
go get github.com/firebase/genkit/go/genkit
go get github.com/firebase/genkit/go/plugins/server
go get github.com/firebase/genkit/go/plugins/googlegenai
```

Finally, add your gemini api key to shell profile:
```zsh
export GEMINI_API_KEY=
```

## Usage

```zsh
# Example usage
npx genkit start go run main.go
```
Rest endpoints will look like:
```zsh
127.0.0.1:8080/
```

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-name`).
3. Commit your changes (`git commit -m 'Add feature'`).
4. Push to the branch (`git push origin feature-name`).
5. Open a pull request.

## License

This project is licensed under the Apache 2.0 License - see the [LICENSE](https://github.com/supejuice/forma/blob/main/LICENSE) file for details.

## Contact

For questions or feedback, please contact [sysalchemist@hotmail.com].