<?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>DEV Community: Ramesses_2</title>
    <description>The latest articles on DEV Community by Ramesses_2 (@r2).</description>
    <link>https://dev.to/r2</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%2F3895886%2F2b21378d-5217-4f53-9643-de171d0bf806.png</url>
      <title>DEV Community: Ramesses_2</title>
      <link>https://dev.to/r2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/r2"/>
    <language>en</language>
    <item>
      <title>I Built a Private, Local-First AI Assistant with Flask</title>
      <dc:creator>Ramesses_2</dc:creator>
      <pubDate>Fri, 24 Apr 2026 11:23:07 +0000</pubDate>
      <link>https://dev.to/r2/i-built-a-private-local-first-ai-assistant-with-flask-1ib2</link>
      <guid>https://dev.to/r2/i-built-a-private-local-first-ai-assistant-with-flask-1ib2</guid>
      <description>&lt;p&gt;The Goal: I wanted an AI assistant that doesn't save my logs to the cloud and utilize my hardware.&lt;/p&gt;

&lt;p&gt;Though it's quite slow as of now, I believe with further optimization and advancement in local silicon, edge AI would inevitably become the next big thing in the very near future.&lt;/p&gt;

&lt;p&gt;The Tech: I used Flask, TinyLlama, and Python-dotenv for security. I also took the help of Claude and Copilot wherever the code was repetitive and well beyond my current grasp on Python.&lt;br&gt;
I am a college freshman (about to become a sophomore), but I seek merciless feedbacks. Do provide me honest feedbacks about this project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/sounak1410/Web-Based-Edge-AI-" rel="noopener noreferrer"&gt;Github Repository&lt;/a&gt;&lt;/p&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/sounak1410" rel="noopener noreferrer"&gt;
        sounak1410
      &lt;/a&gt; / &lt;a href="https://github.com/sounak1410/Web-Based-Edge-AI-" rel="noopener noreferrer"&gt;
        Web-Based-Edge-AI-
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A personalized Small Language Model that runs locally on your device's hardware without having to access the internet or the cloud
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Y Assistant&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A privacy-focussed local AI chatbot powered by TinyLlama&lt;/p&gt;
&lt;p&gt;Y is a lightweight web-based AI assistant designed to run entirely on your local machine. It features a custom architecture demo, a secure login system, and per-session memory, ensuring that your conversations stay private and contextual. Created by S (My pseudonymn).&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;No data leaves your machine. It runs on TinyLlama 1.1B.&lt;/li&gt;
&lt;li&gt;Contextual Memory: Remembers the last 10 messages for a natural conversation flow.&lt;/li&gt;
&lt;li&gt;Secure Access: Protected by a customizable password system.&lt;/li&gt;
&lt;li&gt;Privacy-First: No permanent logs are stored; session data is cleared on request.&lt;/li&gt;
&lt;li&gt;Architecture Demo: Includes a raw GPT-2 initialization script to show how LLMs are structured.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Installation&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Install my-project with npm&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;  &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Clone the repository&lt;/span&gt;
git clone https://github.com/sounak1410/Web-Based-Edge-AI-.git

&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Enter the directory&lt;/span&gt;
&lt;span class="pl-c1"&gt;cd&lt;/span&gt; Web-Based-Edge-AI-

&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Install dependencies&lt;/span&gt;
pip install -r requirements.txt

&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Run the application&lt;/span&gt;
python Edge.py&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Chatting with Y&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open your browser to &lt;a href="http://127.0.0.1:5000" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:5000&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter the…&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/sounak1410/Web-Based-Edge-AI-" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>ai</category>
      <category>python</category>
      <category>showdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
