<?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: ghgltggamer</title>
    <description>The latest articles on DEV Community by ghgltggamer (@ghgltggamers).</description>
    <link>https://dev.to/ghgltggamers</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%2F1956017%2Fb6173e6a-c27a-48ae-b5d6-f86665ed358a.jpeg</url>
      <title>DEV Community: ghgltggamer</title>
      <link>https://dev.to/ghgltggamers</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ghgltggamers"/>
    <language>en</language>
    <item>
      <title>🔐 Sarah AI — A Local-First, Emotion-Driven AI Built with C++ and Heart</title>
      <dc:creator>ghgltggamer</dc:creator>
      <pubDate>Wed, 21 May 2025 16:01:03 +0000</pubDate>
      <link>https://dev.to/ghgltggamers/sarah-ai-a-local-first-emotion-driven-ai-built-with-c-and-heart-5127</link>
      <guid>https://dev.to/ghgltggamers/sarah-ai-a-local-first-emotion-driven-ai-built-with-c-and-heart-5127</guid>
      <description>&lt;p&gt;In a world flooded with cloud-bound AI assistants and tightly controlled APIs, &lt;strong&gt;Sarah AI&lt;/strong&gt; stands out for all the right reasons. Created by a teenage developer known as [@ghgltggamer]&lt;/p&gt;

