{"id":29875766,"url":"https://github.com/pamaldi/niby","last_synced_at":"2026-05-27T18:32:43.480Z","repository":{"id":306100034,"uuid":"1024999976","full_name":"pamaldi/niby","owner":"pamaldi","description":"Agent for Apache NiFi","archived":false,"fork":false,"pushed_at":"2025-12-05T22:00:13.000Z","size":12527,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-07T01:56:52.495Z","etag":null,"topics":["agentic-ai","langchain4j","nifi","quarkus"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pamaldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-23T15:06:46.000Z","updated_at":"2025-12-05T21:58:21.000Z","dependencies_parsed_at":"2025-07-23T17:41:19.146Z","dependency_job_id":"1c158b1d-6da0-4260-b3fe-19496a626b71","html_url":"https://github.com/pamaldi/niby","commit_stats":null,"previous_names":["pamaldi/niby"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pamaldi/niby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pamaldi%2Fniby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pamaldi%2Fniby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pamaldi%2Fniby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pamaldi%2Fniby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pamaldi","download_url":"https://codeload.github.com/pamaldi/niby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pamaldi%2Fniby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33579665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","langchain4j","nifi","quarkus"],"created_at":"2025-07-31T02:43:29.171Z","updated_at":"2026-05-27T18:32:43.475Z","avatar_url":"https://github.com/pamaldi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# niby\n\n**Niby Application** - A multi-module application built with Quarkus that combines backend services, RAG (Retrieval-Augmented Generation) capabilities, and a user interface. The application provides AI-powered document search and retrieval using vector embeddings and semantic search.\n\nThis project uses Quarkus, the Supersonic Subatomic Java Framework.\n\nIf you want to learn more about Quarkus, please visit its website: \u003chttps://quarkus.io/\u003e.\n\n## Project Structure\n\n- **niby-be-core** - Backend core module (port 8080)\n- **niby-rag** - RAG module with pgvector (port 8082)\n- **niby-ui** - User interface module (port 8081)\n- **niby-parent** - Parent POM with shared dependencies\n\n## Running with Docker Compose\n\n### Prerequisites\n\n1. Docker and Docker Compose installed\n2. Create `.env` file with your credentials:\n\n```bash\ncp .env.example .env\n# Edit .env and add your ANTHROPIC_API_KEY\n```\n\n### Build all modules\n\n```bash\n./mvnw clean package -DskipTests\n```\n\n### Start all containers (Development mode)\n\n```bash\ndocker-compose -f docker-compose.yml -f docker-compose.dev.yml up\n```\n\nOr in detached mode:\n\n```bash\ndocker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d\n```\n\n### Rebuild and restart containers\n\nRebuild all containers:\n```bash\ndocker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build\n```\n\nRebuild a specific service:\n```bash\n# First rebuild the Maven package\ncd niby-rag \u0026\u0026 ../mvnw clean package -DskipTests \u0026\u0026 cd ..\n\n# Then rebuild and restart the container\ndocker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d niby-rag\n```\n\n### Stop all containers\n\n```bash\ndocker-compose down\n```\n\n### Access the services\n\nWhen running with Docker Compose:\n- **niby-ui**: http://localhost:8081\n- **niby-be-core**:\n  - Swagger UI: http://localhost:8080/q/swagger-ui\n  - OpenAPI Spec: http://localhost:8080/q/openapi\n- **niby-rag**:\n  - Swagger UI: http://localhost:8082/q/swagger-ui\n  - OpenAPI Spec: http://localhost:8082/q/openapi\n- **pgvector**: localhost:5432 (postgres/postgres)\n\nWhen running locally in dev mode (`./mvnw quarkus:dev`):\n- **niby-be-core**:\n  - Dev UI: http://localhost:8080/q/dev/\n  - Swagger UI: http://localhost:8080/q/swagger-ui\n- **niby-rag**:\n  - Dev UI: http://localhost:8082/q/dev/\n  - Swagger UI: http://localhost:8082/q/swagger-ui\n\n### Production deployment\n\nFor production, use Docker secrets:\n\n```bash\n# Create secret files\necho -n \"your-anthropic-api-key\" \u003e secrets/anthropic_api_key.txt\necho -n \"your-postgres-password\" \u003e secrets/db_password.txt\n\n# Run with production config\ndocker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d\n```\n\n## Running the application in dev mode\n\nYou can run your application in dev mode that enables live coding using:\n\n```shell script\n./mvnw quarkus:dev\n```\n\n\u003e **_NOTE:_**  Quarkus now ships with a Dev UI, which is available in dev mode only at \u003chttp://localhost:8080/q/dev/\u003e.\n\n## Packaging and running the application\n\nThe application can be packaged using:\n\n```shell script\n./mvnw package\n```\n\nIt produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory.\nBe aware that it’s not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory.\n\nThe application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`.\n\nIf you want to build an _über-jar_, execute the following command:\n\n```shell script\n./mvnw package -Dquarkus.package.jar.type=uber-jar\n```\n\nThe application, packaged as an _über-jar_, is now runnable using `java -jar target/*-runner.jar`.\n\n## Creating a native executable\n\nYou can create a native executable using:\n\n```shell script\n./mvnw package -Dnative\n```\n\nOr, if you don't have GraalVM installed, you can run the native executable build in a container using:\n\n```shell script\n./mvnw package -Dnative -Dquarkus.native.container-build=true\n```\n\nYou can then execute your native executable with: `./target/niby-1.0-SNAPSHOT-runner`\n\nIf you want to learn more about building native executables, please consult \u003chttps://quarkus.io/guides/maven-tooling\u003e.\n\n## Provided Code\n\n### REST\n\nEasily start your REST Web Services\n\n[Related guide section...](https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpamaldi%2Fniby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpamaldi%2Fniby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpamaldi%2Fniby/lists"}