Share My Creation B4X Smart Searcher & AI Assistant

Animation.gif


Hi everyone! I’m sharing a project I’ve been working on: a desktop utility designed to streamline the B4X development workflow. It combines real-time forum searching with a DeepSeek powered AI chat in a sleek, "stealthy" interface.

Key Features
Dual-Mode Interface: * Forum Mode: Instant, live search results directly from the B4X.com database as you type.

AI Mode: A dedicated chat interface using OpenRouter (DeepSeek/Gemini) to help with logic, debugging, or code snippets.

Stealth UI Design:

Auto-Hide Panel: The app sits on the edge of your screen and expands only when you hover over it, keeping your workspace clean.

Modern Aesthetics: Fully custom CSS styling, including a transparent undecorated window, rounded corners, and personalized scrollbars.

Persistent Memory: * Automatically saves your chat history to a local JSON file, so you can pick up where you left off.

Secure local storage for your API Key.

Smart Commands: * Added a quick "exit" command in the API Key dialog for faster navigation without needing a mouse.

Smooth UX: * Integrated "GeminiLoader" animation to provide visual feedback during API calls and searches.

Responsive chat bubbles with auto-calculated height and bold formatting.

Technical Details
Platform: B4J (Desktop)

Libraries: jFX, jHttp, jJSON, XUI, JavaObject, and CustomListView.

Styling: Heavy use of JavaObject to inject custom CSS into the Scene Graph for that "modern app" look.

How to use
Search: Just start typing to get forum results.

AI Chat: Click the AI button. If it's your first time, it will ask for your OpenRouter API Key.

Pro Tip: In the Key dialog, you can type "exit" or simply hit Enter on an empty field to close the window.

Clear Chat: Use the trash icon to wipe the history and start fresh.
 

Attachments

  • Smart Searcher.zip
    13 KB · Views: 40

Cableguy

Expert
Licensed User
Longtime User
This is the kind of AI tools I fully agree upon... they are intended to HELP the developer, not to develop in their place
 

Cableguy

Expert
Licensed User
Longtime User
When updating your creation, do it in the first post, listing versions and change log.
You can latter create a new post in the same thread to let us know thete were changes made.
This will prevent scattered info
 
Top