<?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: Youssef Adly</title>
    <description>The latest articles on DEV Community by Youssef Adly (@youssefadly237).</description>
    <link>https://dev.to/youssefadly237</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%2F2776752%2F65aae93e-4109-48d8-9b2c-d2052e903ce6.jpeg</url>
      <title>DEV Community: Youssef Adly</title>
      <link>https://dev.to/youssefadly237</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/youssefadly237"/>
    <language>en</language>
    <item>
      <title>pdftk is GOAT</title>
      <dc:creator>Youssef Adly</dc:creator>
      <pubDate>Sun, 08 Feb 2026 05:37:34 +0000</pubDate>
      <link>https://dev.to/youssefadly237/pdftk-is-goat-3eo1</link>
      <guid>https://dev.to/youssefadly237/pdftk-is-goat-3eo1</guid>
      <description>&lt;p&gt;I am not aware of FOSS pdf editor for Linux (I really need one), and I had free subscription for Foxit Editor, sso I used to boot Windows just to edit PDF bookmarks (my dumb uni can't seem to add them), even though I daily-drive Linux.&lt;/p&gt;

&lt;p&gt;I did a quick search, and I found &lt;a href="https://gitlab.com/pdftk-java/pdftk" rel="noopener noreferrer"&gt;&lt;code&gt;pdftk&lt;/code&gt;&lt;/a&gt;, an absolute masterpiece&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Dump PDF metadata out
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# input the pdf&lt;/span&gt;
pdftk random.pdf dump_data_utf8 output output.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Edit them&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;in &lt;code&gt;output.txt&lt;/code&gt; grep for &lt;code&gt;BookmarkBegin&lt;/code&gt; and start editing, if it is missing just append it at the end of the pdf (one block per bookmark)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;BookmarkBegin
BookmarkTitle: Bookmark Title
BookmarkLevel: 1
BookmarkPageNumber: 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;save your file&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;apply the new metadata
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pdftk random.pdf update_info_utf8 output.txt output output.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this so much more faster than old workflow tbh&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>opensource</category>
    </item>
    <item>
      <title>idk</title>
      <dc:creator>Youssef Adly</dc:creator>
      <pubDate>Sun, 08 Feb 2026 05:23:47 +0000</pubDate>
      <link>https://dev.to/youssefadly237/idk-4h49</link>
      <guid>https://dev.to/youssefadly237/idk-4h49</guid>
      <description>&lt;p&gt;0b1001000 0b1100101 0b1101100 0b1101100 0b1101111 0b101100 0b100000 0b1010111 0b1101111 0b1110010 0b1101100 0b1100100 0b100001&lt;/p&gt;

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