<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Archit Jagadeb</title>
    <description>The latest articles on Forem by Archit Jagadeb (@archit_jagadeb).</description>
    <link>https://forem.com/archit_jagadeb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3272481%2F9ec2290a-285e-482d-bc99-45f4b769c0bf.jpg</url>
      <title>Forem: Archit Jagadeb</title>
      <link>https://forem.com/archit_jagadeb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/archit_jagadeb"/>
    <language>en</language>
    <item>
      <title>Solana Green Dashboard — Visualizing Blockchain's Greenest Network</title>
      <dc:creator>Archit Jagadeb</dc:creator>
      <pubDate>Sat, 18 Apr 2026 15:37:38 +0000</pubDate>
      <link>https://forem.com/archit_jagadeb/solana-green-dashboard-visualizing-blockchains-greenest-network-m7</link>
      <guid>https://forem.com/archit_jagadeb/solana-green-dashboard-visualizing-blockchains-greenest-network-m7</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/weekend-2026-04-16"&gt;Weekend Challenge: Earth Day Edition&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;The Solana Green Dashboard is a data visualization web app that tells the environmental &lt;br&gt;
story of the Solana blockchain. Instead of just showing numbers, it presents Solana's &lt;br&gt;
energy efficiency as a visual narrative — comparing it against Ethereum and Bitcoin in &lt;br&gt;
a way that's easy to understand for anyone, not just crypto people.&lt;/p&gt;

&lt;p&gt;The dashboard pulls live transaction data directly from the Solana mainnet and displays &lt;br&gt;
it alongside static environmental benchmarks sourced from the Solana Foundation and the &lt;br&gt;
Cambridge Bitcoin Electricity Consumption Index. The goal was simple: show that not all &lt;br&gt;
blockchains are created equal when it comes to their impact on the planet.&lt;/p&gt;

&lt;p&gt;It covers four key areas. First, live network performance showing real transactions per &lt;br&gt;
second updating every 10 seconds. Second, energy consumption comparing how much power &lt;br&gt;
each blockchain uses per transaction. Third, carbon footprint showing CO₂ emissions &lt;br&gt;
across Solana, Ethereum and Bitcoin. Fourth, a CO₂ saved counter showing the estimated &lt;br&gt;
carbon saved per million transactions compared to Bitcoin.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🌍 Live Site: &lt;a href="https://solana-green-dashboard.onrender.com" rel="noopener noreferrer"&gt;https://solana-green-dashboard.onrender.com&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/architjagadeb" rel="noopener noreferrer"&gt;
        architjagadeb
      &lt;/a&gt; / &lt;a href="https://github.com/architjagadeb/solana-green-dashboard" rel="noopener noreferrer"&gt;
        solana-green-dashboard
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The entire project is built with pure HTML, CSS and vanilla JavaScript — no frameworks, &lt;br&gt;
no build tools, no npm. Just files you can open directly in a browser.&lt;/p&gt;

&lt;p&gt;The frontend uses Playfair Display for headings to give it an editorial magazine feel, &lt;br&gt;
mixed with Inter for body text. The layout is a single scrollable page where charts and &lt;br&gt;
text alternate section by section, rather than cramming everything into one grid. The &lt;br&gt;
color palette is warm — beige, brown and forest green — intentionally chosen to feel &lt;br&gt;
earthy and grounded.&lt;/p&gt;

&lt;p&gt;For the Solana integration, I used the Helius RPC endpoint to call &lt;br&gt;
getRecentPerformanceSamples via a standard JSON-RPC POST request. This returns the last &lt;br&gt;
10 performance samples from the Solana mainnet. Each sample contains numTransactions and &lt;br&gt;
samplePeriodSecs, so TPS is calculated as numTransactions divided by samplePeriodSecs. &lt;br&gt;
The chart refreshes every 10 seconds with the latest data. If the RPC call ever fails, &lt;br&gt;
the dashboard falls back to realistic mock data so the page never breaks.&lt;/p&gt;

&lt;p&gt;Charts are powered by Chart.js loaded via CDN. The energy comparison uses a logarithmic &lt;br&gt;
scale because the difference between Solana and Bitcoin is so large that a normal scale &lt;br&gt;
would make Solana's bar invisible. That design decision alone tells the environmental &lt;br&gt;
story better than any paragraph could.&lt;/p&gt;

&lt;p&gt;One interesting challenge was CORS. The default public Solana RPC endpoint blocks browser &lt;br&gt;
fetch requests, so I had to switch to Helius which supports browser-based calls. This is &lt;br&gt;
something worth knowing if you are building any frontend Solana app.&lt;/p&gt;

