<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Txchyon Dev Log]]></title><description><![CDATA[Behind the scenes of building Txchyon  high-conviction on-chain research. Remote trader in Philippines scaling to 1000+ articles: Astro upgrades, tooling, AI ex]]></description><link>https://dev.txchyon.com</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1765958135406/3ba1cca3-2d06-42b9-a2c4-6d660258096f.jpeg</url><title>Txchyon Dev Log</title><link>https://dev.txchyon.com</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 19:23:09 GMT</lastBuildDate><atom:link href="https://dev.txchyon.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[TxchyaAI: Building a Defi Analyst Research Assistant with ElizaOS]]></title><description><![CDATA[The Vision: TxchyaAI V1.
I'm Galaxy, Founder of Txchyon.com and Im starting my first day on a Ai Agent build using the ElizaOS. Today marked Day 1 of building TxchyaAI - not just another crypto bot, but a specialized Solana DeFi research assistant de...]]></description><link>https://dev.txchyon.com/txchyaai-building-a-defi-analyst-research-assistant-with-elizaos</link><guid isPermaLink="true">https://dev.txchyon.com/txchyaai-building-a-defi-analyst-research-assistant-with-elizaos</guid><category><![CDATA[AI]]></category><category><![CDATA[#ai-tools]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[Bash]]></category><category><![CDATA[openai]]></category><dc:creator><![CDATA[Galaxy]]></dc:creator><pubDate>Tue, 30 Dec 2025 16:07:31 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108914815/f04b48b6-67e1-41b8-8baa-64904a9e448c.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The Vision: TxchyaAI V1.</p>
<p>I'm Galaxy, Founder of Txchyon.com and Im starting my first day on a Ai Agent build using the ElizaOS. Today marked Day 1 of building TxchyaAI - not just another crypto bot, but a specialized Solana DeFi research assistant designed to provide tachyon-fast blockchain insights. </p>
<p>Named after tachyon particles for speed and precision, TxchyaAI represents the fusion of "Txchya" (our brand) with artificial intelligence. Also the Tx stands for Transaction in finance world, so this is why she'll be analyzing transactions and wallets when I get finished building her. Fast at catching the scams.</p>
<p>Phase 1: Blockchain Research Assistant (starting with Solana)</p>
<p>Core Philosophy: Start simple, deliver value, iterate fast.</p>
<p>Minimal Viable Features:</p>
<p>✅ Solana-only - No multi-chain complexity at launch</p>
<p>✅ Telegram-first - Where our community already lives</p>
<p>✅ Read-only - Analysis without trading risks</p>
<p>✅ Three core functions: Market analysis, wallet research, and intelligent responses</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108340913/a3615d75-96a0-4b22-845c-113e0c512352.png" alt class="image--center mx-auto" /></p>
<p>Architecture:</p>
<p>Telegram User → TXCHyaai Bot → ElizaOS → Solana RPC + APIs</p>
<p>the telegram : https://t.me/txchyon which is the public channel you'd have to verify at the top to reach the private tg channel Txchyon Research Lab where Txchya will be reachable.</p>
<p>Commands That Matter</p>
<p>TxchyaAI's initial command set focuses on actionable insights:</p>
<p>!price SOL - Real-time Solana pricing</p>
<p>!price JUP - Any Solana token price</p>
<p>!wallet</p>
<p>- Deep wallet analysis</p>
<p>!top tokens - Trending token discovery</p>
<p>!dex volume - DEX liquidity insights</p>
<p>!nft - NFT floor price tracking</p>
<p>@txchyaai help - Context-aware assistance</p>
<p>The Build Journey: Triumphs and Tribulations The Good: What Went Right</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108272078/b7731a24-bf35-4a9d-8429-7e5a7814d29b.jpeg" alt class="image--center mx-auto" /></p>
<p>ElizaOS Framework Choice - Selecting a modular AI agent framework gave us Telegram integration, memory systems, and plugin architecture out of the box</p>
<p>Focus on Simplicity - Starting with Solana-only kept scope manageable</p>
<p>Proper Environment Setup - Using .env files for API keys from day one</p>
<p>The Challenges: Common Pitfalls &amp; Solutions ⚠️ Pitfall #1: Package Manager Confusion</p>
<p>Mistake: Assuming npm/pnpm would work with ElizaOS's Bun-based monorepo Solution:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108364074/fa45f19f-2f14-46b7-9640-663d907300fc.jpeg" alt class="image--center mx-auto" /></p>
<h1 id="heading-the-fix-was-simple-but-non-obvious">The fix was simple but non-obvious</h1>
<p>winget install OpenJS.NodeJS # First, ensure Node powershell -c "irm bun.sh/install.ps1 | iex" # Then install Bun bun install --ignore-scripts # Skip problematic post-install scripts</p>
<p>⚠️ Pitfall #2: Windows Compatibility Issues</p>
<p>Mistake: Not realizing ElizaOS scripts assumed Unix environments Solution: Creating Windows-compatible scripts</p>
<p>Bun no installed :(</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108542478/5c5da7d3-f9b6-47bd-a078-c8b09e07dfcc.jpeg" alt class="image--center mx-auto" /></p>
<p>Bun 1.3.5 was installed successfully! :)</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108398299/5b33b418-eb87-4743-b247-c0d8de3723c1.jpeg" alt class="image--center mx-auto" /></p>
<h1 id="heading-fixed-init-submodulessh-for-windows">Fixed init-submodules.sh for Windows</h1>
<p>@' #!/bin/bash if [ "$SKIP_POSTINSTALL" = "1" ]; then exit 0 fi git submodule init git submodule update --recursive --remote '@ | Set-Content scripts/init-submodules.sh</p>
<p>⚠️ Pitfall #3: OpenAI API Key Woes</p>
<p>Mistake: Using test keys without checking credit balances Solution: Always verify quota before integration bash</p>
<h1 id="heading-quick-quota-check">Quick quota check</h1>
<p>curl https://api.openai.com/v1/models<br />-H "Authorization: Bearer $OPENAI_API_KEY"</p>
<p>⚠️ Pitfall #4: Multiple Bot Instances</p>
<p>Mistake: Running bun run dev in multiple terminals Solution: Singleton pattern enforcement powershell</p>
<h1 id="heading-check-for-existing-instances">Check for existing instances</h1>
<p>Get-Process bun -ErrorAction SilentlyContinue</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108605899/f4704a13-af40-4052-aaf6-ddca07d0c78d.jpeg" alt class="image--center mx-auto" /></p>
<h1 id="heading-stop-all-before-restarting">Stop all before restarting</h1>
<p>Get-Process bun | Stop-Process -Force</p>
<p>⚠️ Pitfall #5: Agent Configuration Over-Engineering</p>
<p>Mistake: Complex agent.json before basic functionality Solution: Start minimal, expand gradually json</p>
<p>{ "name": "txchyaai", "description": "TxchyaAI - Solana Research", "plugins": ["telegram"], "settings": { "secrets": ["OPENAI_API_KEY", "TELEGRAM_BOT_TOKEN"] } }</p>
<h2 id="heading-the-code-a-living-foundation">📂 The Code: A Living Foundation</h2>
<p>The journey from concept to a working bot is now captured in code. You can explore the complete foundation for TxchyaAI on GitHub:</p>
<p><strong>Repository:</strong> <a target="_blank" href="https://github.com/0xNefu/TxchyaAI">github.com/0xNefu/TxchyaAI</a></p>
<p>This repository contains the result of our first development session:</p>
<ul>
<li><strong>The Agent's Core:</strong> The <code>agents/txchyaai/</code> directory holds her defined personality, goals, and configuration.</li>
<li><strong>Safe Setup:</strong> An <code>.env.example</code> file provides a template for the API keys needed to bring her online.</li>
<li><strong>Project Roadmap:</strong> The README outlines the planned features, starting with Solana price commands and wallet analysis.</li>
</ul>
<p>This codebase represents the essential first step: turning the idea of "TxchyaAI" into a structured project ready for building.</p>
<p>🛠️ Technical Stack That Actually Worked</p>
<p>Framework: ElizaOS (for multi-protocol AI agents)</p>
<p>Language: TypeScript (type safety for blockchain interactions)</p>
<p>Blockchain: @solana/web3.js (Solana RPC interactions)</p>
<p>APIs: OpenAI GPT-4, ElevenLabs (voice coming soon)</p>
<p>Infrastructure: Bun runtime, TurboRepo for monorepo</p>
<p>Lessons for Fellow Builders:</p>
<ol>
<li>Environment First, Code Second</li>
</ol>
<p>Spend 30% of your time on environment setup. A working dev environment prevents 80% of future issues. </p>
<ol start="2">
<li>Permission Management is Critical</li>
</ol>
<p>When creating API keys:</p>
<p>Start with minimal permissions</p>
<p>Document each permission's purpose</p>
<p>Create separate keys for different services</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1767108706314/8c63741b-9b54-47e3-aa40-174ec2d4de5d.jpeg" alt class="image--center mx-auto" /></p>
<ol start="3">
<li>The Power of "One at a Time"</li>
</ol>
<p>The urge to implement everything simultaneously is tempting it feels like you have infinite time and energy. But in reality, this approach often leads to scattered focus and compounding errors. The disciplined alternative? Tackle one problem at a time.</p>
<p>If you're a founder trying to juggle coding, building, and marketing simultaneously, I can help you maintain that crucial focus. Visit my <a target="_blank" href="https://txchyon.com/services/">services</a> page to see how I help technical founders stay on track while executing their vision.</p>
<p>Our actual implementation sequence demonstrates this principle:</p>
<ol>
<li><strong>Telegram connection</strong> ✅  </li>
<li><strong>Basic AI responses</strong> ✅  </li>
<li><strong>Solana price feeds</strong> <em>(next)</em>  </li>
<li><strong>Wallet analysis</strong> <em>(after)</em>  </li>
<li><p><strong>Voice synthesis</strong> <em>(final)</em></p>
</li>
<li><p>Windows Development Requires Adaptation</p>
</li>
</ol>
<p>Assume Linux/Mac-centric tools need adjustment:</p>
<p>Bash scripts → PowerShell equivalents</p>
<p>Path separators (use / or \)</p>
<p>Process management differences</p>
<p>What's Next for TxchyaAI Short-term (Next 7 Days)</p>
<p>Implement !price SOL with real CoinGecko/Birdeye data</p>
<p>Add !wallet basic balance checking</p>
<p>Create help command with personality</p>
<p>Medium-term (30 Days)</p>
<p>Advanced wallet analytics (token composition, profit/loss)</p>
<p>DEX volume tracking across Raydium, Orca, Jupiter</p>
<p>NFT collection analysis (maybe idk)</p>
<p>Long-term Vision:</p>
<p>Polymarket Integration, allow Txchya to give insights on the prediction markets</p>
<p></p><blockquote><p>You can just do things<br /><br />Polymarket agent? Go nuts. It'll take you like 20-30 minutes to get it rolling<a href="https://t.co/1xP4S0fIYc">https://t.co/1xP4S0fIYc</a></p>— Shaw (@shawmakesmagic) <a href="https://twitter.com/shawmakesmagic/status/2005884733792620760?ref_src=twsrc%5Etfw">December 30, 2025</a></blockquote>  <p></p>
<p>X/ Twitter intergration https://x.com/txchyaai</p>
<p>Tiktok integration https://tiktok.com/@txchyaai</p>
<p>Multi-chain expansion (Ethereum, Base, Arbitrum, Aster)</p>
<p>Predictive analytics and alerts</p>
<p>Voice interface via ElevenLabs</p>
<p>Trading simulation mode</p>
<p>💭 Final Thoughts</p>
<p>Building TxchyaAI today was less about writing perfect code and more about navigating the integration maze of modern AI development. The real win wasn't any single feature, but establishing a foundation where:</p>
<p>Telegram ↔ ElizaOS communication works</p>
<p>OpenAI integration responds (once quota is fixed)</p>
<p>Solana RPC connections are ready</p>
<p>Plugin architecture is understood</p>
<p>The most valuable insight? Start with someone else's framework (ElizaOS), focus on one chain (Solana), deliver one interface (Telegram), and solve real problems (DeFi research). Everything else is iteration.</p>
<p>TxchyaAI isn't just a bot - she's the beginning of accessible blockchain intelligence. And today, we built her nervous system. Tomorrow, we give her Solana eyes.</p>
<p><em>Build log: December 30, 2025 - TxchyaAI Foundation Established</em></p>
<p>Key Takeaways:</p>
<p>Choose frameworks that handle infrastructure for you</p>
<p>Environment setup is 50% of the battle</p>
<p>Permission management prevents security headaches</p>
<p>Windows development requires proactive adaptation</p>
<p>Start minimal, validate, then expand</p>
<p>One problem at a time beats trying to solve everything</p>
<p>For developers and traders looking to stay ahead of the curve, consider subscribing to our main research feed https://txchyon.com/blog for regular updates on DeFi strategies, infrastructure insights, and trading opportunities across multiple blockchains.</p>
]]></content:encoded></item><item><title><![CDATA[Txchyon Dev Log: The Bugs, The Fixes, and Why You Should Never Give Up]]></title><description><![CDATA[Dev life is weird. One moment, your website is looking sick, the next, Astro is yelling at you like it just discovered you broke a law you didn’t even know existed. Over the past few weeks, working on Txchyon.com, I’ve been through every kind of web-...]]></description><link>https://dev.txchyon.com/txchyon-dev-log-the-bugs-the-fixes-and-why-you-should-never-give-up</link><guid isPermaLink="true">https://dev.txchyon.com/txchyon-dev-log-the-bugs-the-fixes-and-why-you-should-never-give-up</guid><category><![CDATA[Astro]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[devtips]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[Frontend Development]]></category><dc:creator><![CDATA[Galaxy]]></dc:creator><pubDate>Thu, 25 Dec 2025 13:03:22 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1766666840616/a9490c99-2a28-42ad-842d-df5933cc1415.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Dev life is weird. One moment, your website is looking sick, the next, Astro is yelling at you like it just discovered you broke a law you didn’t even know existed. Over the past few weeks, working on <strong>Txchyon.com</strong>, I’ve been through every kind of web-dev pain imaginable  and came out the other side with a slightly brighter color of grey hair. </p>
<p>Here’s the full scoop on what I fixed, built, and learned plus some tips for anyone building in Astro who doesn’t want to throw their laptop out the window.</p>
<hr />
<h2 id="heading-1-feed-rss-and-sitemap-chaos">1. Feed, RSS, and Sitemap Chaos</h2>
<p><strong>Problem:</strong><br />Our previous builds were like shouting into a void. No feed, no sitemap, no RSS. Google didn’t know we existed.  </p>
<p><strong>What I did first:</strong>  </p>
<ul>
<li>Generated <code>feed.json</code> correctly  </li>
<li>Implemented proper RSS support  </li>
<li>Submitted an official sitemap to Google Search Console  </li>
</ul>
<p><strong>Result:</strong>  </p>
<ul>
<li>Google started indexing within <strong>4 weeks of launch</strong> (unheard of!)  </li>
<li>Page views started trickling in from organic search  </li>
</ul>
<p><strong>Tip for Astro devs:</strong><br />Make sure your feed generation is automated and connected to your build pipeline. Otherwise, you’re writing content for ghosts.</p>
<hr />
<h2 id="heading-2-internal-linking-overhaul">2. Internal Linking Overhaul</h2>
<p><strong>Problem:</strong><br />Articles were floating around like orphan satellites in orbit with no structure, no link equity. Google and users were confused about where to go next.  Crawlers don't want to crawl that haha.</p>
<p><strong>What I did next:</strong>  </p>
<ul>
<li>Mapped all 11 pillars and 88 subcategories  </li>
<li>Implemented a hierarchical linking structure  </li>
<li>Beginner → Advanced → Expert flow in every series  </li>
</ul>
<p><strong>Result:</strong>  </p>
<ul>
<li>Users can naturally progress through topics  </li>
<li>Internal link authority is flowing to our key money pages  </li>
</ul>
<p><strong>Tip for Astro devs:</strong><br />Even if your content is perfect, <strong>internal linking is how Google and humans understand value</strong>. Don’t skip it.</p>
<hr />
<h2 id="heading-3-affiliate-link-strategy-non-desperate-edition">3. Affiliate Link Strategy (Non-Desperate Edition)</h2>
<p><strong>Problem:</strong><br />Previous sites either buried affiliate links or spammed banners  Google hated it, readers trusted us less.  </p>
<p><strong>What we did:</strong>  </p>
<ul>
<li>Only included affiliate links <strong>where a readers action is required</strong> (wallet setup, downloads, exchanges)  </li>
<li>Removed all banner-style ads, matter fact I never even signed up for ads!</li>
<li>Clearly explained why the link is safe and official  </li>
</ul>
<p><strong>Result:</strong>  </p>
<ul>
<li>Readers trust Txchyon more than other crypto blogs  </li>
<li>CTR is increasing on natural tutorial steps  </li>
</ul>
<p><strong>Tip for Astro devs:</strong><br />Affiliate links should feel like <strong>help, not a sales pitch</strong>. Timing and context are everything. I actually don't see how you can force anyone to use your link, they can always go directly to the business link, but if they like you and trust you they want to use your link to compensate you for the value you brought to them. </p>
<hr />
<h2 id="heading-4-content-structuring-amp-series-implementation">4. Content Structuring &amp; Series Implementation</h2>
<p><strong>Problem:</strong><br />We had great long-form articles, but readers didn’t know what to read first. Some series were confusing or incomplete.  </p>
<p><strong>What I had to do:</strong>  </p>
<ul>
<li>Implement 10-article series per subcategory  </li>
<li>Articles 1–4 = Free beginner content  </li>
<li>Articles 5–10 = Advanced / premium content ( maybe its planned for paywall later, maybe not )  </li>
<li>Beginner → Expert flow is intuitive and repeatable  </li>
</ul>
<p><strong>Result:</strong>  </p>
<ul>
<li>Users can self-guide through learning DeFi safely  </li>
<li>Keeps engagement high  </li>
<li>Lays the foundation for a future subscription model  </li>
</ul>
<p><strong>Tip for Astro devs:</strong><br />Think about <strong>user progression</strong> before SEO. Good structure = better rankings + happier readers.</p>
<hr />
<h2 id="heading-5-frontmatter-amp-markdown-standardization">5. Frontmatter &amp; Markdown Standardization</h2>
<p><strong>Problem:</strong><br />Some of our articles were failing builds due to inconsistent frontmatter — missing fields, typos, or weird YAML formatting.  </p>
<p><strong>What I did:</strong>  </p>
<ul>
<li>Standardized frontmatter across 700+ pre-planned articles  </li>
<li>Added validations during local builds  </li>
<li>Built templates for future posts  </li>
</ul>
<p><strong>Result:</strong>  </p>
<ul>
<li>No more mysterious build errors  </li>
<li>Faster article creation  </li>
<li>Clean, predictable site metadata  </li>
</ul>
<p><strong>Tip for Astro devs:</strong><br />Templates are life. If your frontmatter isn’t consistent, Astro will silently throw shade at you.</p>
<hr />
<h2 id="heading-6-speed-amp-build-optimizations">6. Speed &amp; Build Optimizations</h2>
<p><strong>Problem:</strong><br />Initial builds were slow, image processing delayed deployment, and some pages rendered inconsistently.  </p>
<p><strong>What I did this time:</strong>  </p>
<ul>
<li>Optimized images with proper formats (png,jpg)  </li>
<li>Leveraged incremental builds and caching  </li>
<li>Adjusted component structure for faster SSR  </li>
</ul>
<p><strong>Result:</strong>  </p>
<ul>
<li>Faster dev iteration  </li>
<li>Users get instant-loading pages  </li>
<li>Fewer cache-related headaches  </li>
</ul>
<p><strong>Tip for Astro devs:</strong><br />Build speed affects your sanity more than you think. Optimize early, iterate often.</p>
<hr />
<h2 id="heading-7-the-big-takeaway-never-give-up">7. The Big Takeaway: Never Give Up</h2>
<p>Here’s the honest truth: working on Txchyon.com has been brutal, frustrating, and hilarious all at once. Every bug was a mini panic attack. Every fix was a victory worth celebrating.  </p>
<p>As a dev, you <strong>will hit walls</strong>. You will waste hours on YAML, paths, or caching issues. But here’s the secret: <strong>these walls are invisible training wheels</strong>. The site you see at the end of the sprint is exactly because you didn’t quit.  </p>
<ul>
<li>Log everything  </li>
<li>Automate checks  </li>
<li>Validate builds  </li>
<li>Laugh at mistakes  </li>
<li>Keep iterating  </li>
</ul>
<p>Because if you give up, nothing happens. But if you push through… your readers, your indexing, and your future paywalls will thank you.</p>
<hr />
<h2 id="heading-tldr-astro-dev-tips-from-txchyon">TL;DR – Astro Dev Tips From Txchyon</h2>
<ol>
<li>Feed, RSS, sitemap — get indexed fast.  </li>
<li>Internal linking is king — make your content a guided tour.  </li>
<li>Affiliate links = helpful, not spammy.  </li>
<li>Beginner → Expert progression is critical.  </li>
<li>Standardize frontmatter and Markdown.  </li>
<li>Optimize builds &amp; images early.  </li>
<li>Never, ever give up. Seriously.  </li>
</ol>
<blockquote>
<p>And if you ever feel like quitting at 3 AM, just remember: somewhere, an Astro component is silently judging you. Fix it. You’ll feel amazing afterward haha Add me on @GalaxyBuilt</p>
</blockquote>
<hr />
]]></content:encoded></item><item><title><![CDATA[Weekend Dev Log: Building a Complete Search System from Scratch]]></title><description><![CDATA[Posted on December 21, 2024 · 8 min read · #webdev #astro #javascript #search
🎯 The Challenge
This weekend, I set out to solve a critical problem for Txchyon: users needed a way to find content across our growing platform. With guides, documentation...]]></description><link>https://dev.txchyon.com/weekend-dev-log-building-a-complete-search-system-from-scratch</link><guid isPermaLink="true">https://dev.txchyon.com/weekend-dev-log-building-a-complete-search-system-from-scratch</guid><category><![CDATA[Developer]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[devlog]]></category><dc:creator><![CDATA[Galaxy]]></dc:creator><pubDate>Sun, 21 Dec 2025 04:34:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1766291469148/e0db5d77-505c-4b27-ac16-e33316d6e7d5.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Posted on December 21, 2024 · 8 min read · #webdev #astro #javascript #search</p>
<p>🎯 The Challenge</p>
<p>This weekend, I set out to solve a critical problem for Txchyon: users needed a way to find content across our growing platform. With guides, documentation, and blog posts scattered across different directories, finding specific information was becoming a challenge.</p>
<p>Little did I know I was about to embark on a 3-day journey through Astro's architecture, JavaScript debugging, and search algorithm design. I also had to deal with the catergory and subcategory system on astro but that's in the next dev log.</p>
<p>📊 The Goal</p>
<p>Build a complete search system that:</p>
<p>    Searches across pages (src/pages/<em>) and guides (guides/**/</em>.md)</p>
<p>    Provides real-time results as users type</p>
<p>    Offers both client-side and server-side search options</p>
<p>    Maintains excellent performance</p>
<p>    Works seamlessly across all devices</p>
<p>🏗️ Day 1: Laying the Foundation
The Architecture</p>
<p>I started by designing a dual-source data collection system:
astro</p>
<h2 id="heading-"></h2>
<p>const allPages = await Astro.glob('../<em>.{md,astro}');
const allGuides = await Astro.glob('../../../guides/**/</em>.md');</p>
<p>const searchList = [
  ...allPages.map(page =&gt; ({
    url: page.url,
    title: page.frontmatter.title,
    description: page.frontmatter.description,
    content: page.rawContent()
  })),
  ...allGuides.map(guide =&gt; ({
    url: <code>/guides/${guide.file.split('/').pop().replace('.md', '')}</code>,
    title: guide.frontmatter.title,
    description: guide.frontmatter.description,
    content: guide.rawContent()
  }))</p>
<h2 id="heading-xts">];</h2>
<p>Initial Files Created:</p>
<p>    /search.astro - Real-time search interface</p>
<p>    /search-results.astro - Server-side results page</p>
<p>    SearchBar.astro - Reusable component</p>
<p>Progress: Basic structure complete, but...</p>
<p>🐛 Day 2: The Debugging Marathon</p>
<p>This was the most intense part of the weekend. Four major bugs tried to derail the project:
Bug #1: Uncaught SyntaxError: unexpected token: '{'</p>
<p>The Problem: Template literal escaping issues between Astro and JavaScript.</p>
<p>The Fix:
astro</p>