&lt;p&gt;(&lt;a href="https://github.com/darkyboys" rel="noopener noreferrer"&gt;https://github.com/darkyboys&lt;/a&gt;), this Linux-only project reimagines what it means to have a &lt;strong&gt;private, open-source AI companion&lt;/strong&gt; — fully offline, expressive, and entirely yours.&lt;/p&gt;

&lt;p&gt;Sarah AI isn’t just a command-line tool. It’s a &lt;strong&gt;graphical assistant&lt;/strong&gt;, complete with emotional nuance, chat memory, and personality — built with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;C++&lt;/strong&gt; for the engine,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JavaScript + HTML/CSS&lt;/strong&gt; for the UI,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GTK3+&lt;/strong&gt; and &lt;strong&gt;WebKit2Gtk&lt;/strong&gt; for Linux-native desktop experience,&lt;/li&gt;
&lt;li&gt;And the powerful &lt;strong&gt;LLaMa.cpp&lt;/strong&gt; backend for running large language models locally.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🧠 Why Sarah AI Deserves Your Attention
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Truly Private&lt;/strong&gt;: Nothing leaves your machine. No tokens. No telemetry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local LLM Support&lt;/strong&gt;: Uses &lt;a href="https://github.com/ggerganov/llama.cpp" rel="noopener noreferrer"&gt;LLaMa.cpp&lt;/a&gt; — you download the model yourself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Emotion &amp;amp; Personality Engine&lt;/strong&gt;: Sarah can simulate emotional responses, moods, and one-time chat memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built from Scratch&lt;/strong&gt;: No Electron bloat. Just clean C++, compiled binaries, and a purpose-built GTK frontend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open Source (MIT)&lt;/strong&gt;: You’re free to use, modify, or even commercialize your version. No strings attached.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For developers who value control, privacy, and technical purity — Sarah is a rare gem.&lt;/p&gt;




&lt;h3&gt;
  
  
  ⚙️ Installation (Arch Linux Recommended)
&lt;/h3&gt;

&lt;p&gt;Sarah is built using a custom build tool called &lt;strong&gt;Magma&lt;/strong&gt;, also authored by the project’s creator. Here's the simplified flow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install build tools and libraries&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Syu&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; git gcc cmake make gtk3 webkit2gtk

&lt;span class="c"&gt;# Install Magma&lt;/span&gt;
git clone https://github.com/darkyboys/magma
&lt;span class="nb"&gt;cd &lt;/span&gt;magma &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;mkdir &lt;/span&gt;bin
g++ src/main.cc &lt;span class="nt"&gt;-o&lt;/span&gt; bin/magma
&lt;span class="nb"&gt;sudo mv &lt;/span&gt;bin/magma /usr/local/bin
&lt;span class="nb"&gt;cd&lt;/span&gt; .. &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; magma

&lt;span class="c"&gt;# Clone and build Sarah AI&lt;/span&gt;
git clone https://github.com/darkyboys/sarah
&lt;span class="nb"&gt;cd &lt;/span&gt;sarah
&lt;span class="nb"&gt;sudo &lt;/span&gt;magma resolve     &lt;span class="c"&gt;# Resolves dependencies (like LLaMa.cpp)&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;magma make        &lt;span class="c"&gt;# Compiles and launches the project&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;magma get_model   &lt;span class="c"&gt;# Downloads LLaMa 7B 8_0 (~7GB)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also use your &lt;strong&gt;own model&lt;/strong&gt; by dropping a &lt;code&gt;.guff&lt;/code&gt; file into the &lt;code&gt;sarah/models/&lt;/code&gt; directory.&lt;/p&gt;




&lt;h3&gt;
  
  
  🧩 How It Works
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Sarah binary&lt;/strong&gt; is the UI + runtime engine.&lt;/li&gt;
&lt;li&gt;LLaMa models are loaded using the local &lt;strong&gt;llama.cpp backend&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The emotional system adds a layer of &lt;strong&gt;feeling and tone&lt;/strong&gt; based on prompts and history.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OTCM (One-Time Chat Memory)&lt;/strong&gt; ensures conversations don’t persist after exit — your AI doesn’t remember, and that’s by design.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🤔 When You Should Use Sarah AI
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You want a &lt;strong&gt;fully offline AI assistant&lt;/strong&gt; that you control.&lt;/li&gt;
&lt;li&gt;You're interested in &lt;strong&gt;emotional modeling&lt;/strong&gt; or building character-based interfaces.&lt;/li&gt;
&lt;li&gt;You dislike cloud AI tools and want to run your own &lt;strong&gt;LLaMa model locally&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;You're a developer looking for a clean, readable, real-world &lt;strong&gt;C++ + GTK application&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;You're curious about how to build complex, real-time UIs using WebKit, HTML, and native toolkits without heavy frameworks.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🙅‍♂️ When You Might Skip It
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;If you're on &lt;strong&gt;Windows or macOS&lt;/strong&gt; — Sarah currently only supports &lt;strong&gt;Linux&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;If you don’t have &lt;strong&gt;enough disk space or RAM&lt;/strong&gt; — the default model is over 7 GB.&lt;/li&gt;
&lt;li&gt;If you’re looking for a &lt;strong&gt;plug-and-play chatbot&lt;/strong&gt; — Sarah is more of a framework or starting point than a polished assistant.&lt;/li&gt;
&lt;li&gt;If you’re not comfortable using the terminal — installing Magma and dependencies requires command-line experience.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🛠 But Even Then… You Should Read the Source Code
&lt;/h3&gt;

&lt;p&gt;Even if Sarah AI isn’t what you need today, it’s &lt;strong&gt;incredibly worth studying&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You’ll learn how to embed LLMs locally without APIs.&lt;/li&gt;
&lt;li&gt;You’ll see how to glue together C++, JavaScript, and GTK into a modern GUI.&lt;/li&gt;
&lt;li&gt;You’ll explore a lightweight, custom build system (&lt;em&gt;Magma&lt;/em&gt;) that handles dependencies and model downloads elegantly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And most importantly — you’ll be inspired. A 16-year-old built this entire system from scratch, for fun, for freedom, and for anyone to extend.&lt;/p&gt;




&lt;h3&gt;
  
  
  📌 Final Thoughts
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Sarah AI&lt;/strong&gt; is not trying to compete with ChatGPT or Siri. It’s trying to &lt;strong&gt;free you&lt;/strong&gt; from them.&lt;/p&gt;

&lt;p&gt;It’s raw, powerful, and beautifully hackable.&lt;/p&gt;

&lt;p&gt;If you believe in &lt;strong&gt;self-hosting, open source, and learning by building&lt;/strong&gt;, Sarah AI is more than j&lt;/p&gt;

&lt;p&gt;ust another project — it's a toolkit for the kind of AI future we actually want.&lt;/p&gt;




&lt;p&gt;🔗 &lt;strong&gt;&lt;a href="https://github.com/darkyboys/sarah" rel="noopener noreferrer"&gt;Explore the source code on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
🛠️ &lt;strong&gt;&lt;a href="https://github.com/darkyboys/magma" rel="noopener noreferrer"&gt;Check out Magma Build System&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
🙋‍♀️ &lt;strong&gt;Open for contributions, forks, and ideas.&lt;/strong&gt;&lt;/p&gt;




</description>
      <category>programming</category>
      <category>ai</category>
      <category>opensource</category>
      <category>cpp</category>
    </item>
    <item>
      <title>I made the easiest build system for C++! Yet powerful (Nautix)</title>
      <dc:creator>ghgltggamer</dc:creator>
      <pubDate>Sun, 01 Dec 2024 13:11:26 +0000</pubDate>
      <link>https://dev.to/ghgltggamers/i-made-the-easiest-build-system-for-c-yet-powerful-nautix-2n59</link>
      <guid>https://dev.to/ghgltggamers/i-made-the-easiest-build-system-for-c-yet-powerful-nautix-2n59</guid>
      <description>&lt;p&gt;I made a fully OpenSource yet simple and functional build system for C++ only named as Nautix which will do everything you might need from&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating your C++ project with a template&lt;/li&gt;
&lt;li&gt;Configuring your C++ project&lt;/li&gt;
&lt;li&gt;Compiling your C++ project&lt;/li&gt;
&lt;li&gt;Executing your C++ project&lt;/li&gt;
&lt;li&gt;Cleaning the project&lt;/li&gt;
&lt;li&gt;Ready to rebuild&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Be sure to check the repository of Nautix to see more information on installation to use case scenario and i can configure , compile and even run my gtk c++ application with just single command of nautix and it's fine! be sure to check the repository.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/ghgltggamers/nautix-build-system/" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>development</category>
      <category>cpp</category>
      <category>programming</category>
    </item>
    <item>
      <title>I am building a js framework for building Android Like applications on web!! Please contribute for improvements</title>
      <dc:creator>ghgltggamer</dc:creator>
      <pubDate>Tue, 20 Aug 2024 16:57:06 +0000</pubDate>
      <link>https://dev.to/ghgltggamers/i-am-building-a-js-framework-for-building-android-like-applications-on-web-please-contribute-for-improvements-1p10</link>
      <guid>https://dev.to/ghgltggamers/i-am-building-a-js-framework-for-building-android-like-applications-on-web-please-contribute-for-improvements-1p10</guid>
      <description>&lt;p&gt;Hi, there&lt;br&gt;
I have started to develop a full fledged javascript framework for building Android like UI in Website and my framework is open source and open for contribution, name is MIST Mobile JS framework . My framework has a slow base and an Android Native like widget and i am writting more widgets for creating complex application and I have added a node like structure in my framework wand I am adding a fileIO wasm support with C++ in my framework to deal with files through js without needing any other tool. And currently MIST Mobile JS framework is waiting for your contribution go ahead read the source code and start contributing.&lt;br&gt;
Source code:&lt;br&gt;
&lt;a href="https://github.com/ghgltggamers/MIST-Mobile-JS-Framework-Android-like-app-on-web" rel="noopener noreferrer"&gt;https://github.com/ghgltggamers/MIST-Mobile-JS-Framework-Android-like-app-on-web&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