&lt;p&gt;The scroll animations use the Intersection Observer API — sections fade in as you scroll &lt;br&gt;
down, which makes the page feel like you are reading through a story rather than landing &lt;br&gt;
on a static dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Best Use of Solana — The project uses the Solana mainnet RPC to fetch live network &lt;br&gt;
performance data directly in the browser using vanilla JavaScript. The getRecentPerformanceSamples &lt;br&gt;
method is called every 10 seconds and the results are parsed and visualized in a live &lt;br&gt;
updating line chart, making Solana data the core of the entire dashboard experience.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
    </item>
    <item>
      <title>a bot which emails me daily</title>
      <dc:creator>Archit Jagadeb</dc:creator>
      <pubDate>Tue, 31 Mar 2026 05:08:15 +0000</pubDate>
      <link>https://forem.com/archit_jagadeb/a-bot-which-emails-me-daily-1bhn</link>
      <guid>https://forem.com/archit_jagadeb/a-bot-which-emails-me-daily-1bhn</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Real learning comes from building, not just watching tutorials.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I recently completed &lt;strong&gt;Anthropic's&lt;/strong&gt; two courses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Introduction to ModelContextProtocol &lt;a href="https://verify.skilljar.com/c/e9aitsrnhwk2" rel="noopener noreferrer"&gt;[link]&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ModelContextProtocol: Advanced Topics &lt;a href="https://verify.skilljar.com/c/v5o3bw9kxftz" rel="noopener noreferrer"&gt;[link]&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After completing this course, I wanted to build something of my own, which would help me in my daily life chores.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcv6v0f5or7aqu28qrlan.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcv6v0f5or7aqu28qrlan.png" alt="Image" width="492" height="834"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this project ?
&lt;/h2&gt;

&lt;p&gt;Honestly? I am a lazy fellow and terrible at time management.But lately I have been realizing how indispensable discipline is in life. So I thought why not to make something which autonomously manages my day without me lifting a finger.&lt;/p&gt;

&lt;p&gt;Every morning it dispatches a single comprehensive email covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📰 Top news from my favourite sources&lt;/li&gt;
&lt;li&gt;📅 Calendar summary with personalized meal and gym suggestions&lt;/li&gt;
&lt;li&gt;💪 Health analysis based on sleep, water intake and steps&lt;/li&gt;
&lt;li&gt;💰 Finance insights based on daily expenses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;All powered by Groq API. Completely free. Running locally on my Mac.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo2tmt9cmaufyzk480c67.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo2tmt9cmaufyzk480c67.png" alt="Image" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Background
&lt;/h2&gt;

&lt;p&gt;I am 19, currently in my first year of BTech CSE and have been coding  since last 9 months.&lt;/p&gt;

&lt;p&gt;Nine Months. That's it.&lt;/p&gt;

&lt;p&gt;Before this project, I had worked extensively with Python's data science ecosystem and built a personal finance tracking application called &lt;a href="https://arthax.onrender.com/" rel="noopener noreferrer"&gt;ArthaX&lt;/a&gt;. But I wanted more. I wanted to learn deep about the AI systems, and I think learning about MCPs is one the very first step in my AI career.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stacks
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Groq API &lt;/li&gt;
&lt;li&gt;Gmail via SMTP &lt;/li&gt;
&lt;li&gt;MCP Python SDK &lt;/li&gt;
&lt;li&gt;FastMCP&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Obstacles
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Model Confusion -&amp;gt;&lt;/strong&gt;&lt;br&gt;
gemini-1.5-flash was deprecated, gemini-2.0-flash had zero quota in India, gemini-2.5-flash had a 20 request/day limitation. Eventually switched to Groq API which is completely free with no such restrictions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;API Rate Limits -&amp;gt;&lt;/strong&gt;&lt;br&gt;
I was testing so aggressively that I kept exhausting my quota mid-build. Had to exercise patience and return after the limits reset.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Combining Everything -&amp;gt;&lt;/strong&gt;&lt;br&gt;
The most formidable challenge was email_handler.py — orchestrating all modules simultaneously, resolving indentation errors, handling Unicode encoding failures in email, and ensuring prompts were correctly passed to the model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MCP Server Working Directory —&amp;gt;&lt;/strong&gt; &lt;br&gt;
Claude Desktop launches the MCP server from a different directory, so all file paths had to be converted to absolute paths. A small but frustrating bug to track down!&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnhijfwpl50qsghcjtnh7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnhijfwpl50qsghcjtnh7.png" alt="Image" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;- Python vs C++&lt;/strong&gt;&lt;br&gt;
The syntax is different but the logic is the same. Coming from C++, I was surprised how simple Python functions and loops are — no brackets, no semicolons, just clean readable code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- AI APIs&lt;/strong&gt;&lt;br&gt;
Gemini helped me understand how to interact with AI models during the build process, while Groq became my execution engine for the final product. Both taught me how to craft prompts that actually work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- MCP in practice&lt;/strong&gt;&lt;br&gt;
The course taught me the theory, but building my own MCP server taught me how servers actually work — how tools are exposed, how clients connect, and how Claude Desktop integrates with your own code in real time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Automation&lt;/strong&gt;&lt;br&gt;
I had never set up a cron job before. Learning to schedule Python scripts at 7am and 9pm felt like giving my project a heartbeat.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Never share your API key&lt;/strong&gt;&lt;br&gt;
I accidentally pasted my live Gemini API key in a chat. Revoked it within seconds but learned the hard way — always use .env files and never share secrets publicly. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/architjagadeb/daily-assistant" rel="noopener noreferrer"&gt;&lt;strong&gt;[Github]&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/archit-jagadeb-/" rel="noopener noreferrer"&gt;&lt;strong&gt;[LinkedIn]&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>automation</category>
      <category>mcp</category>
      <category>productivity</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