<p>Bug #2: ReferenceError: pm is not defined</p>
<p>The Problem: Guide content processing was failing due to markdown parsing issues.</p>
<p>The Fix: Proper content extraction with fallbacks:
javascript</p>
<p>const content = item.rawContent() || item.Content || '';</p>
<p>Bug #3: Path Resolution Chaos</p>
<p>Relative imports were breaking across different directory levels. Fixed by standardizing all import paths.
Bug #4: Data Flow Breakdown</p>
<p>Ensuring proper serialization from Astro's server-side to client-side JavaScript required careful handling of async operations.</p>
<p>Progress: All critical bugs squashed, system stable!</p>
<p>🎨 Day 3: Polishing &amp; Performance</p>
<p>Real-time Search with Debouncing</p>
<p>Implemented 300ms debouncing to prevent performance issues:
javascript</p>
<p>let debounceTimer;
searchInput.addEventListener('input', (e) =&gt; {
  clearTimeout(debounceTimer);
  debounceTimer = setTimeout(() =&gt; {
    performSearch(e.target.value);
  }, 300);
});</p>
<p>Smart Search Algorithm
javascript</p>
<p>function performSearch(searchTerm, searchIndex) {
  return searchIndex.filter(item =&gt; {
    const searchFields = [
      item.title?.toLowerCase() || '',
      item.description?.toLowerCase() || '',<br />      item.content?.toLowerCase() || ''
    ];</p>
<p>    return searchFields.some(field =&gt; 
      field.includes(searchTerm.toLowerCase())
    );
  });
}</p>
<p>Keyboard Navigation</p>
<p>Added arrow key support for power users:
javascript</p>
<p>document.addEventListener('keydown', (e) =&gt; {
  if (e.key === 'ArrowDown') {
    // Navigate down results
  } else if (e.key === 'ArrowUp') {
    // Navigate up results
  } else if (e.key === 'Enter') {
    // Select current result
  }
});</p>
<p>📈 Final Architecture
text</p>
<p>txchyon/
├── src/
│   ├── layouts/
│   │   └── Layout.astro
│   ├── components/
│   │   └── SearchBar.astro          # Reusable search component
│   ├── pages/
│   │   ├── search.astro             # Real-time search UI
│   │   └── search-results.astro     # Server-side results
│   └── styles/
│       └── search.css
├── guides/                          # External content
│   ├── guide-1.md
│   ├── guide-2.md
│   └── ...
└── package.json</p>
<p>🎯 What I finally  Achieved</p>
<p>✅ Core Features (100% Complete):</p>
<p>    Real-time type-ahead search with instant feedback</p>
<p>    Multi-source content search across pages and guides</p>
<p>    Dual interface modes: SPA-like experience + server-side rendering</p>
<p>    Smart result ranking (title matches &gt; description &gt; content)</p>
<p>    URL parameter support (/search-results?q=term)</p>
<p>    Mobile-responsive design that works flawlessly on all devices</p>
<p>    Keyboard navigation for power users</p>
<p>✅ Performance Metrics:</p>
<p>    Search speed: &lt; 10ms for typical queries</p>
<p>    Initial load: &lt; 50KB search data</p>
<p>    Bundle size: Minimal JavaScript footprint</p>
<p>    Memory usage: Efficient object reuse</p>
<p>✅ User Experience:</p>
<p>    Clean, modern interface with smooth animations</p>
<p>    Helpful empty states and search tips</p>
<p>    Click-outside-to-close behavior</p>
<p>    Accessible color contrast and focus states</p>
<p>🏆 Key Learnings</p>
<p>    Astro's Hybrid Architecture is powerful but requires careful data flow planning</p>
<p>    Debugging template literals requires attention to escaping and serialization</p>
<p>    Performance optimization is critical for real-time search (debouncing is your friend)</p>
<p>    Mobile first design ensures accessibility for all users</p>
<p>    Progressive enhancement (client-side + server-side options) provides the best UX</p>
<p>🔮 Future Enhancements (When Needed)</p>
<p>    Search term highlighting in results</p>
<p>    Synonyms &amp; fuzzy matching ("js" finds "javascript")</p>
<p>    Advanced filtering by content type or date</p>
<p>    Search analytics dashboard to track popular queries</p>
<p>    Voice search integration using Web Speech API</p>
<p>📊 Weekend Stats</p>
<p>    Lines of code: ~500</p>
<p>    Components created: 3</p>
<p>    Bugs fixed: 4 major, 6 minor</p>
<p>    Test cases passed: 15/15</p>
<p>    Coffee consumed: Let's not talk about it ☕</p>
<p>🚀 The Result</p>
<p>What started as "we need search functionality" turned into a complete, production-ready search system that:</p>
<p>    Enhances user experience with instant content discovery</p>
<p>    Improves content accessibility across the entire platform</p>
<p>    Maintains excellent performance even with growing content</p>
<p>    Provides multiple access patterns for different user needs</p>
<p>The search is now live at txchyon.com/search and integrated throughout the platform, still have a little bit of adjustment but i'm super tired and sleepy so I'ma log off.  At least it commit to git and pushed to cloudflare. </p>
<p>💭 Final Thoughts</p>
<p>This weekend reminded me why I love web development: starting with a problem, wrestling with technology, and emerging with a solution that genuinely helps users. The journey from "this should be simple" to "oh, that's why it's complex" to "aha, it works!" never gets old.</p>
<p>To fellow developers: Sometimes the most valuable feature isn't the flashiest one. A well-implemented search system might not get applause, but it'll be used dozens of times every day by people trying to find what they need and that's all that matters to me.</p>
<p>Now, time to actually use this search feature to find where I left my bag of twizzlers...</p>
<p>Want to see the code? The search components are open source as part of the Txchyon platform. Have questions about implementing search in your Astro project? Drop a comment on X best place to reach me. </p>
<p>Tags: #astro #webdev #search #javascript #tutorial #debugging #frontend</p>
]]></content:encoded></item><item><title><![CDATA[My Journey Starting Txchyon: Why I Launched a Crypto Research Blog in 2025 from the Philippines]]></title><description><![CDATA[Hey everyone,
I'm Galaxy, full-time on-chain trader, reply-guy extraordinaire, and the guy behind the new Txchyon research site (https://txchyon.com).
For a year I've been living remotely in the Philippines. Cheap living, solid internet, beaches on w...]]></description><link>https://dev.txchyon.com/my-journey-starting-txchyon-why-i-launched-a-crypto-research-blog-in-2025-from-the-philippines</link><guid isPermaLink="true">https://dev.txchyon.com/my-journey-starting-txchyon-why-i-launched-a-crypto-research-blog-in-2025-from-the-philippines</guid><category><![CDATA[Developer]]></category><category><![CDATA[journey]]></category><category><![CDATA[remote work]]></category><category><![CDATA[research]]></category><dc:creator><![CDATA[Galaxy]]></dc:creator><pubDate>Wed, 17 Dec 2025 08:13:53 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1765958601907/49b7ad49-dda9-4d39-990d-4e438c855f88.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hey everyone,</p>
<p>I'm Galaxy, full-time on-chain trader, reply-guy extraordinaire, and the guy behind the new Txchyon research site (https://txchyon.com).</p>
<p>For a year I've been living remotely in the Philippines. Cheap living, solid internet, beaches on weekends, and plenty of free time between trades. I was already deep in DeFi, perps, airdrops, and on-chain alpha, but most of my notes and breakdowns were just sitting in private threads or DMs.
I realized I had extra hours every day, and I wanted to turn that into something bigger than just personal PnL. </p>
<p>So I decided to go public with my research and launch Txchyon a no-BS crypto research blog focused on real positions, on-chain data, and actionable strategies.</p>
<p>Why Start a Crypto Research Blog in 2025?</p>
<p>2025 has been the perfect year to do this:</p>
<p>The market is maturing fast institutions are in, regulations are clearer, and DeFi is hitting new highs. People want trustworthy breakdowns, not just hype tweets.</p>
<p>Monetization is easier than ever solid affiliate deals from exchanges, wallets, hardware, and tools pay well when you have targeted traffic. SEO is still wide open in crypto long-tail searches like “best Solana perps dex 2025” or “delta-neutral yield strategies” have huge volume and low competition for new sites.</p>
<p>Remote life multiplier, living in the Philippines gave me the headspace to write consistently without the distractions of office life. Building in public pays off sharing what I’m actually trading and why has already opened doors to better conversations, partnerships, and opportunities.</p>
<p>It started small a few posts, basic design but the feedback was immediate. Traders started reaching out, asking for more, and the traffic grew quickly. Now the site is scaling fast (already hitting thousands of visitors), and I’m committing to consistent, high-quality research. </p>
<p>All the deep dives, on-chain breakdowns, and trade recaps I post on @GalaxyBuilt will live permanently on txchyon.com. </p>
<p>If you’re a trader with some extra time (or dreaming of remote life), starting a research blog in 2025 is one of the smartest moves you can make. It turns your edge into a real asset.</p>
<p>Check it out and let me know what you think: https://txchyon.com
Follow the daily alpha on X: https://x.com/GalaxyBuilt
Code, upgrades, and build logs are open on GitHub: https://github.com/GalaxyBuilt/</p>
]]></content:encoded></item></channel></rss>