<?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: Moukhtar Youssef</title>
    <description>The latest articles on DEV Community by Moukhtar Youssef (@moukhtaryoussef).</description>
    <link>https://dev.to/moukhtaryoussef</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%2F843566%2Fe0b38bda-91c0-4afe-9f2a-dca3761a92d3.png</url>
      <title>DEV Community: Moukhtar Youssef</title>
      <link>https://dev.to/moukhtaryoussef</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/moukhtaryoussef"/>
    <language>en</language>
    <item>
      <title>What is DriveLite architecture</title>
      <dc:creator>Moukhtar Youssef</dc:creator>
      <pubDate>Sun, 21 Sep 2025 11:15:30 +0000</pubDate>
      <link>https://dev.to/moukhtaryoussef/what-is-drivelite-architecture-17fd</link>
      <guid>https://dev.to/moukhtaryoussef/what-is-drivelite-architecture-17fd</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;DriveLite is an &lt;strong&gt;open-source, self-hostable file storage system&lt;/strong&gt; designed with &lt;strong&gt;privacy-first principles&lt;/strong&gt;. Unlike traditional cloud storage, DriveLite ensures your files are &lt;strong&gt;encrypted end-to-end by default&lt;/strong&gt;, so &lt;strong&gt;even your server cannot see your data&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;At the same time, DriveLite is &lt;strong&gt;flexible&lt;/strong&gt; advanced users can &lt;strong&gt;opt into server-trusted mode&lt;/strong&gt; to enable features like previews, AI tagging, and semantic search.&lt;/p&gt;

&lt;p&gt;This post explains DriveLite’s architecture and how it balances &lt;strong&gt;maximum privacy&lt;/strong&gt; with &lt;strong&gt;optional convenience&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Core Principles
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy by default&lt;/strong&gt; → End-to-end encryption (E2EE) + zero-trust.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flexible control&lt;/strong&gt; → Users can choose server-trusted mode for enhanced features.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modular architecture&lt;/strong&gt; → Storage, backend, and AI/search services are separate and scalable.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. How DriveLite Handles Security
&lt;/h2&gt;

&lt;h3&gt;
  
  
  E2EE + Zero Trust (Default)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Files are encrypted in the browser&lt;/strong&gt; before upload.&lt;/li&gt;
&lt;li&gt;Server only stores ciphertext, &lt;strong&gt;cannot read user files&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Protects against server compromises, rogue admins, or cloud breaches.&lt;/li&gt;
&lt;li&gt;Ideal for privacy-conscious users and sensitive data.&lt;/li&gt;
&lt;li&gt;Use on device AI models&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Server-Trusted Mode (Optional)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Admins can &lt;strong&gt;opt-in for server-trusted mode&lt;/strong&gt; per deployment&lt;/li&gt;
&lt;li&gt;Enables &lt;strong&gt;advanced features&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;File previews&lt;/li&gt;
&lt;li&gt;Semantic search&lt;/li&gt;
&lt;li&gt;AI tagging and AI-assisted file organization&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Components Breakdown
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Frontend Web (React + Tailwind)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Handles &lt;strong&gt;encryption/decryption&lt;/strong&gt; for E2EE by default.&lt;/li&gt;
&lt;li&gt;Offers clear &lt;strong&gt;privacy vs. convenience toggle&lt;/strong&gt; for users or admins.&lt;/li&gt;
&lt;li&gt;On-device ML (in case of E2EE + Zero trust)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Backend (Go + Echo)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Serves APIs for file upload, metadata, sharing, and search.&lt;/li&gt;
&lt;li&gt;Detects if server-trusted mode is enabled and &lt;strong&gt;handles decrypted files&lt;/strong&gt; accordingly.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Storage (MinIo (S3-compatible ) / File system)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Stores encrypted blobs in default mode.&lt;/li&gt;
&lt;li&gt;Can store decrypted content when server-trusted mode is active.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Database Layer (SQLite / PostgreSQL)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Stores metadata and encryption keys securely.&lt;/li&gt;
&lt;li&gt;Supports pluggable backends for scalability.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  AI + Semantic Search (Python + Qdrant + gRPC)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Only has access to file content in &lt;strong&gt;server-trusted mode&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enables semantic search, tagging, and AI features when opted-in.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. Why This Architecture?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy-first by default&lt;/strong&gt; → E2EE ensures maximum data security.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feature-flexible&lt;/strong&gt; → Users can opt-in for richer functionality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modular &amp;amp; Scalable&lt;/strong&gt; → Each component can be independently maintained, scaled, or replaced.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clear tradeoff&lt;/strong&gt; → Users control their own security vs. convenience balance.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  5. Roadmap &amp;amp; Vision
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Mobile clients (Flutter)&lt;/li&gt;
&lt;li&gt;Collaborative features with optional server-trusted mode&lt;/li&gt;
&lt;li&gt;AI-assisted file management&lt;/li&gt;
&lt;li&gt;Community plugins and extensions&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;DriveLite’s architecture is &lt;strong&gt;privacy-first, flexible, and future-proof&lt;/strong&gt;. By default, your data is &lt;strong&gt;encrypted and zero-trust&lt;/strong&gt;, but if you want &lt;strong&gt;enhanced features like previews and AI search&lt;/strong&gt;, you can &lt;strong&gt;opt-in to server-trusted mode&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This approach makes DriveLite &lt;strong&gt;stand out in the self-hosting ecosystem&lt;/strong&gt;, offering both &lt;strong&gt;security-conscious users&lt;/strong&gt; and &lt;strong&gt;feature-hungry users&lt;/strong&gt; exactly what they need.&lt;/p&gt;

