https://github.com/michelderu/langflow-playground
This playground is used for sharing and testing components. Additionally, it is used to provide a local environment for the Langflow application.
https://github.com/michelderu/langflow-playground
astradb langflow
Last synced: 2 months ago
JSON representation
This playground is used for sharing and testing components. Additionally, it is used to provide a local environment for the Langflow application.
- Host: GitHub
- URL: https://github.com/michelderu/langflow-playground
- Owner: michelderu
- Created: 2024-11-13T10:52:54.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-20T15:13:31.000Z (8 months ago)
- Last Synced: 2025-02-20T16:23:12.627Z (8 months ago)
- Topics: astradb, langflow
- Language: Python
- Homepage: https://www.langflow.org
- Size: 2.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Langflow playground
This playground is used for sharing and testing components. Additionally, it is used to provide a local environment for the Langflow application.## Running locally with Python
Python 3.10 or newer is required.
- Create a virtual environment (Shift+cmd+p, then select `Python: Create Environment`)
- Download and install Astral uv, instructions [here](https://docs.astral.sh/uv/getting-started/installation/)
- Install the dependencies
```bash
uv sync
```
- Create a `.env` file and add the environment variables, see `.env.example` for reference
- Run the Langflow application
```bash
uv run langflow run --env-file .env
```## Running locally with Docker
The docker compose file will start a Langflow instance and a Postgres database for storing the data.
```bash
docker compose up
```## Custom components
The `components` folder contains custom components that can be used in the Langflow application.Currently the following components are available:
### URL List
Provide a list of URLs to be processed by the URL component. Just provide a newline separated list of URLs.### Rest Endpoint
Interact with a REST endpoint with support for:
- `GET`, `POST`, `PUT` and `DELETE`
- Basic and digest authentication
- Headers
- Payload (form, json)