<?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: Leslie Perjes</title>
    <description>The latest articles on DEV Community by Leslie Perjes (@cosmiclaca).</description>
    <link>https://dev.to/cosmiclaca</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F611430%2F64d52e13-c9a0-4f0f-a473-66526ae37241.jpeg</url>
      <title>DEV Community: Leslie Perjes</title>
      <link>https://dev.to/cosmiclaca</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cosmiclaca"/>
    <language>en</language>
    <item>
      <title>CairnMark, a localhost chat app</title>
      <dc:creator>Leslie Perjes</dc:creator>
      <pubDate>Tue, 01 Dec 2026 13:25:12 +0000</pubDate>
      <link>https://dev.to/cosmiclaca/cairnmark-a-localhost-chat-app-169o</link>
      <guid>https://dev.to/cosmiclaca/cairnmark-a-localhost-chat-app-169o</guid>
      <description>&lt;p&gt;I'm working on CairnMark, a browser chat app that runs on 127.0.0.1 and keeps settings and chat history on your machine. It connects to llama.cpp, vLLM, hosted APIs, and any OpenAI-compatible endpoint.&lt;/p&gt;

&lt;p&gt;What it does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Shows the request body, token meter, and time meter on every reply.&lt;/li&gt;
&lt;li&gt;"Answer again" re-sends a prompt with another model or settings. Answers become tabs under the prompt.&lt;/li&gt;
&lt;li&gt;👎 on a reply removes that request/response pair from future context.&lt;/li&gt;
&lt;li&gt;Context compaction can be undone by deleting the summary.&lt;/li&gt;
&lt;li&gt;MCP tools: llama.cpp tools and its own servers, a quick bar that selects tools per request, and automatic start of local endpoints (ComfyUI, MinerU, SearXNG).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Python 3.14, MIT licensed, preview release.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/CosmicLaca/CairnMark" rel="noopener noreferrer"&gt;https://github.com/CosmicLaca/CairnMark&lt;/a&gt;&lt;/p&gt;

</description>
      <category>llm</category>
      <category>python</category>
      <category>opensource</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Multiple bootstrap colorpickers at one page</title>
      <dc:creator>Leslie Perjes</dc:creator>
      <pubDate>Mon, 19 Apr 2021 20:11:39 +0000</pubDate>
      <link>https://dev.to/cosmiclaca/multiple-bootstrap-colorpickers-at-one-page-5fh3</link>
      <guid>https://dev.to/cosmiclaca/multiple-bootstrap-colorpickers-at-one-page-5fh3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzvvldandfsuq2n8r495a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzvvldandfsuq2n8r495a.jpg" alt="Alt Text" width="631" height="259"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One time I have to upload multiple GPS logfiles to the map and several colors needed for the uploaded linestring. The bootstrap colorpicker not supported multiple on-the-fly added pickers at one page. But i found a simple trick:&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/cosmiclaca/embed/jOyvRKO?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Git example: &lt;a href="https://github.com/CosmicLaca/multiple_bootstrap_colorpicker" rel="noopener noreferrer"&gt;https://github.com/CosmicLaca/multiple_bootstrap_colorpicker&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>bootstrap</category>
      <category>colorpicker</category>
      <category>css</category>
    </item>
    <item>
      <title>Change Leaflet Tile control to accordion</title>
      <dc:creator>Leslie Perjes</dc:creator>
      <pubDate>Fri, 09 Apr 2021 16:13:06 +0000</pubDate>
      <link>https://dev.to/cosmiclaca/change-leaflet-tile-control-to-accordion-4i8e</link>
      <guid>https://dev.to/cosmiclaca/change-leaflet-tile-control-to-accordion-4i8e</guid>
      <description>&lt;p&gt;If you use Leaflet for map based development, and use large number of tile providers, this trick will be useful for grouping the provider names. The tile provider selector will work as vertical accordion.&lt;/p&gt;

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

&lt;p&gt;The trick is class injection to html tags. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Define all tile providers you needed.&lt;/li&gt;
&lt;li&gt;On baseMaps{} object add name to the providers, but the first word must be the main title of the accordion (OSM, Google, Stemen, Stadia, etc...), the other words will be displayed after the radio button.&lt;/li&gt;
&lt;li&gt;The accordion created by setTitleControl() function.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/cosmiclaca/embed/vYgWeZz?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Git repo: &lt;a href="https://github.com/CosmicLaca/leaflet_accordion" rel="noopener noreferrer"&gt;https://github.com/CosmicLaca/leaflet_accordion&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>css</category>
      <category>leaflet</category>
      <category>accordion</category>
    </item>
  </channel>
</rss>
