<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Igor Steblii on Medium]]></title>
        <description><![CDATA[Stories by Igor Steblii on Medium]]></description>
        <link>https://medium.com/@igorsteblii?source=rss-7913dcd8e102------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*ff8kkmgWworJbr9UfROynw.jpeg</url>
            <title>Stories by Igor Steblii on Medium</title>
            <link>https://medium.com/@igorsteblii?source=rss-7913dcd8e102------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:25:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@igorsteblii/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Wears & Tears]]></title>
            <link>https://igorsteblii.medium.com/wears-tears-6eef812635dd?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/6eef812635dd</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[wardrobe]]></category>
            <category><![CDATA[fashion]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Sat, 18 Jul 2026 05:06:52 GMT</pubDate>
            <atom:updated>2026-07-18T05:06:52.721Z</atom:updated>
            <content:encoded><![CDATA[<p>The Science of Wardrobe Management 👨🏻‍🔬</p><p><em>Your closet, but with telemetry. </em><strong><em>Or</em></strong><em>: how a pair of dead sandals on a trail in Okinawa turned into an AI-powered app.</em></p><h3>The minimalist sourcing strategy</h3><p>I am a man of intention when it comes to acquiring clothing. I take the time to figure out exactly what I need, but once the decision is made, the actual purchasing process is highly efficient. I want exactly as much clothing as I need and not a single thread more.</p><p>I have zero tolerance for “what if” shopping — those speculative purchases for hypothetical events that will likely never happen.</p><h3>The lifecycle of a garment</h3><p>Once an item makes it into my rotation, it is there for the long haul. I don’t just wear my clothes; I wear them until the absolute very end. I expect my gear to perform, and I will extract every ounce of utility out of it until the fabric fundamentally surrenders.</p><h3>The domestic friction</h3><p>Unsurprisingly, my wife does not entirely agree with this lifecycle model. Our wardrobe discussions frequently revolve around her suggesting that I need to renew my items much more often. She is quick to point out the declining quality and structural integrity of my favorite, heavily used pieces, making the completely valid point that wearing something until it disintegrates isn’t necessarily optimal.</p><h3>The Okinawa incident</h3><p>This philosophical difference came to a sudden head recently during a hike in Okinawa. Right in the middle of our trek, my absolute favorite pair of Teva sandals decided they had finally had enough and completely fell apart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*wKhbsggjbQZc8PTvAMNCMw.jpeg" /><figcaption>Hiking in Okinawa</figcaption></figure><p>Naturally, my wife had warned me about their impending doom and had told me to buy new ones multiple times before the trip. She was right, and the result was an undeniable failure of my current wardrobe management system.</p><h3>A deterministic solution</h3><p>Sitting with my destroyed sandals, I realized this wasn’t a fashion problem — it was a tracking and predictive maintenance problem. I knew I could fix this deterministically.</p><p>That is how Wears &amp; Tears was born.</p><p>Instead of relying on subjective opinions about when a shirt looks “too old,” I built an application to track wardrobe lifecycles using hard data. It goes beyond just digitizing a closet:</p><ul><li>Daily input: you simply take a quick daily selfie.</li><li>Vision matching: the AI matches what you are wearing against your wardrobe database.</li><li>Usage tracking: it logs the wear count and calculates depreciation.</li><li>Alerts: it tells you exactly when an item is overused and it is time to update.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*rp5zUI3i_Xsw-3-1g6LDCA.jpeg" /><figcaption>The entire daily workflow: one elevator selfie.</figcaption></figure><h3>The data-driven closet</h3><p>No more guessing, no more domestic debates over thread count, and no more catastrophic footwear failures on a trail. Right now, my favorite jeans are officially on the clock: they have a hard expiration limit of 4 years or 200 wears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_L3fIEEQT7rWD0jYLcVKBA.jpeg" /><figcaption>Every garment, on the record.</figcaption></figure><p>Want a data-driven closet of your own?</p><ul><li><a href="http://wearsandtears.com/"><strong>wearsandtears.com</strong></a></li><li><em>contact@</em><a href="http://wearsandtears.com/"><em>wearsandtears.com</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6eef812635dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Brain Dump to Markdown: Structure Ideas as You Speak]]></title>
            <link>https://igorsteblii.medium.com/from-brain-dump-to-markdown-structure-ideas-as-you-speak-7ed6f288b25b?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ed6f288b25b</guid>
            <category><![CDATA[harness-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Fri, 08 May 2026 12:24:31 GMT</pubDate>
            <atom:updated>2026-05-08T12:24:31.291Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6X1B9YAlbHeW48H5-qOR7g.jpeg" /><figcaption>speack to markdwown</figcaption></figure><p><em>The whole article was written by Speech To Markdown.</em></p><p>Voice input is faster than typing — but speed alone isn’t the problem. The real challenge is **structure**. It’s surprisingly hard to organise your thoughts on the fly and say something coherent. AI assistants like Gemini have adopted voice input, yet so much of what gets transcribed ends up as unstructured noise that takes longer to clean up than it saved.</p><p><em>That’s the problem I set out to solve for myself.</em></p><h3>Why I Built This</h3><p>I wanted a way to speak freely — braindump style — and have an AI turn it into clean, structured Markdown in real time. No editing, no typing, no context switching. Just think out loud and get a document back.</p><p>The result is a Speech-to-Markdown [stmd] tool built into [TaskSquad](<a href="https://tasksquad.ai/">https://tasksquad.ai</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*31Qu29gcYd_N2411eIKKfQ.png" /></figure><h3>How It Works</h3><p>When you start recording, stmd transcribes your speech locally using **Whisper** models (downloaded on the fly — I use the large variant). The transcript is buffered, aggregated, and sent **chunk by chunk** to a model of your choice. You can pause recording at any point to think before continuing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9z0qrorx4t7_pLHyJgdQdA.png" /></figure><p>You can connect it to:<br>- A **local harness** available on TaskSquad (powered by a sub-agent)<br>- A direct **API or local model** via a custom prompt (oMLX, Ollama, etc.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*-U-dJ9U4gNB-B5NoIoNlvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*hbj8M93z3ZQG6Pk3kLQuZQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*mDjxFmHvoTbUCBfDIu8FdQ.png" /><figcaption>Select harness or LLM | Download STT Model | Start Session</figcaption></figure><p>I currently use <strong>Claude Code</strong> as my main harness and have also tested <strong>Gemma 4</strong> with oMLX extensively — both work well at comparable speed.</p><h3>Two Modes</h3><p>stmd works in 2 modes: append and edit.</p><ol><li><strong>Append mode </strong>— each spoken chunk is cleaned up and appended to the existing Markdown document. Great for brain-dumping a first draft.\</li><li><strong>Edit mode</strong> — your spoken words become edit commands. Instead of adding content, the agent modifies what’s already there. Say *” make the intro shorter”* or *” replace the second bullet”* — no keyboard required.</li></ol><h3>Output</h3><p>All raw transcripts and generated Markdown files are saved to your `.tsq` folder. The model is completely your choice — there are no lock-ins.</p><h3>TasSquad</h3><p>If you’re the kind of developer who thinks faster than you type, give it a try.</p><p>1. Download tasksquad.ai daemon<br>2. Run ./tsq<br>3. Open “Control Plane”<br>4. Switch to “Speech to MD” tab<br>5. Select the Whisperer model you want to download.<br>6. Select a harness or model to process input.<br>7. Start talking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ed6f288b25b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Supervise a multi-agent setup with Local LLMs]]></title>
            <link>https://igorsteblii.medium.com/supervise-a-multi-agent-setup-with-local-llms-a94b1740df10?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/a94b1740df10</guid>
            <category><![CDATA[harness]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 09:03:58 GMT</pubDate>
            <atom:updated>2026-04-26T09:03:58.225Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s a popular misconception that local LLMs are not useful for anything beyond passing “trust me, bro” benchmarks. In reality, they can be surprisingly effective when used for the right tasks with the right setup. I’ve been using them for a while to supervise my agents in TaskSquad, and they’ve proven to be genuinely useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ulz67Ep4PowJ6c8G09wQA.png" /></figure><p>Each TaskSquad daemon has a “Supervisor,” powered by a local LLM (e.g., Qwen3.5 or Gemma 4). It follows a very simple instruction: regularly attach to the running TSQ harness, check whether everything is working properly, and if something requires intervention, act on the user’s behalf (provide permissions or answer questions). If it gets stuck, it sends a message via TSQ to request manual intervention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*DqSnsUIZyUHLkXYrQA1VKA.png" /></figure><p>In practice, most of the time it has to deal with “out of tokens” situations and schedules a bash command to send a “Resume work” message after a timeout period.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IwJlUoPIm74LeP2IC40rGA.png" /></figure><p>While it works, the key is to effectively manage the context and pick the right model, harness, and backend. I use</p><ul><li>the claw-code harness</li><li>omlx to enable hot/cold cache</li><li>MLX-optimized, instruction, quantized models</li></ul><p>Reaching ~40 t/s gen; 32k context window with solid accuracy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a94b1740df10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your machine has the perfect agentic setup! Use it anytime, anywhere! (and it is not an OpenClaw)]]></title>
            <link>https://igorsteblii.medium.com/your-machine-has-the-perfect-agentic-setup-use-it-anytime-anywhere-and-it-is-not-an-openclaw-3e9d87b89cd1?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e9d87b89cd1</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 15:52:08 GMT</pubDate>
            <atom:updated>2026-03-13T15:52:08.892Z</atom:updated>
            <content:encoded><![CDATA[<p>Two weeks ago, before going on a long break ✈️, I still wanted to use my home machine AI setup remotely 💻 (this was just before Claude introduced Remote Control). So I couldn’t think of anything better than vibecoding a quick app for it 👨‍💻✨.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ajh6Y7StMEXAd4y_jjzBGg.png" /><figcaption>tasksquad.ai</figcaption></figure><p>I built a daemon that runs on my Mac and connects to an inbox where I can chat with my agent. I deployed the whole thing in just a few hours 👨‍💻, and it turned out to be surprisingly convenient.</p><p>🚠 While waiting on the ski lift, I would ask the agent to tweak something and redeploy the app. By the next ride up the lift, the change was already live 🚀.</p><p>That prototype only supported Gemini, but it made me realize the idea was fun. So after returning, I continued working on it.</p><p>That’s how <a href="https://tasksquad.ai/">https://tasksquad.ai</a> was born 🔥. Talk with agents on your machine, control them remotely, create teams, and collaborate anytime, anywhere 🪄.</p><p>📚 How it works:</p><p>1️⃣ Install the daemon on your machine<br>2️⃣ Go to the portal and create a project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*JIwGyBdsfP_CCDkFw7ncdA.png" /><figcaption>Create a team to collaborate with agents and team mates</figcaption></figure><p>3️⃣ Add agents (one agent per CLI tool + folder path)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PL8fgFfFD977a_dsjfeN6w.png" /><figcaption>Add agents to the project</figcaption></figure><p>4️⃣ Copy the generated config into ~/.tasksquad/config.toml<br>5️⃣ Run the agent 🏎️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*ti7P4NALXxRva9oeS7NsFg.png" /><figcaption>Daemon on your machine</figcaption></figure><p>➡️ Quick guide here: <a href="https://tasksquad.ai/howto">https://tasksquad.ai/howto</a></p><p>Once running, you can open the inbox 📥 and send tasks to your agents 📤. The daemon keeps sessions alive, supports multi-round interactions, and lets you preview raw CLI logs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ugk93tvpzxL0Iqg41ljdVA.png" /><figcaption>Chat with Agent</figcaption></figure><p>If you encounter any issues, you can always reset the session or suspend your agent from the portal 🛑.</p><p>This is still an early prototype; feedback and pull requests are very welcome! 🔥 (Currently, it supports CC, OpenCode, and Gemini; Codex and OpenClaw support are in progress.)</p><p>🏃‍♂️ OSS: check out the demo and code <a href="https://github.com/xajik/tasksquad/settings/secrets/actions">https://github.com/xajik/tasksquad</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e9d87b89cd1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A New Era of AI Native Applications]]></title>
            <link>https://igorsteblii.medium.com/a-new-era-of-ai-native-applications-dce6f7e54286?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/dce6f7e54286</guid>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Sat, 24 May 2025 10:35:00 GMT</pubDate>
            <atom:updated>2025-05-24T10:35:00.100Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Um5aGhIIrizL2S2-CqUpDQ.png" /></figure><p>In the next five years, 99% of companies will have agents for their services. That will open up a new world of agent-to-agent communication—an agent economy and even an internet of agents. Agents may not completely replace traditional apps, but they’ll take a huge market share.</p><p><em>Next time you want a new dining table, it might be as simple as asking your Agent app. It’ll message a few store agents, find one you’ll like based on what it knows about you, and place the order.</em></p><p><strong>So, when I started working on Terminal1.app, I wanted to imagine that future. I asked myself what an “AI native” company might look like—and built it, agent-first, from the ground up.</strong></p><figure><img alt="Terminal1" src="https://cdn-images-1.medium.com/max/1024/1*4leuCad81vd8WNUn7-x43w.png" /><figcaption>Terminal1.app</figcaption></figure><h3>Idea</h3><p>In late 2024, I had a three-hour layover in Munich. I was alone, eating dinner, and thinking about how much time I’d wasted in airports that year. I’d taken around 60 flights for work and leisure. That felt like a lot, but some of my friends, especially those in sales, fly much more.</p><p>I sometimes try to work, code, or read. But let’s be honest — getting anything done in an airport isn’t easy. I started wondering: how many people like me are sitting in airports right now, looking for something meaningful to do?</p><p>That’s when the idea struck me — what if there was something in between Tinder and YC’s Co-Founder Matching to build business connections during travel? An app that connects airport business professionals based on their shared interests in the airport.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nrSBr32KQM-c5nLf74fKdQ.png" /></figure><p>Lastly, meaningful social connections are key to personal happiness. I’ve met many people who later became close friends at events and gatherings. Sometimes we’re so busy with work and chores that we forget how important it is to be around people we care about — and who care about us.</p><h3>Terminal 1</h3><p>Terminal1 connects traveling professionals at airports based on their LinkedIn profiles, flight times, and interests — so they can network while they wait. Transform airport time into business opportunities.</p><p>1️⃣ Log in with LinkedIn to create a profile</p><p>2️⃣ Send your CV to create a detailed profile for matching</p><p>3️⃣ Share your upcoming flight details</p><p>4️⃣ Review and accept your match 24 hours before the flight</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AlqP-os8jEShkvDCi2WLeg.png" /><figcaption>Terminal1 — how it works</figcaption></figure><h3>Communication in the Agentic Era</h3><p>One thing that changes in the new Agenting Era is how we communicate with customers. You don’t need fancy designs to turn simple user needs into system actions. <strong>Let the agent handle it for you ✨</strong>.</p><p>The primary communication interface for Terminal1 is email (<a href="/service/mailto:maya@terminal1.app">maya@terminal1.app</a>): send your CV, forward flight tickets, or reach customer support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*NEJaoHhzTPnlqNbJVbpuUA.gif" /><figcaption>Maya</figcaption></figure><p><em>While there’s also a web interface, it’s intentionally simple, as it’s not necessary in AI-Native app.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mQsAOiaKNho_fMPUHPKJmw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LvH6VEZy6z8ag7sSHXoOog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NFc7Eft8mT0W33sJC8r6fw.png" /><figcaption>Dashboard web interface</figcaption></figure><blockquote><em>However, I found it useful to address trust issues when working with AI agents.</em></blockquote><h3>From the 50s to AI Native</h3><p>From day one, I wanted to build an AI Native system. But first, I had to decide <strong>what that really meant for myself</strong>. Since agents act like humans, I imagined what Terminal1 would look like as a company built in the 1950s, where everything is handled by people.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9dlAmjbh7Ub5qP7tpeDpQ.png" /><figcaption>Terminal1 circa 1955</figcaption></figure><p>It starts at the reception desk — a scene we all know from old movies. A mailbox, a stack of documents, and a receptionist asking, “How can I help?” They take your request and promise you’ll get a reply by mail in a few days.</p><p>They sort each request into the right box. Later, an assistant with a trolley cruises through the office, delivering each box to the right department. Your CV goes to the CV review team. Your flight tickets go to the flight review team. The matching team checks upcoming flights, compares profiles, and finds a good match. Then they pass it back to the assistant, who brings it to customer support. Finally, customer support sends you a letter by mail about your upcoming meeting on your next flight.</p><p>And that is exactly what I did.</p><h3>Design of the Agentic System</h3><p>Terminal1 is built around a network of asynchronous agents. Everything starts and ends with an agent. The system is designed to be modular, where each agent focuses on a specific function, passing tasks along a dynamic pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wB51MY3OqFTHLU_N7TY_Cw.png" /><figcaption>Agentic System</figcaption></figure><ul><li><strong>Reception agent</strong> — identifies the user’s intent from incoming messages and routes the request to the right agent. It’s the starting point of every interaction.</li><li><strong>Ticket agent</strong> — extracts, processes, and organizes flight ticket data such as destinations, dates, and airlines, so it can be used in downstream matching.</li><li><strong>Curriculum Vitae (CV) agent</strong> — parses resumes, normalizes the data, and prepares profiles for efficient matching with other users.</li><li><strong>Customer Support (CS) agent </strong>— handles incoming support requests, retrieves relevant information, and triggers actions to help the ve user.</li><li><strong>Public Communication agent</strong> — generates the final response to the user, translating system output into clear, friendly language.</li><li><strong>Date Intent agent</strong> — understanding what the user is looking for in their match: partnership, investment, or job opportunities, etc.</li><li><strong>Date Feedback agent </strong>— process feedback from the date</li><li><strong>Matching Agent</strong> — create the best possible match for the date</li></ul><p>There are also a few other agents that support these main flows, executing essential tasks like data validation, formatting, and cross-checking.</p><h3>Agents</h3><p>Each agent in the Terminal1 system is built using LangGraph. They interact with the system tools through the <strong>MCP</strong>, which provides access to databases, matching logic, and communication layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WcdtKCibmB0TN7gwpPKSRg.png" /><figcaption>Reception agent</figcaption></figure><p>Some agents, like the <strong>Customer Support agent</strong>, are powered by the <strong>ReAct</strong> framework to support multi-step reasoning and tool calling to resolve more ambiguous or complex requests.</p><h4>Prompts</h4><p>Getting high-quality results from AI agents requires a lot of prompt engineering. Along the way, I learned a few key principles:</p><ul><li><strong>Order matters</strong> — Structure your prompt carefully. Put the most important context upfront.</li><li><strong>Examples</strong> — Good prompts need great examples. They guide the model’s behavior better than instructions alone.</li><li><strong>Chain of Drafts (CoD)</strong> — An effective technique to improve quality while keeping token usage low. Iterate in stages.</li><li><strong>Models</strong> — The same prompt can produce wildly different results across models. Choose your model wisely.</li></ul><p>Each agent uses a consistent prompt structure:</p><pre>&lt;Task&gt;<br>&lt;Examples&gt;<br>&lt;Customer-Context&gt;<br>&lt;Real-Time-Context&gt;<br>&lt;Agent-Identity&gt;<br>&lt;Company-Identity&gt;</pre><h3>User Matching Agent</h3><p>Perhaps the most intriguing part of the system is how we match users. It all starts when someone sends us their CV. The CV agent parses it, extracts key information, and transforms it into a clean, normalized format.</p><p><strong>AI-normalized profile summaries</strong> are stored in a <strong>vector store</strong>. This lets us run similarity searches based on meaningful parameters, not just keywords. The <strong>Date Intent Agent</strong> does something similar — building an ideal normalized match profile for each user based on their input and context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tcPz6ansTteKAnHxbmdSvA.png" /><figcaption>Normalised &amp; vectorized data</figcaption></figure><p>The rest of the magic happens in a cron job that runs every few hours. It gets all the unmatched passengers flying in the next 12 hours and groups them by airport. For each airport and overlapping time slot, we will take each potential profile and compute potential candidates based on the “perfect profile”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E95AzwxNHIpH3EphybyQow.png" /><figcaption>Candidates generation</figcaption></figure><p>This matrix, together with users’ profiles and their date intent, will be passed to the Matching Agent to generate final pairs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zZEhuwgyLpH5ijDs2YKAYw.png" /><figcaption>Matching Agent Input</figcaption></figure><p>Finally, everything comes together in a cron job. The heavy lifting — grouping users by location and departure time — is handled by an SQL function for efficiency. The result is then fed to the agent, which processes each user group individually to evaluate and confirm the best possible matches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cg-tvE_Hwx-MW8jOfNygmg.png" /><figcaption>Recurring job</figcaption></figure><p><em>Multi-dimensional matching based on time, location, and customer context is hard. Pair matching is even harder. You need to look at what both people care about and what they offer. For example:</em></p><ul><li><em>VC looking for an AI startup to invest in and an AI Startup Founder.</em></li><li><em>Recruiter from an AI startup and engineering looking for a new opportunity</em></li><li><em>Talented sound writer and music producer</em></li></ul><p><strong>Each match has to be a win-win.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VHonKrajwKrHBYcXL9qk6Q.png" /><figcaption>Multi-dimensional matching</figcaption></figure><p><em>With more user feedback, we can build an “</em><a href="https://www.tinderpressroom.com/powering-tinder-r-the-method-behind-our-matching/"><em>Elo score</em></a><em>” to help prioritize candidates on very popular destinations.</em></p><h3>Tech Infrastructure</h3><p>The whole solution is hosted on AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KNOMZRPwkgykPcVA2v1m_w.png" /><figcaption>Tech Infra</figcaption></figure><h3>Tech Cloud</h3><p>Originally, I vibe-coded the website with the <strong>bolt.new</strong>, but I quickly hit its limits. So I downloaded the code and switched to just coding in <strong>Cursor</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*9SWoqSbuSEQOZ5q78CINkg.png" /></figure><h3>Give it a shot</h3><p><a href="https://terminal1.app/">Terminal1</a></p><p><em>If you have any questions or suggestions, feel free to reach out at:</em></p><ul><li><em>support@terminal1.app</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dce6f7e54286" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Empower Your Email Routine with LLM Agents: 10X Efficiency Unlocked]]></title>
            <link>https://igorsteblii.medium.com/empower-your-email-routine-with-llm-agents-10x-efficiency-unlocked-e3c81b05d99e?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3c81b05d99e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 13:20:04 GMT</pubDate>
            <atom:updated>2024-09-24T13:20:04.039Z</atom:updated>
            <content:encoded><![CDATA[<p>Nowadays, almost every service revolves around communication, whether it’s plumbers, receptionists at clinics, or clerks in banks. Every day, countless people read emails, review attached scanned documents, and PDFs; and sort, organize, and forward them elsewhere. Imagine how much time we could save if we automated this process! With the advancements in Generative AI and Large Language Models (LLMs), it’s no longer just a dream — it’s possible now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPi5wCi6XQ2a9Nd1AX9C-w.jpeg" /></figure><h3>Problem ✨ Solution</h3><p>You receive an email with a long thread of messages and attached files — many of them with random names. <em>What do you really want?</em> To quickly understand what the email is about and know what actions to take.</p><p>That’s where EmailSnap comes in. Simply forward the email to <strong>review@emailsnap.app</strong>, and <a href="https://emailsnap.app/"><strong>EmailSnap</strong></a> will apply AI to analyze the email and its attachments, then send you back a new, actionable, and well-formatted response.</p><p>The processed email contains:</p><ul><li><strong>Title:</strong> [Priority] Subject</li><li><strong>From:</strong> Sender of the email</li><li><strong>To:</strong> Recipient</li><li><strong>Highlights:</strong> Key action items in bullet points</li><li><strong>Summary:</strong> A concise review of the email content and attached files</li><li><strong>Attachments:</strong> Renamed to reflect their actual content</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3LzUfILOZIioqVmout0YVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k8jjXasloiHwoGbRggWl1Q.png" /><figcaption>Thread of email with attached files &lt;VS&gt; Well formatted email with insights and action items</figcaption></figure><blockquote>You need to be manually whitelisted to send emails to review@emailsnap.app</blockquote><p><em>Magic, right?🪄 Now, let’s take a look at how it works</em></p><h3>EmailSnap.app 📩</h3><p>The implementation consists mainly of two parts: the underlying infrastructure and the LLM flow. Let’s start with the more interesting part.</p><h4>AI Review ✨</h4><p>For the LLM implementation, we use the LangChain stack: <strong>LangChain</strong>, and <strong>LangSmith</strong>. Despite not using LangGraph itself, I apply the same graph-like idea for executing EmailSnap’s LLM processing, as it requires multiple LLM calls with different prompts while using various tools, like saving intermediate states to a database and S3.</p><p>Out execution graph contains the following nodes:</p><ul><li><strong>Format Email:</strong> Reads the EML file and converts it into well-formatted text, handling threads and forwarded messages while removing redundant HTML tags and other irrelevant information.</li><li><strong>Read Attachments:</strong> If the attached file is an image or PDF, we convert it to Base64 for the LLM to read the content. For PDFs, each page is converted into a new image, potentially creating a long loop.</li><li><strong>Review Attachment:</strong> This node creates a summary with highlights and action items from each document, suggests the recipient, and proposes a better file name.</li><li><strong>Email Summary:</strong> The final node combines the formatted email and the summaries from all attachments to generate a complete email with insights, action items, highlights, and an overall summary.</li></ul><p>After the final content is generated, we will send out a new email back to the sender including reorganized attachments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*q3HxGeGINwlu0wgUwGXx-Q.png" /></figure><h4><strong>Infrastructure 🛠️</strong></h4><p>To process emails, we needed a scalable tech stack, and after a quick search, I found AWS Simple Email Service (SES) to be the perfect solution. The flow works as follows: SES receives an email, stores it in S3, and sends a notification via SNS (Simple Notification Service).</p><p>My service subscribes to an SQS (Simple Queue Service) queue, which listens for SNS messages. From the queue, I retrieve a message ID and use it to load the email from S3. The emails are stored in EML format, which isn’t the easiest to process, but fortunately, there are plenty of libraries to handle that. This setup applies to a specific email address that you register with SNS.</p><p>Below is the most interesting part of the Terraform code to configure it:</p><pre># Setup SNS <br><br>resource &quot;aws_ses_domain_identity&quot; &quot;ses_domain&quot; {<br>  domain = var.domain<br>}<br><br>resource &quot;aws_sns_topic&quot; &quot;email_notifications&quot; {<br>  name = &quot;email-notifications&quot;<br>}<br><br>resource &quot;aws_ses_receipt_rule_set&quot; &quot;main&quot; {<br>  rule_set_name = &quot;default-rule-set&quot;<br>}<br><br>resource &quot;aws_ses_receipt_rule&quot; &quot;email_receipt_rule&quot; {<br>  rule_set_name = aws_ses_receipt_rule_set.main.rule_set_name<br>  name          = &quot;store_emails_to_s3_and_notify&quot;<br><br>  recipients = [&quot;review@${var.domain}&quot;]<br><br>  enabled      = true<br>  scan_enabled = true<br><br><br>  s3_action {<br>    bucket_name       = aws_s3_bucket.email_bucket.bucket<br>    position          = 1<br>    object_key_prefix = &quot;emails/&quot;<br>  }<br><br>  sns_action {<br>    topic_arn = aws_sns_topic.email_notifications.arn<br>    position  = 2<br>  }<br>}<br><br># Create SQS <br><br>resource &quot;aws_sqs_queue&quot; &quot;email_queue&quot; {<br>  name                       = &quot;email-processing-queue&quot;<br>  visibility_timeout_seconds = 30<br>  message_retention_seconds  = 86400<br>}<br><br>resource &quot;aws_sns_topic_subscription&quot; &quot;email_sqs_subscription&quot; {<br>  topic_arn = aws_sns_topic.email_notifications.arn<br>  protocol  = &quot;sqs&quot;<br>  endpoint  = aws_sqs_queue.email_queue.arn<br>}</pre><p>After that, we subscribe to the queue on the service side to process emails:</p><pre><br>while True:<br>  # Subscribe to the SQS <br>  response = sqs_client.receive_message(<br>      QueueUrl=SNS_QUEUE_URL,<br>      MessageAttributeNames=[&#39;All&#39;],<br>      MaxNumberOfMessages=5,<br>      WaitTimeSeconds=20<br>  )<br>  messages = response.get(&#39;Messages&#39;, [])<br>  for message in messages:<br>    email_id = get_email_id_from_sns_message(message)<br>    eml = fetch_email_from_s3(email_id)<br><br># Find email ID from the SQS message<br>def get_email_id_from_sns_message(message):<br>    body_string = message.get(&#39;Body&#39;)<br>    body_json = json.loads(body_string)<br>    message_string = body_json.get(&#39;Message&#39;)<br>    message_json = json.loads(message_string)<br>    mail = message_json.get(&#39;mail&#39;)<br>    email_id = mail.get(&#39;messageId&#39;)<br>    return email_id<br><br># Load and parse Email from EML<br>def fetch_email_from_s3(email_id: str):<br>    response = s3_client.get_object(Bucket=EMAIL_BUCKET_NAME, Key=f&quot;emails/{email_id}&quot;)    <br>    body = response[&#39;Body&#39;].read()<br>    return email.message_from_bytes(body,  policy=policy.default)</pre><p>Besides that, I set up a MySQL RDS and an EC2 instance to run a Dockerized service. I chose this setup for convenience, ease of debugging, and to have more control over the running machine. However, in the long term, it makes more sense to migrate to Fargate for better scalability and management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*38F_vzlrXFLavtrKi5x15g.png" /><figcaption>EmailSnap.app Infrastructure</figcaption></figure><h4>SES Setup</h4><p>Setting up a Simple Email Service (SES) requires a few manual steps after provisioning the infrastructure. Once your infrastructure is in place, follow these steps by accessing the <strong>SES dashboard</strong>:</p><ol><li>Navigate to <strong>Configuration -&gt; Identity -&gt; DKIM</strong> and press <strong>Generate</strong>.</li></ol><ul><li>Copy the CNAME records to your domain’s DNS provider.</li></ul><p>2. Add an MX record to your DNS provider with the following details:</p><ul><li><strong>Name:</strong> Domain</li><li><strong>Mail server:</strong> 10 inbound-smtp.us-east-1.amazonaws.com (<em>link changes depending on your region</em>)</li></ul><p>3. Open<strong> Email receiving</strong> and activate the rule: <strong>default-rule-set</strong>.</p><p>This setup works in the SES sandbox. To gain production access, you will need to apply for production access from the SES homepage by selecting “<strong><em>Get Production Access</em></strong>.” AWS may require you to justify your use case and potentially ask further questions.</p><p><strong><em>Note:</em></strong><em> You can receive emails without the verification process.</em></p><h3>Sample</h3><p>Finally, let’s take a look at a real example. I took an MRI report in PDF format from an online source, sent it to one email address, and then forwarded it to <strong>review@emailsnap.app</strong>. EmailSnap generated a new subject, highlights, and summary. It also extracted the recipient from the PDF — <strong>Dr. Ross Banner</strong> — and finally suggested a new file name: <strong>Regina Doe MRI Report</strong>, based on the patient’s name and procedure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oi4mJy-bQUOxtLR9xWsQ7A.jpeg" /><figcaption>MRI sample vs EmailSnap Review</figcaption></figure><h3>TechStack</h3><p>Source code: <a href="https://github.com/xajik/emailsnap-service"><strong>https://github.com/xajik/emailsnap-service</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*eL0tbG7zeyAwud6w74NQnw.png" /></figure><p>Do you want to give it a try? Ping me at me@igorsteblii.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3c81b05d99e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Service Development Kit: Terraform AWS ECS Setup with Rust Actix App, Postgress  RDS, LLM, RAG……]]></title>
            <link>https://medium.com/swlh/service-development-kit-terraform-aws-ecs-setup-with-rust-actix-app-postgress-rds-llm-rag-5002b37a548d?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/5002b37a548d</guid>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Thu, 07 Mar 2024 09:51:26 GMT</pubDate>
            <atom:updated>2024-03-07T09:51:26.538Z</atom:updated>
            <content:encoded><![CDATA[<h3>Service Development Kit: Terraform AWS ECS Setup with Rust Actix App, Postgress RDS, LLM, RAG, Cloudflare, and more.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GrRKZHLKfpxmLmYD5CkL4w.png" /></figure><h3>Prologue</h3><p>A few weeks ago, I was reviewing my AWS bills for my pet projects and found myself genuinely amused by the amount I spend on infrastructure 🤣. Notably, the bulk of my AWS expenses 💰 are tied to numerous RDS instances, despite my traffic hardly utilizing them 🤷‍♂️. Additionally, I realized my infrastructure is quite fragmented, with different designs implemented for various applications.</p><blockquote>Something is mesmerizing about starting new project from scratch, crafting a “state-of-the-art” infrastructure capable of handling XX K QPS with zero downtime, and effortlessly managing traffic spikes. <em>… and never user it... </em><strong><em>🥲</em></strong></blockquote><p>💪 I decided to simplify my infra and cut some costs. I migrated all apps to one ECS cluster with one shared RDS instance; and created a Terraform mono-repo to manage everything in one place.</p><p>Along the way, I developed a few templates to help spin off a new service: a slim and fast Rust service with some basic features (DB connection, user management, sessions, auth, LLM<em> </em>APIs<em> 🪄 </em>); a small container for DB migration, etc.</p><blockquote>TL;DR: Links to all repositories are at the very bottom <em>🔎: </em>Rust Service, DB Migration with Golang-migrate and Terraform monorepo</blockquote><p>🛣️ I thought it would be easier, but as usual 🤷‍♂️, there were numerous twists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R-o0jq7xTFlCkx_M9EipIw.png" /></figure><p>Overall I used the following:</p><ul><li><strong>Cloudflare</strong> — domain registrar and proxy (<em>my favorite infrastructure company </em>❤️)</li><li><strong>Rust</strong> &amp; <a href="https://actix.rs/">Actix</a>— I want to use the smallest possible machines without sacrificing performance (<a href="https://medium.com/swlh/rust-cross-platform-mobile-development-9117a67ac9b7"><em>I used Rust in the past for a mobile and loved it</em></a>)</li><li><strong>AWS ECS</strong> (<em>For the old project, I did not rewrite them into Rust,</em> <em>just </em><strong><em>Dockerise </em></strong><em>and deploy in the ECS</em>)</li><li>Share <strong>Postgres</strong> <strong>RDS</strong> between multiple ECS services</li><li><strong>Terraform</strong> mono-repo to manage infra in one place (<em>I don’t ever want to open the </em><strong><em>AWS </em></strong><em>console again </em>🙈)</li><li><strong>GitLab</strong> for CI/CD and Terraform state management (<em>Gitlab is </em>❤️)</li></ul><h3>Setup</h3><p>My setup ended up like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5yJNDO4xVEiNM1qavEpM7w.jpeg" /><figcaption>End-to-end architecture layout</figcaption></figure><p>Now I can deploy a new service in a few simple steps:</p><ol><li>In the Terraform: (<strong>a</strong>) create a new ECR for your Docker image (<strong>b</strong>) Create an SSL certificate for *.your-domain.com; (<strong>c</strong>) Create a new ECS service and ECS task definition linked to your ECR image (<strong>d</strong>) Create a new rule on ALB to route traffic based on your domain name to correct ECS service.</li><li>On Cloudflare: (<strong>a</strong>) Purchase a new domain; (<strong>b</strong>) Verify SSL certificate domain ownership; (<strong>c</strong>) Setup routing to ALB &amp; CloudFront</li><li>Setup Gitlab CI/CD to upload images to the new ECR and force update ECS service to fetch a new image</li></ol><p>DONE ✅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*WMYUHxUsFNsf79S93qcpaA.jpeg" /></figure><p><em>Most of the steps required to spin off a new service require small changes in the *.tf code and simple manipulation in AWS/Cloudflare consoles. After that, whenever I need to deploy a new service, I need to run 1 CI task to push a new Docker to ECR and update the ECS task. Piece of cake </em>🍰 😋</p><pre>aws ecs update-service --cluster existing-app-cluster --service new-app-service  --force-new-deployment</pre><h3>Implementation</h3><p>Honestly, it should have been easier, but there were so many edge cases, that I had to spend quite a few nights to create this. <em>In the example, I’ll use one of my pet projects: </em><a href="https://getthedeck.com/"><em>getthedeck.com</em></a></p><h4>Access Keys</h4><p>Let&#39;s start with setting up the required access keys from Gitlab and AWS.</p><p>In the <strong>AWS </strong>go to IAM and create:</p><ul><li>Policy: “gitlab-ci-policy”</li><li>A new user “gitlab-ci-user” and attach the policy</li><li>Create access key for the user (AWS_ACCESS_KEY_ID &amp; AWS_SECRET_ACCESS_KEY — add these two, plus AWS_REGION, to your <em>~/.zshrc </em>🥸 )</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*KvLDgC_DL1g42W66R7KUfw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*QllPZdJmqaSEwDT2OLDFpA.png" /></figure><p>For the AWS to find the minimum required set of permissions for the policy I’m using <a href="https://github.com/iann0036/iamlive"><em>iamlive</em></a><em>.</em></p><pre>export AWS_CSM_ENABLED=true<br><br>iamlive - set-ini - profile &lt;yout profile&gt; - output-file policy.json</pre><p>This <a href="https://github.com/xajik/dazhbog-tf/blob/main/policy.json"><em>policy.json</em></a> will allow you to create and destroy infra from the Terraform mono repo.</p><p>⌨️ In <strong>GitLab</strong> create an access token for your <strong>user (</strong><em>not project</em>) with API READ &amp; WRITE access and add it to your env in TF project and <em>~/.zshrc — </em><strong>GITLAB_ACCESS_TOKEN</strong></p><p>➡️ For the Deployment in Gitlab I’m using <a href="https://docs.gitlab.com/ee/ci/cloud_services/aws/">OpenID</a> instead of then AWS_ACCESS_KEY, which can be restricted to the <em>gitlab.com</em> domain.</p><h4>SSL Certificate</h4><p>Next step I’ll create an SSL certificate that will cover domain and sub-domains in <a href="https://us-east-1.console.aws.amazon.com/acm/home">AWS ACM</a> :<em> *.getthedeck.com</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*St2j6Bv7lFylOh6-8h8whw.png" /></figure><p>This is the CNAME record that we will use in Cloudflare later<em>. You can also create it via TF, but I didn’t do it as I don’t ever need to destroy it.</em></p><h3>Terraform</h3><p>Terraform mono repo looks something like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAus8t9I6yyeT1aKTWf07g.jpeg" /><figcaption>Approximate layout of Terraform components</figcaption></figure><p>In short: we have a VPC with ALB and ECS clusters in the public subnets. ECS tasks load Docker images from ECR and allow connection to the RDS in the private subnet. (<em>I intentionally didn’t use any modules to keep it super simple</em>)</p><h4>Terraform Data</h4><p>A few things need to be added manually. For the existing SSL certificate a “<em>certificate.tf</em>” with:</p><pre>data &quot;aws_acm_certificate&quot; &quot;certificate&quot; {<br>  domain = &quot;*.getthedeck.com&quot;<br>}</pre><p>I do the same for the secrets that I want to pass on to my ECS task, tho it is not secure as it will be stored in an open test in the task description, better use API 🥲:</p><pre>data &quot;aws_secretsmanager_secret&quot; &quot;secrets_zeus&quot; {<br>  arn = &quot;arn:aws:secretsmanager:us-east-1:000000000000:secret:prod/app/name&quot;<br>}<br><br>data &quot;aws_secretsmanager_secret_version&quot; &quot;secrets_value_prod_zeus_main&quot; {<br>  secret_id = data.aws_secretsmanager_secret.secrets_manager_prod_zeus_main.id<br>}<br><br>locals {<br>  secrets_map                  = jsondecode(data.aws_secretsmanager_secret_version.secrets_zeus.secret_string)<br>  secret_RDS_DB_NAME           = local.secrets_map[&quot;RDS_DB_NAME&quot;]<br>  secret_RDS_USERNAME          = local.secrets_map[&quot;RDS_USERNAME&quot;]<br>  secret_RDS_PASSWORD          = local.secrets_map[&quot;RDS_PASSWORD&quot;]<br>}</pre><h4>Terraform State</h4><p>I decided to use Gitlab for my Terraform state. After you created your Gitlab project, go to Operate -&gt; Terraform State:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bYS2NBz1humypfqeVS8zEg.png" /></figure><p>This is how init from my CI/CD looks for the Terraform:</p><pre>//setup<br>variables:<br>  TF_USERNAME: $GITLAB_USER_LOGIN<br>  TF_PASSWORD: $GITLAB_ACCESS_TOKEN<br>  TF_STATE_NAME: default<br>  TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${TF_STATE_NAME}<br>  TF_ROOT: ${CI_PROJECT_DIR}/environments/${TF_STATE_NAME}<br><br>//usage<br>terraform init -reconfigure \<br>        -backend-config=&quot;address=${TF_ADDRESS}&quot; \<br>        -backend-config=&quot;lock_address=${TF_ADDRESS}/lock&quot; \<br>        -backend-config=&quot;unlock_address=${TF_ADDRESS}/lock&quot; \<br>        -backend-config=&quot;username=${TF_USERNAME}&quot; \<br>        -backend-config=&quot;password=${TF_PASSWORD}&quot; \<br>        -backend-config=&quot;lock_method=POST&quot; \<br>        -backend-config=&quot;unlock_method=DELETE&quot; \<br>        -backend-config=&quot;retry_wait_min=5&quot;</pre><p>$GITLAB_ACCESS_TOKEN is <strong>your GitLab <em>Account</em> token, </strong>that we created before.</p><p>Since we want to run terraform from CI/CD and from the local machine, which in my case is Mac &amp; Linux, after you add providers need to run locks for all platforms and <strong>commit updated “</strong><em>.terraform.lock.hcl</em><strong>” to the repo</strong>:</p><pre>terraform providers lock \<br>    -platform=darwin_amd64 \<br>    -platform=linux_amd64 \<br>    -platform=darwin_arm64 \<br>    -platform=linux_arm64</pre><h4>ECS Task</h4><p>Our ECS task running on the ECS cluster has 2 services in the “<em>container_definitions</em>”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nufpWC42zSwuIRuLXrrp_Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4rRcZP7p4widxqrT3_ZiGA.png" /><figcaption>ECS task for (left) Rust service and (right) DB migration</figcaption></figure><ol><li>The first image runs a <strong>DB migration</strong> using pre-compiled <a href="https://github.com/golang-migrate/migrate">Golang-migrate</a>. It will exit after applying migration. To allow service to proceed after the task ends, you need to mark it as non-essential explicitly</li></ol><pre>essential = false</pre><p>2. The second one is the <strong>Rust app</strong> and it depends on the first “SUCCESS”</p><pre>depends_on = [<br>        {<br>          containerName = var.ecs_db_migaration<br>          condition     = &quot;SUCCESS&quot;<br>        }<br>      ],</pre><h4>RDS</h4><p>Postgres RDS is located in the private subnet that allows ingress traffic only to port <em>5432</em> from the service security group.</p><p><em>Note: in case you want to connect to DB for testing, you can add just one flag in the Terraform and it will become public:</em></p><pre>publicly_accessible    = true</pre><h4>Terraform output</h4><p>We will need outputs to upload our Docker image to ECR</p><pre>ECR_NAME =`000000000000.dkr.ecr.us-east-1.amazonaws.com/zeus`<br>aws ecr get-login-password --region $AWS_REGION --profile &lt;your profile&gt;| docker login --username AWS --password-stdin $ECR_NAME<br>docker build --platform=linux/amd64 -t zeus -f Dockerfile.prd .<br>docker tag zeus:latest $ECR_NAME<br>docker push $ECR_NAME</pre><p><em>✍️ Note: Your Docker image tag should match your ECR repository name.</em></p><p>You can also get the cluster name and service name to trigger the deployment of the service from the output:</p><pre>// first<br>terraform init //.... <br>ecs_cluster_name=$(terraform output -json ecs_cluster_name | tr -d &#39;&quot;&#39;)<br>ecs_service_name=$(terraform output -json ecs_service_name | tr -d &#39;&quot;&#39;)<br>// then<br>aws ecs update-service --cluster &quot;$ecs_cluster_name&quot; --service &quot;$ecs_service_name&quot; --force-new-deployment</pre><h3>Docker Images</h3><h4>Rust Service</h4><p>I like Rust ❤️. But I would not lie, <em>most of the time, </em>it is very hard, but when it finally compiles, I’m not worried that something will go wrong — “<em>0 runtime anxiety</em>” 😎</p><p><a href="https://github.com/xajik/zeus-ai-api-gateway/tree/main/zeus">My Project: Zeus</a>, has everything to kick off a new project:</p><ul><li>Clean architecture build around separate <strong>use cases</strong></li><li><strong>Postgres DB</strong> integration</li><li>User management, <strong>JWT</strong> session management, Middleware</li><li>LLM APIs <strong>🦄</strong>: <strong>OpenAI</strong>,<strong> Cloudflare AI</strong>,<strong> Gemini 🦄</strong></li><li>Useful <strong>Google APIs: </strong>Places &amp; Vision</li><li><strong>ACTIX</strong> web server (<a href="https://actix.rs/">https://actix.rs</a>) — one of the fastest servers ⚡️</li></ul><p>You can create an image for ECR from the <strong>.prd</strong> file:</p><pre>docker build --platform=linux/amd64 -t zeus -f Dockerfile.prd .</pre><p>🔐<em> Note: You will need to update </em><strong><em>src/repository/secrets.rs</em></strong><em> with your keys. Inject them in the ECS task, read from AWS Secret Manager or hardcode </em>🤫</p><p><strong>LLM APIs🦄</strong></p><p>Now we have many alternatives to OpenAI ChatGPT APIs, including Gemini or <a href="https://developers.cloudflare.com/workers-ai/models/">Cloudflare Workers AI</a>. I’ve been playing a lot with them, especially with <a href="https://developers.cloudflare.com/workers-ai/models/">Cloudflare Workers AI</a>. Despite they don’t offer big models, models like <a href="https://developers.cloudflare.com/workers-ai/models/llama-2-7b-chat-fp16/">lama-2–7b</a> work quite well in RAG. I<em>t is also available in the repo with </em><a href="https://github.com/pgvector/pgvector"><em>PG Vector</em></a><em> and </em><a href="https://www.llamaindex.ai/"><em>Llamaindex</em></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IY9jPJb_5MmYphQdEUeHeA.png" /><figcaption>Don’t forget to add API keys in <em>.env</em> 🔐</figcaption></figure><p><strong>Bruno</strong></p><p>Already for a while, I moved for all my pet projects from Postman to <a href="https://www.usebruno.com/">Bruno</a>. I love that I can keep my requests in the <a href="https://github.com/xajik/zeus-ai-api-gateway/tree/main/bruno">same repo with the source code</a> 💪 It is still lacking some functions, but it is good enough for small projects.</p><p><strong>Talk with your DB with LlamaIndex</strong></p><p>I‘m also using natural language communication with DB as an alternative PGAdmin to quickly query some data. I’m using the Flask app with LlamaIndex &amp; <a href="https://docs.llamaindex.ai/en/stable/examples/index_structs/struct_indices/SQLIndexDemo.html#part-1-text-to-sql-query-engine">NLSQLTableQueryEngine</a>. It will also require an OpenAI API key in .env:</p><pre>OPENAI_API_KEY=x-y-z</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Yl-XaCzAfbErhFBI6b5VSw.png" /><figcaption>Athena: Llamaindex for NL SQL, web client</figcaption></figure><p><em>The source code is in the same repo: </em><a href="https://github.com/xajik/zeus-ai-api-gateway/tree/main/athena"><em>zeus/athena</em></a><em>. It will run with docker-compose and will be available at </em><a href="http://127.0.0.1:3005/nlsql">127.0.0.1:3005/nlsql</a></p><h4>DB Migration</h4><p>To run DB migration scrips I’m using <a href="https://github.com/golang-migrate/migrate">G<em>olang-migrate</em></a>, and I also use <em>psql</em> with <em>psql-client</em> to test it out locally. I also use migration image as a shortcut to import some .csv files 🙈</p><pre>COPY migrations ./migrations<br>COPY import ./import<br>COPY scripts ./scripts<br><br>CMD [&quot;sh&quot;, &quot;-c&quot;, &quot;\<br>    if migrate -path ./migrations -database $DATABASE_URL up; then \<br>        ./scripts/run-data-import.sh; \<br>        echo &#39;Import data succeeded&#39;; \<br>    else \<br>        echo &#39;Migration failed&#39;; \<br>        exit 1; \<br>fi&quot;]</pre><p><em>The source</em><a href="https://github.com/xajik/veles-db-migration"><em> code is available here</em></a><em>.</em></p><h3>Cloudflare</h3><p>You may wonder why I used Cloudflare here. I usually use it as my registrar for the domain. It provides free proxy and caching, so also helps to save some cost and serve content faster.</p><p><em>Note: Cloudflare doesn’t allow you to change NS, so if you purchase a domain here, you will not be able to manage it with Route53.</em></p><h4>Domain</h4><p>Let&#39;s start with the domain, I’ll show an example with one of my domains <a href="http://getthedeck.com/">getthedeck.com</a>, and here is what the setup looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xGBoy7muAd6A8mlAIbRnFA.png" /></figure><p>I have 3 CNAME records:</p><ol><li><em>api.getthedeck.com —</em> ALB for access to service</li><li>SSL certificate ownership verification from AWS</li><li><em>getthedeck.com — </em>pointing to CloudFront distribution for my web page</li></ol><p>On the ALB side, we have the rule to route HTTP to HTTPS, therefore we need to set SSL encryption mode to “Full”. Otherwise, it will get us into the dead loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EOhtUEH3A3vZTDt3sN4mQ.png" /></figure><p>You can remove this rule from Terraform s<em>ince</em> we also restricted ALB ingress to only Cloudflare IP addresses:</p><pre>data &quot;http&quot; &quot;cloudflare_ipv4&quot; {<br>  url = &quot;https://www.cloudflare.com/ips-v4&quot;<br>}<br><br>locals {<br>  cloudflare_ipv4_cidr_blocks = [for cidr_block in split(&quot;\n&quot;, trimspace(data.http.cloudflare_ipv4.body)) : cidr_block]<br>}<br><br>//ALB Security group<br>cidr_blocks      = local.cloudflare_ipv4_cidr_blocks</pre><p>⚠️ <em>Other Cloudflare apps, from the same IP range, also will be able to ping our service. We can attach some custom headers on the Cloudflare side and add a listener rule on ALB to restrict this.</em></p><h3>GitLab CI/CD</h3><p>As for CI/CD, I’m using <a href="https://docs.gitlab.com/ee/ci/cloud_services/aws/">OpenID</a> to get credentials for my “Deployment” role and then upload the web app to S3 or force-deployment of my ECS:</p><pre>.assume_role: &amp;assume_role<br>    - &gt;<br>      STS=($(aws sts assume-role-with-web-identity<br>      --role-arn=&quot;${ROLE_ARN}&quot;<br>      --role-session-name &quot;GitLabRunner-${CI_PROJECT_ID}-${CI_PIPELINE_ID}&quot;<br>      --web-identity-token $ID_TOKEN<br>      --duration-seconds 3600<br>      --query &#39;Credentials.[AccessKeyId,SecretAccessKey,SessionToken]&#39;<br>      --output text))<br>    - export AWS_ACCESS_KEY_ID=&quot;${STS[0]}&quot;<br>    - export AWS_SECRET_ACCESS_KEY=&quot;${STS[1]}&quot;<br>    - export AWS_SESSION_TOKEN=&quot;${STS[2]}&quot;<br><br>deploy:<br>  stage: deploy<br>  image:<br>    name: amazon/aws-cli:latest<br>    entrypoint: <br>      - &#39;/usr/bin/env&#39;<br>  id_tokens:<br>      ID_TOKEN:<br>        aud: the_deck_web_app_s3<br>  script:<br>    - *assume_role<br>    # Web App<br>    - aws s3 sync build/ s3://$S3_BUCKET<br>    # Rust Service<br>    - aws ecs update-service --cluster $ECS_CLUSTER_NAME --service $ECS_SERVICE_NAME --force-new-deployment<br>  rules:<br>    - if: $CI_COMMIT_TAG<br>      when: on_success<br>    - if: &#39;$CI_COMMIT_REF_NAME == &quot;main&quot;&#39;<br>      when: manual</pre><p>🐌 <em>In the past I also used </em><strong><em>Bitbucket</em></strong><em> and </em><strong><em>GitHub </em></strong><em>for my pet project, but I’m slowly moving everything to </em><strong><em>Gitlab</em></strong><em>.</em></p><h3>Github</h3><p><strong><em>I have opensource early versions, so they might not be exactly what I used </em>🫣<em> tho it is a good place to start:</em></strong></p><ul><li><strong>Zeus</strong> — Rust services: <a href="https://github.com/xajik/zeus-ai-api-gateway?tab=readme-ov-file">https://github.com/xajik/zeus-ai-api-gateway</a></li><li><strong>Dazhbog</strong> — Terraform: <a href="https://github.com/xajik/dazhbog-tf">https://github.com/xajik/dazhbog-tf</a></li><li><strong>Veles</strong> — DB Migration: <a href="https://github.com/xajik/veles-db-migration">https://github.com/xajik/veles-db-migration</a></li></ul><h3>What’s next</h3><p>It would be substantially cheaper to have a self-hosted DB instead of using RDS, tho I don’t want to spend time on backups… we will see.</p><p>If I wasn’t so keen on exploring AWS further, I’m confident I could achieve better pricing without sacrificing performance by switching to <a href="https://www.digitalocean.com/pricing"><strong>Digital Ocean </strong>💡</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Tvd0JV_e-yrDDyb9ltfyQ.png" /><figcaption>I hope it was insightful!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5002b37a548d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/service-development-kit-terraform-aws-ecs-setup-with-rust-actix-app-postgress-rds-llm-rag-5002b37a548d">Service Development Kit: Terraform AWS ECS Setup with Rust Actix App, Postgress  RDS, LLM, RAG……</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Game Night Just Got a Digital Upgrade: ‘The Deck’ —Unique Cooperative Game Simulator]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://igorsteblii.medium.com/game-night-just-got-a-digital-upgrade-the-deck-unique-cooperative-game-simulator-98e9db13c0f6?source=rss-7913dcd8e102------2"><img src="https://cdn-images-1.medium.com/max/2600/1*sqbCdzZ9c6v6UnoAoxflwA.jpeg" width="4032"></a></p><p class="medium-feed-snippet">The inspiration for &#x201C;The Deck&#x201D; came from a situation many of us have experienced. Imagine gathering with friends for a game night, only to&#x2026;</p><p class="medium-feed-link"><a href="https://igorsteblii.medium.com/game-night-just-got-a-digital-upgrade-the-deck-unique-cooperative-game-simulator-98e9db13c0f6?source=rss-7913dcd8e102------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://igorsteblii.medium.com/game-night-just-got-a-digital-upgrade-the-deck-unique-cooperative-game-simulator-98e9db13c0f6?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/98e9db13c0f6</guid>
            <category><![CDATA[multiplayer-card-games]]></category>
            <category><![CDATA[socketio]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[games]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Sun, 11 Jun 2023 07:59:17 GMT</pubDate>
            <atom:updated>2023-06-11T07:59:17.069Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[My first production Flutter app]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://igorsteblii.medium.com/my-first-production-flutter-app-bb46360a1e52?source=rss-7913dcd8e102------2"><img src="https://cdn-images-1.medium.com/max/1500/1*pIBqbp8OZJNm-95vwvnUeg.png" width="1500"></a></p><p class="medium-feed-snippet">It took me 5 month to build my first production Flutter app. I want to share what I learned, the challenges I faced, and my thoughts</p><p class="medium-feed-link"><a href="https://igorsteblii.medium.com/my-first-production-flutter-app-bb46360a1e52?source=rss-7913dcd8e102------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://igorsteblii.medium.com/my-first-production-flutter-app-bb46360a1e52?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb46360a1e52</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Sun, 12 Jun 2022 03:17:38 GMT</pubDate>
            <atom:updated>2022-06-12T03:17:38.371Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Deploy Flutter web app with GitHub Actions or GitLab CI/CD on Pages in 5 min]]></title>
            <link>https://igorsteblii.medium.com/deploy-flutter-web-app-with-github-actions-or-gitlab-ci-cd-on-pages-in-5-min-6a473ac79101?source=rss-7913dcd8e102------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a473ac79101</guid>
            <category><![CDATA[flutter-web]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Igor Steblii]]></dc:creator>
            <pubDate>Sat, 01 May 2021 09:21:10 GMT</pubDate>
            <atom:updated>2021-05-02T08:19:57.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5W5E34QVAfnwnf-wKxpPw.png" /></figure><p>Flutter is growing in its popularity from day to day, and now it is even easier to spin it off with web support. Probably the quickest way to see web in action is to deploy it on <strong><em>GitLab pages</em></strong> or <strong><em>GitHub pages</em></strong>. <em>Lets see how to do this in 5 minutes </em>⏳</p><h3>Create a Flutter app</h3><p>First step is to create a Flutter project. Since 2.0 web support is native, so we just need to use latest stable version:</p><pre>flutter channel stable<br>flutter upgrade<br>flutter create flutter_web</pre><h4>Update base URL</h4><p><em>Assuming</em> that your future <em>repository name</em> will be <strong>flutter_web</strong> lets update the base URL for correct routing. Open web/index.html and update:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEd8kXmockMV4F4kJTYRpw.png" /></figure><p><em>This steps are common for both GitLab &amp; Github platforms.</em></p><h3>GitHub</h3><p>Create an empty project on the GitHub.</p><p><em>Please, note that your </em><em>Repository name should be the same as a base URL we updated above</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*530DSSU-90nsG2LWw7Rrbw.png" /><figcaption>GitHub — create a new project</figcaption></figure><h4>GitHub Actions</h4><p>Now let’s add a GitHub actions script. Create a new file: .github/workflows/build-deploy.yml with a next content:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ada0fa4e832b4e2cb88240993d64bdaf/href">https://medium.com/media/ada0fa4e832b4e2cb88240993d64bdaf/href</a></iframe><p>After merging this to master GitHub automatically recognises a new action and triggers a build</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*926anCl45biGliTr_nWfBw.png" /><figcaption>GitHub Action in progress</figcaption></figure><p>Wait utill pipeline successfully passes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*vzH91KzNRJIAY4xwriis_Q.png" /><figcaption>GitHub Actions pipeline</figcaption></figure><p>This action will create a new branch gh-pages where you can check out content of the web build</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*GlSv98yfiZPmCsYqtQ8MWQ.png" /><figcaption>gh-pages branch with release web build content</figcaption></figure><h4>GitHub Pages</h4><p>Last step is to enable GitHub Pages for this repo from the Settings/Pages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BEvMU8JJ77IpSr8cKyxSBQ.png" /><figcaption>GitHub pages</figcaption></figure><h4>GitHub Preview</h4><p>Visit your pages URL to see deployed web-app</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*xorj8xGrKE4V79_Wvvm_WQ.png" /><figcaption><a href="https://xajik.github.io/flutter_page/">https://xajik.github.io/flutter_page/</a></figcaption></figure><h3>GitLab</h3><p>Create an empty project on the GitLab.</p><p><em>Same as for GitHub, make sure that </em><em>Project slug is the same as the base URL in </em><em>web/index.html Flutter project</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*xXNqoijwVx7edoWrIwO-zA.png" /><figcaption>GitLab — new project creation window</figcaption></figure><h4>GitLab CI/CD</h4><p>In the root folder create <strong><em>.gitlab-ci.yml </em></strong>file with the next content:</p><pre>build_and_test_web_app:<br>  stage: build<br>  image: cirrusci/flutter:stable<br>  before_script:<br>    - flutter pub get<br>  script:<br>    - flutter build web<br>    - flutter analyze<br>    - flutter test<br>  artifacts:<br>    paths:<br>      - build/web<br> <br>pages:<br>  stage: deploy<br>  script:<br>    - cp -r build/web public<br>  artifacts:<br>    paths:<br>      - public<br>  only:<br>    - master</pre><blockquote><a href="https://gitlab.com/-/snippets/2113393">https://gitlab.com/-/snippets/2113393</a></blockquote><h4>GitLab CI/CD</h4><p>As soon as you merge your changes to master , GitLab will automatically recognise CI/CD configuration and kick off a build</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MchcXTEVtpFQ9VY7e9QMUA.png" /><figcaption>GitLab CI/CD pipeline</figcaption></figure><h4>GitLab Pages</h4><p>After pipeline succeeds visit Settings/Pages to find your project URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*OoIq6fEhxm95kzWMklVwcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OUCSwFotr_6-KRKu2D2fKw.png" /><figcaption>GitLab Pages settings page</figcaption></figure><h4>GitLab Preview</h4><p>Visit your page URL to see deployed web-app</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_4C1sBcGKeFyNCkAWxV-g.png" /><figcaption><a href="https://xajik0.gitlab.io/flutter_page/#/">https://xajik0.gitlab.io/flutter_page/#/</a></figcaption></figure><h3>Projects</h3><p><strong>GitLab</strong></p><ul><li>Repo: <a href="https://gitlab.com/xajik0/flutter_page">https://gitlab.com/xajik0/flutter_page</a></li><li>Page: <a href="https://xajik0.gitlab.io/flutter_page">https://xajik0.gitlab.io/flutter_page</a></li></ul><p><strong>GitHub</strong></p><ul><li>Repo: <a href="https://github.com/xajik/flutter_page">https://github.com/xajik/flutter_page</a></li><li>Page: <a href="https://xajik.github.io/flutter_page/#/">https://xajik.github.io/flutter_page/#/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a473ac79101" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>