{"@attributes":{"version":"2.0"},"channel":{"title":"Posts on Plotnikov Anton","link":"https:\/\/pltanton.dev\/posts\/","description":"Recent content in Posts on Plotnikov Anton","generator":"Hugo","language":"en","lastBuildDate":"Sat, 13 Jun 2026 12:00:00 +0300","item":[{"title":"Handwritten notes from BOOX to Obsidian over WebDAV","link":"https:\/\/pltanton.dev\/posts\/inkflow\/","pubDate":"Sat, 13 Jun 2026 12:00:00 +0300","guid":"https:\/\/pltanton.dev\/posts\/inkflow\/","description":"<img src=\"https:\/\/pltanton.dev\/img\/inkflow\/obsidian-pdf.png\" class=\"center\" style=\"height: 380px;\" \/>\n<p>For a little over a year I&rsquo;ve been keeping my work notes on a BOOX e-reader \u2014 meetings, rough drafts of decisions, stray thoughts during the day.\nWriting by hand on e-ink is convenient and doesn&rsquo;t pull me out of the flow, but the notes stay locked inside the device.\nI wanted them to land in Obsidian on their own and be searchable: six months later it&rsquo;s handy to just search for <em>why<\/em> we made some decision, instead of flipping through a stack of handwritten pages.<\/p>"},{"title":"Publish Vscode Foam With Hugo","link":"https:\/\/pltanton.dev\/posts\/publish-vscode-foam-with-hugo\/","pubDate":"Wed, 06 Mar 2024 11:58:47 +0200","guid":"https:\/\/pltanton.dev\/posts\/publish-vscode-foam-with-hugo\/","description":"<h1 id=\"introduction\">Introduction<\/h1>\n<p><a href=\"https:\/\/foambubble.github.io\/\">Foambubble<\/a> is a good instrument to structure your data in a graph-oriented way in a manner of roam research, obsidian etc. For me, foam is an ancestor for org-roam, but with vscode flavor. In the original foam documentation, you can easily find examples and instructions on how to publish your notes with <em>Jekyll<\/em>, <em>mkdocs<\/em> and <em>Gatsby<\/em> engines, but not <em>Hugo<\/em>. Here is my example of foam notes integration to <em>Hugo<\/em> static website.<\/p>"},{"title":"Nix Based Dark Light Theme Switch","link":"https:\/\/pltanton.dev\/posts\/nix-based-dark-light-theme-switch\/","pubDate":"Wed, 28 Feb 2024 17:49:40 +0200","guid":"https:\/\/pltanton.dev\/posts\/nix-based-dark-light-theme-switch\/","description":"<h1 id=\"overview\">Overview<\/h1>\n<p>Nixos configuration in a matter of theming is very useful. There are several tools to define color-theme globally and re-use defined color variables to configure any program you want, for example, <a href=\"https:\/\/github.com\/Misterio77\/nix-colors\">nix-colors<\/a> or <a href=\"https:\/\/github.com\/danth\/stylix\">stylix<\/a>.<\/p>\n<p>When you change a theme and switch configuration nix normally it will rebuild programm configuration file and re-start such program if it doesn&rsquo;t support live configuration reloading. Such a behavior can be utilized for theme-switching without the help of any other tool or custom scripts.<\/p>"},{"title":"Webauthn client-side hardware encryption","link":"https:\/\/pltanton.dev\/posts\/webauthn-client-side-hardware-encryption\/","pubDate":"Thu, 22 Feb 2024 18:48:54 +0200","guid":"https:\/\/pltanton.dev\/posts\/webauthn-client-side-hardware-encryption\/","description":"<h2 id=\"intro\">Intro<\/h2>\n<p>In 2023 long-waited <a href=\"https:\/\/github.com\/w3c\/webauthn\/wiki\/Explainer:-PRF-extension\"><code>prf<\/code><\/a> extension was finally released for Webauthn, which allows us to generate the encryption key using almost any Webauthn compatible chip. Here I want to describe as simple as possible how the whole process works from a top-level abstraction perspective.<\/p>\n<p>Demo TS code and react app, that covers this post you can find <a href=\"https:\/\/pltanton.github.io\/webauthn-hmac-secret-demo\/\">here<\/a> and source code in <a href=\"https:\/\/github.com\/pltanton\/webauthn-hmac-secret-demo\/\">github<\/a>.<\/p>\n<p>Long story short the whole process can be simplified by several steps:<\/p>"},{"title":"Minio Caddy Hugo Setup","link":"https:\/\/pltanton.dev\/posts\/minio-caddy-hugo-setup\/","pubDate":"Tue, 06 Feb 2024 17:48:11 +0200","guid":"https:\/\/pltanton.dev\/posts\/minio-caddy-hugo-setup\/","description":"<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<p>The actual website deployed in a such way. The system consists of:<\/p>\n<ol>\n<li>NixOS host<\/li>\n<li>Minio S3 server<\/li>\n<li>Caddy server<\/li>\n<li>Woodpecker pipeline to build and publish Hugo<\/li>\n<\/ol>\n<h2 id=\"hugo-setup\">Hugo setup<\/h2>\n<p>First of all setup and test locally Hudo deploy, to publish statics directly to s3.<\/p>\n<div class=\"highlight\"><pre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;\"><code class=\"language-toml\" data-lang=\"toml\"><span style=\"display:flex;\"><span>[<span style=\"color:#a6e22e\">deployment<\/span>]\n<\/span><\/span><span style=\"display:flex;\"><span>[[<span style=\"color:#a6e22e\">deployment<\/span>.<span style=\"color:#a6e22e\">targets<\/span>]]\n<\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#a6e22e\">name<\/span> = <span style=\"color:#e6db74\">&#34;production&#34;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#a6e22e\">URL<\/span> = <span style=\"color:#e6db74\">&#34;s3:\/\/bucket-name?endpoint=https:\/\/s3.example.com&amp;region=us-east-1&amp;s3ForcePathStyle=true&#34;<\/span>\n<\/span><\/span><\/code><\/pre><\/div><p>Put your minio credentials to <code>AWS_SECRET_ACCES_KEY<\/code> and <code>AWS_ACCESS_KEY_ID<\/code> variables or to <code>~\/.aws\/credentials<\/code> file and test deployment by <code>hugo deploy<\/code> command.<\/p>"}]}}