Skip to content

Latest commit

 

History

History
67 lines (37 loc) · 2.46 KB

CONTRIBUTING.md

File metadata and controls

67 lines (37 loc) · 2.46 KB

Contributing to Langfuse

First off, thanks for taking the time to contribute! ❤️

Langfuse is an open-source observability and analytics solution for LLM-based applications. We welcome contributions through GitHub pull requests. This document outlines our conventions regarding development workflow, commit message formatting, contact points, and other resources. Our goal is to simplify the process and ensure that your contributions are easily accepted.

We gratefully welcome improvements to documentation as well as to code.

And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:

  • Star the project;
  • Tweet about it;
  • Refer to this project in your project's readme;
  • Mention the project at local meetups and tell your friends/colleagues.

The maintainers are available on Discord in case you have any questions.

How to contribute to Langfuse

Making a change

Before making any significant changes, please open an issue. Discussing your proposed changes ahead of time will make the contribution process smooth for everyone.

Once we've discussed your changes and you've got your code ready, make sure that tests are passing and open your pull request.

Getting started

A good first step is to search for open issues. Issues are labeled, and some good issues to start with are labeled: good first issue.

Setup

First, the preferred version for development is Node.js >=18. Additionally, you should have npm and Docker installed

Then, to begin development fork repository and go to root folder by run cd ./langfuse .

# Install dependencies
npm install

# Run the db
docker-compose -f docker-compose.dev.yml up -d

# create an env file
cp .env.dev.example .env

# Migration
npm run db:migrate

# Optional: seed the database
# npm run db:seed
# npm run db:seed:examples

# Start the server
npm run dev

License

Langfuse is MIT licensed, except for ee/ folder. See LICENSE and docs for more details.