Build shared context with you and your homies.
- To use LunaBrain as a Go library, refer to the documentation (Note: This code is still like pre-alpha, so the API is subject to change)
LunaBrain is licensed under the Apache 2.0 license. See the LICENSE
file for more details.
To get started with LunaBrain, follow these steps:
git clone --recursive https://github.com/lunabrain-ai/lunabrain.git
Backend
go run main.go start --dev
Since the static assets are generated, you could to go to http://localhost:8000 and it should work now.
If you want to hack on the frontend, keep reading.
Frontend
npm install
npm run dev:site
Extension
npm run dev:extension
Are all these right? Are there more? Someone tell me.
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
This project uses grpc to communicate between different services. To keep them in sync after making changes, run the following:
go generate -x ./...
We welcome contributions to LunaBrain! To contribute, please follow these steps:
- Fork the repository
- Create a new branch for your feature
- Make your changes
- Submit a pull request
Come hang out with us on Discord!