&lt;p&gt;Explore DriveLite and take control of your data: &lt;a href="https://drivelite.org" rel="noopener noreferrer"&gt;DriveLite.org&lt;/a&gt;&lt;/p&gt;

</description>
      <category>drivelite</category>
      <category>programming</category>
      <category>e2ee</category>
      <category>selfhost</category>
    </item>
    <item>
      <title>Why I am building DriveLite ?</title>
      <dc:creator>Moukhtar Youssef</dc:creator>
      <pubDate>Mon, 15 Sep 2025 20:33:07 +0000</pubDate>
      <link>https://dev.to/moukhtaryoussef/why-i-am-building-drivelite--3fol</link>
      <guid>https://dev.to/moukhtaryoussef/why-i-am-building-drivelite--3fol</guid>
      <description>&lt;p&gt;The world is moving faster than ever, and our digital lives are stored everywhere in Google Drive, Dropbox, iCloud and dozens of other services. But here’s the problem: our files are not truly ours.&lt;br&gt;
Big tech companies have full access to our data. They scan it, analyze it, and lock us into their platforms. For people who value privacy, security, and control, this trade-off feels wrong.&lt;br&gt;
That’s why I’m building DriveLite a self-hostable, end-to-end encrypted file storage solution designed for people who love privacy and independence.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem With Cloud Storage
&lt;/h2&gt;

&lt;p&gt;Most mainstream cloud storage solutions come with hidden costs:&lt;br&gt;
Privacy concerns -&amp;gt; Companies can (and often do) scan your files.&lt;br&gt;
No real control -&amp;gt; If your account is suspended or a provider shuts down, your data can vanish.&lt;br&gt;
High recurring fees -&amp;gt; You keep paying forever just to access your own files.&lt;br&gt;
Centralized risk -&amp;gt; A single provider outage or breach affects millions of people at once.&lt;/p&gt;

&lt;p&gt;For those of us who want to own our data and trust no one but ourselves, these options just don’t cut it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is DriveLite
&lt;/h2&gt;

&lt;p&gt;DriveLite is built for people, not corporations.&lt;br&gt;
End-to-End Encryption (E2EE): Only you can access your files. Not even the server knows what you store.&lt;br&gt;
Self-Hostable: Run it on your own server, NAS, or even a Raspberry Pi.&lt;br&gt;
Accessible Anywhere: Securely sync across devices without relying on Google or Dropbox.&lt;br&gt;
Lightweight &amp;amp; Simple: No enterprise complexity, just install and start using.&lt;br&gt;
Open-Source: Fully transparent and community-driven, so you can verify every line of code.&lt;/p&gt;

&lt;p&gt;Think of it as Google Drive for people who love privacy.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I Am Building It
&lt;/h2&gt;

&lt;p&gt;I started DriveLite because I believe in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Digital Freedom -&amp;gt; Everyone deserves to own their files without being tracked.&lt;/li&gt;
&lt;li&gt;Trustless Security -&amp;gt; Privacy should come by default, not as an afterthought.&lt;/li&gt;
&lt;li&gt;Community Power -&amp;gt; People around the world are tired of surveillance capitalism open-source gives us a way out.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I don’t want to rent my digital life to big tech anymore. I want a solution I can trust, run myself, and share with others.&lt;/p&gt;




&lt;h2&gt;
  
  
  Join Me
&lt;/h2&gt;

&lt;p&gt;If you also care about privacy, self-hosting, and freedom from big tech, here’s how you can help:&lt;br&gt;
Star DriveLite on &lt;a href="https://github.com/Moukhtar-youssef/DriveLite/" rel="noopener noreferrer"&gt;Github&lt;/a&gt; it helps more people discover it.&lt;br&gt;
Join the community conversations (ideas, feedback, privacy discussions).&lt;br&gt;
👐 Test, share, or contribute even small feedback moves the project forward.&lt;/p&gt;

&lt;p&gt;This is just the beginning. Together, we can build a future where our data stays ours&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Who Am I ?</title>
      <dc:creator>Moukhtar Youssef</dc:creator>
      <pubDate>Tue, 03 Jan 2023 18:57:28 +0000</pubDate>
      <link>https://dev.to/moukhtaryoussef/who-am-i--4cnn</link>
      <guid>https://dev.to/moukhtaryoussef/who-am-i--4cnn</guid>
      <description>&lt;p&gt;Hello, I am Moukhtar Youssef. I am 16 years old, and I am Egyptian. I am a self-taught software developer and a full-time student. I am currently building my own start-up, which is a podcast-app. This blog is talking about my programming and educational journey and about tech stuff that I find interesting. I hope you all find me and the blog interesting and have a wonderful day.&lt;/p&gt;

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