// AI Development · Mobile Automation · Crypto Insights Built from mobile. Powered by passion.
ramit@darkflux:~$ python darkflux.py --init
✓ Gork AI Brain........... connected
✓ ElevenLabs Voice........ active
✓ GNews API............... streaming
✓ Hardware Commands........ 100+ ready
ramit@darkflux:~$
V0.1
Current Release
100+
Commands
3
AI Integrations
∞
Possibilities
AI Agent Demo
Darkflux 100% → 1% AI Agent
Built a fully working real estate AI voice agent — entirely from mobile using Darkflux.
Handles buyer & seller flows, books appointments, captures leads — zero human needed.
This is what 1% of Darkflux can do. Imagine the other 99%.
Real Estate AI · Active
🏠
Darkflux Real Estate Agent
AI-Powered · Online
Latest Posts
Latest Updates
⭐ Featured · Darkflux Updates
Introducing Darkflux: The Future of Mobile AI Automation
Welcome to Darkflux Dev Hub! Pulling back the curtain on Darkflux V0.1 — an AI assistant built for mobile power users integrating Gork AI, ElevenLabs voice, and GNews API with 100+ hardware commands.
AI DevelopmentDarkfluxPythonMobile Automation
🐍
Coding Tips
How to Make Python API Calls in Termux
How to use Termux on mobile to make Python API calls — complete with full code blocks.
📈
Crypto & IPO
Nepal IPO Update & Bitcoin Price Trend
An informative analysis of upcoming IPOs in Nepal and the latest Bitcoin price trends.
⚡
Coding Tips · Command Guide
The Ultimate Termux Command Guide: Safe vs. Dangerous
A complete breakdown of essential Termux commands — from daily safe use to power controls and the danger zone commands every developer must know.
TermuxCommandsMobile DevDanger Zone
🔐
EXCLUSIVE
Darkflux Secret · Hardware Control
DARKFLUX "Secret" Commands: Controlling Your Mobile Hardware
10 powerful Termux:API hardware commands used inside Darkflux V0.1 — flashlight, vibration, TTS, WiFi scan, and more.
DarkfluxTermux:APIHardwareMobile Dev
🎨
UI/UX
Design · CSS · Darkflux UI
Designing a Futuristic UI for Darkflux V0.1
How I crafted the "Neon-Tech" look for Darkflux using HTML5, CSS3, and Acode — glow effects, deep space palette, mobile-first design and more.
UI/UXCSSAcodeDarkflux
🔌
NEW · Blog #7
Backend · MCP Server · Real-Time AI
Beyond Static Bots: Integrating MCP Servers for Real-Time AI Actions
An AI is only as good as the data it can access. I'll show you how I connected Darkflux to a live MCP server using SSE — and how you can build the same system.
MCP ServerSSEBackendAI ChatboardTermux
Building · Active
Mobile AI Developer
Ramit Sunar
// Founder of Darkflux · Mobile AI Engineer
V0.1
Release
100+
Commands
3
AI APIs
I build AI systems from my phone. Darkflux is my personal AI assistant — built entirely on Android using Termux, Python, and a stack of AI APIs. No laptop, no office. Just code and curiosity.
I document everything here — from real AI integrations to hardware control, crypto analysis, and the occasional "danger zone" command.
Blog Post #1 · Featured
Introducing Darkflux: The Future of Mobile AI Automation
Darkflux UpdatesBy Ramit SunarMarch 20258 min read
What Is Darkflux?
Darkflux V0.1 is a personal AI assistant I built entirely on my Android phone using Termux, Python, and a collection of powerful AI APIs. It's not just a chatbot — it's an automation engine that can control hardware, read the news, respond with a human-like voice, and execute hundreds of commands.
🚀 Darkflux integrates Gork AI brain, ElevenLabs voice synthesis, and GNews API — all running on a mobile device.
The Core Stack
Gork AI — The reasoning brain powering all conversational and decision-making tasks.
ElevenLabs — Ultra-realistic voice synthesis so Darkflux can speak responses aloud.
GNews API — Real-time news streaming for market updates, tech news, and more.
Termux:API — Direct access to Android hardware: flashlight, camera, vibration, TTS.
Why Mobile?
Building on mobile isn't a limitation — it's a choice. I wanted to prove that powerful AI systems don't require a beefy laptop or a server rack. Darkflux runs entirely on a mid-range Android phone, making it accessible to developers everywhere.
Blog Post #2 · Coding Tips
How to Make Python API Calls in Termux
Coding TipsBy Ramit Sunar · March 2025
Setting Up Python in Termux
Termux transforms your Android phone into a Linux environment. Here's how to set it up and make your first API call.
💡 Pro Tip: Store your API keys in a .env file and use python-dotenv to load them securely.
Blog Post #3 · Crypto & IPO
Nepal IPO Update & Bitcoin Price Trend
Crypto & IPOBy Ramit Sunar · March 2025
Nepal IPO Market Overview
The Nepal Stock Exchange (NEPSE) continues to see strong IPO activity in Q1 2025. Several companies across banking, hydropower, and tech sectors have announced upcoming public offerings.
Bitcoin Trend Analysis
Bitcoin has shown remarkable resilience in 2025, consolidating above key support levels. Using Darkflux's GNews API integration, I track real-time crypto sentiment and price movements directly from my phone.
📊 Darkflux can query live BTC prices and generate analysis reports — all automated from Termux.
⚠️ Danger Zone Guide
The Ultimate Termux Command Guide
Coding Tips · Danger ZoneBy Ramit Sunar · March 2025
✅ Safe Daily Commands
pkg update — Updates package lists safely
python script.py — Runs Python scripts
termux-battery-status — Checks battery level
curl URL — Makes HTTP requests
⚠️ Power Commands (Use With Care)
chmod 755 file — Changes file permissions
termux-torch --on — Activates flashlight
termux-vibrate -d 1000 — Triggers vibration
☠️ Danger Zone (Think Before Running)
WARNING
# NEVER run these without understanding them:
rm -rf ~/ # Deletes everything in home dir
chmod -R 777 / # Removes all security permissions
dd if=/dev/zero # Can fill storage instantly
🔐 Exclusive · Hardware Control
DARKFLUX "Secret" Commands
Darkflux SecretBy Ramit Sunar · March 2025
The 10 Secret Commands
These Termux:API hardware commands are the backbone of Darkflux V0.1's physical interaction capabilities.
The Darkflux UI was designed with one goal: make it feel like you're operating a future-military AI system — but from a phone. The design language draws from cyberpunk aesthetics, terminal UIs, and dark-mode developer tools.
Core Design Principles
Deep Space Palette — #050810 background creates depth without being pitch black
Accent Colors — #00f5d4 (teal) for primary actions, #7b2fff (purple) for secondary
Space Mono — Monospace font gives the terminal feel throughout
Clip-Path Polygons — Angled corners replace standard rounded borders
An AI is only as good as the data it can access. For Darkflux V0.1, I wanted a system that doesn't just guess — it actually communicates with a dedicated backend. This is where MCP (Model Context Protocol) comes in.
Today, I'll show you how I connected my custom chatbot to a live MCP server, giving it real-time capabilities and a persistent connection using SSE (Server-Sent Events).
1. What Is an MCP Server?
Think of an MCP server as the "Central Nervous System" of your AI. It allows the chatbot to:
Perform actions — Execute real tasks based on user requests
Fetch live data — Pull current prices, news, status updates in real time
Maintain stable connections — Using SSE (Server-Sent Events) for streaming
Handle context — Remember conversation state across sessions
2. Checking the Heartbeat (The Ping)
Before the chatbot starts talking, it needs to know if the server is alive. We use a simple ping endpoint to verify connectivity.
// Demo Endpoint
STATUS CHECK: https://your-mcp-server.com/ping
EXPECTED: { "status": "OK", "uptime": "99.9%" }
How it works: The chatbot sends a GET request to this endpoint. If it receives a 200 OK, the "System Online" indicator turns green. This happens automatically when you load the chatboard.
javascript
async functioncheckStatus() {
try {
const res = await fetch("https://your-mcp-server.com/ping");
const data = await res.json();
return data.status === "OK";
} catch (e) {
return false; // Server offline
}
}
3. The Conversation Flow (SSE Integration)
Unlike normal APIs that give a one-time answer, SSE (Server-Sent Events) allows the server to stream the answer word-by-word. This makes the AI feel much faster and more natural — you see text appear as it's generated.
// Action Endpoint
SSE STREAM: https://your-mcp-server.com/sse
METHOD: POST with { "query": "user message" }
javascript
async functionstreamResponse(query) {
const response = await fetch("/sse", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ query })
});
const reader = response.body.getReader();
const decoder = new TextDecoder();
let result = "";
while (true) {
const { done, value } = await reader.read();
if (done) break;
result += decoder.decode(value);
updateChatBubble(result); // Show partial text
}
}
A
Create the Input Field
Use a standard text input with proper mobile keyboard support:
Run a local test server directly from your Android phone:
bash
# Start local HTTP server in Termux
python -m http.server 8080
# Your server is now at:# http://localhost:8080
4. Why This Matters for Darkflux
By using this MCP architecture, Darkflux stays lightweight on your phone while the heavy processing happens on the Render cloud. This design means:
No phone hanging — All AI computation happens server-side
Battery savings — Streaming is more efficient than polling
Real-time responses — SSE delivers text as fast as it's generated
Scalable — Add more tools to the MCP server without updating the app
5. Conclusion
Connecting your UI to an MCP server is the final step in creating a professional-grade AI assistant. It's the difference between a simple toy and a powerful tool. The chatboard below demonstrates a working AI powered by a real backend — try it yourself!
// Live Demo Available
Experience the MCP Server architecture firsthand — this chatboard connects to a real AI backend with streaming responses.
MCP ServerSSEBackendReal-TimeTermuxAI
🤖
Darkflux AI — MCP Chatboard
Checking server...
⚡
// Darkflux AI Backend Connected
This chatboard is powered by a real AI backend (Claude). Ask anything — tech, code, crypto, or Darkflux itself.