{"id":29152881,"url":"https://github.com/dev-bcn/devbcn-assistant","last_synced_at":"2026-04-24T20:03:50.186Z","repository":{"id":301407026,"uuid":"1009125292","full_name":"dev-bcn/devbcn-assistant","owner":"dev-bcn","description":"Conference assistant","archived":false,"fork":false,"pushed_at":"2026-01-21T14:38:14.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T21:17:29.440Z","etag":null,"topics":["spring-ai","spring-ai-ollama","spring-ai-openai","springboot","vaadin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-bcn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-26T16:04:33.000Z","updated_at":"2026-01-21T14:48:06.000Z","dependencies_parsed_at":"2025-06-26T18:33:45.402Z","dependency_job_id":"a274d4a9-3fec-491c-8426-b4c08478ddbe","html_url":"https://github.com/dev-bcn/devbcn-assistant","commit_stats":null,"previous_names":["dev-bcn/devbcn-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev-bcn/devbcn-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-bcn%2Fdevbcn-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-bcn%2Fdevbcn-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-bcn%2Fdevbcn-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-bcn%2Fdevbcn-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-bcn","download_url":"https://codeload.github.com/dev-bcn/devbcn-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-bcn%2Fdevbcn-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["spring-ai","spring-ai-ollama","spring-ai-openai","springboot","vaadin"],"created_at":"2025-07-01T01:03:21.826Z","updated_at":"2026-04-24T20:03:50.151Z","avatar_url":"https://github.com/dev-bcn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevBcn Social Assistant\n\nA conversational AI assistant for the DevBcn conference that helps with creating\nsocial media content, newsletters, and providing information about speakers and\nsessions.\n\n## Project Description\n\nThe DevBcn Social Assistant is a Spring Boot application that leverages AI\nmodels (either OpenAI or Ollama) to provide information about the DevBcn\nconference, generate social media posts, and create newsletter content. It\nfeatures a chat interface built with Vaadin where users can interact with the\nassistant.\n\nThe assistant can:\n\n- Provide information about the conference (dates, venue, tracks, etc.)\n- Generate social media posts for different platforms (Twitter, Instagram,\n  LinkedIn, Bluesky)\n- Create Mailchimp newsletter content\n- Retrieve and present information about speakers and sessions\n\n## Technologies Used\n\n- **Java 21**: The application is built using Java 21\n- **Spring Boot 3.5.3**: Framework for building the application\n- **Spring AI 1.0.0**: Integration with AI models\n    - Support for OpenAI models (default)\n    - Support for Ollama models (alternative)\n- **Vaadin 24.8.0**: Web framework for building the user interface\n- **Docker Compose**: For running Ollama locally\n- **TestContainers**: For testing with containerized dependencies\n\n## Project Structure\n\n- `src/main/java/com/devbcn/socialassistant/`\n    - `SocialAssistantApplication.java`: Main application class\n    - `config/`: Configuration classes\n    - `dto/`: Data transfer objects for sessions, speakers, etc.\n    - `service/`: Service classes for business logic\n        - `ChatService.java`: Handles interactions with AI models\n        - `SessionizeService.java`: Provides tools for the AI to access\n          conference data\n        - `SpeakerService.java`: Manages speaker information\n        - `SessionService.java`: Manages session information\n    - `views/`: Vaadin UI components\n        - `HomeView.java`: Main chat interface\n- `src/main/resources/`\n    - `application.properties`: Application configuration\n    - `system_message.md`: Instructions for the AI model\n\n## Setup and Installation\n\n### Prerequisites\n\n- Java 21 JDK\n- Maven\n- Docker (for Ollama profile)\n\n### Configuration\n\n1. Create a `.env.local` file in the project root with your OpenAI API key:\n   ```\n   API_KEY=your_openai_api_key\n   ```\n\n2. Choose your AI provider profile:\n    - OpenAI (default): Uses OpenAI models (requires API key)\n    - Ollama: Uses local Ollama models (requires Docker)\n\n### Building and Running\n\n#### Using Maven\n\n```bash\n# Build the project\nmvn clean install\n\n# Run with OpenAI profile (default)\nmvn spring-boot:run\n\n# Run with Ollama profile\nmvn spring-boot:run -Pollama\n```\n\n#### Using Docker Compose (for Ollama profile)\n\n```bash\n# Start Ollama container\ndocker-compose up -d\n\n# Run the application with Ollama profile\nmvn spring-boot:run -Pollama\n```\n\n## Usage\n\n1. Access the application at http://localhost:8080\n2. Use the chat interface to interact with the assistant\n3. Ask questions about the DevBcn conference\n4. Request social media posts or newsletter content\n\n## Examples\n\n- \"Tell me about the DevBcn conference\"\n- \"Create a Twitter post announcing speaker John Doe\"\n- \"Generate a Mailchimp newsletter about early bird tickets\"\n- \"What sessions are available in the Java track?\"\n\n## Development\n\n### Running Tests\n\n```bash\nmvn test\n```\n\n### Profiles\n\n- `production`: Optimizes the application for production\n- `openai`: Uses OpenAI models (default)\n- `ollama`: Uses Ollama models with Docker Compose integration\n\n## License\n\n[MIT](LICENSE)\n\n## Contributors\n\n* [Anyul Rivas](https://www.github.com/anyulled)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-bcn%2Fdevbcn-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-bcn%2Fdevbcn-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-bcn%2Fdevbcn-assistant/lists"}