Last edited:

Have you ever wanted a cute, nostalgic spiral-bound digital diary for your personal site? Today I’m sharing a lightweight, single-file Aesthetic Digital Diary template! It comes with a stitched notebook cover, spiral binding, lined paper, a decorative pen, automatic year bookmarks, and a scrollable reading page.

Aesthetic Digital Diary Template

What’s Included in This Template

  • No <img> tags for the notebook UI: The spiral rings, lined paper, lace borders, divider, and pen all use div background-image styling so you can swap graphics easily.
  • Automatic Year Bookmarks: Tabs like All, 2026, and 2025 generate automatically based on the dates of your entries.
  • Smart Image Placement: Add data-position="left", data-position="right", or data-position="center" to images inside your entries and watch text wrap smoothly around them.
  • Vertically Scrollable Page: Long journal entries scroll cleanly inside the right page without stretching the notebook frame.

Step 1: Copy the Full Code

Copy the full HTML code below:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>My Journal</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Short+Stack&amp;display=swap" rel="stylesheet"/>
  <style>
    :root {
      --ink: #27345e;
      --muted: #5f72a8;
      --cover: #6b88d6;
      --cover-dark: #4f69b5;
      --paper-base: #f7faff;
      --border-blue: #566cb0;
      --soft-blue: #bdd2fc;
    }

    * {box-sizing: border-box;}

    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 28px 18px;
      color: var(--ink);
      background-color: #e4edfc;
      background-image:
        linear-gradient(45deg, rgba(86, 108, 176, 0.12) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(86, 108, 176, 0.12) 1px, transparent 1px);
      background-size: 22px 22px;
      position: relative;
      overflow-x: hidden;
    }

    /* Top and bottom blue lace border strips */
   body::before,
    body::after {
      content: "";
      position: fixed;
      left: 0;
      right: 0;
      height: 45px;
      z-index: 20;
      pointer-events: none;
      background-repeat: repeat-x;
      background-size: auto 100%;
    }
    body::before {
      top: 0;
      background-image: url("https://64.media.tumblr.com/13dbec9e6411886aca357da68d038bc8/80ac8b0276e88534-86/s500x750/23d57bad2019e0cff56b8e10a8c6fbd7cef47b8f.pnj");
      background-position: top center;
    }
    body::after {
      bottom: 0;
      background-image: url("https://64.media.tumblr.com/cc33f8b136493268a532b38afff8aaaf/9ac4f5798921d3d9-92/s500x750/4fe1104ad9054105bbacb583cc071b2a2db5afeb.png");
      background-position: bottom center; 
      transform: scaleY(-1); 
    }

    /* Main Notebook Wrapper */
    .diary-stage {
      position: relative;
      width: min(980px, 100%);
      margin: 10px auto;
    }

    .diary-cover {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 8px 1fr;
      background: linear-gradient(145deg, #8aa7eb 0%, var(--cover) 50%, var(--cover-dark) 100%);
      border-radius: 18px;
      padding: 18px;
      box-shadow:
        0 18px 40px rgba(61, 82, 145, 0.35),
        inset 0 0 0 2px #9eb9f5;
    }

    .diary-cover::before {
      content: "";
      position: absolute;
      inset: 7px;
      border: 2px dotted rgba(255, 255, 255, 0.85);
      border-radius: 13px;
      pointer-events: none;
    }

    .paper-page {
      position: relative;
      height: 560px;
      background-color: var(--paper-base);
      background-repeat: repeat;
      background-size: contain;
      border: 1.5px solid var(--border-blue);
      box-shadow: inset 0 0 18px rgba(86, 108, 176, 0.14);
      display: flex;
      flex-direction: column;
      z-index: 1;
    }

    .paper-left {
      padding: 20px 36px 20px 20px;
      border-radius: 8px 2px 2px 8px;
      box-shadow: inset -14px 0 18px -12px rgba(63, 84, 148, 0.35);
    }

    .paper-right {
      padding: 20px 20px 20px 36px;
      border-radius: 2px 8px 8px 2px;
      box-shadow: inset 14px 0 18px -12px rgba(63, 84, 148, 0.35);
      overflow: hidden;
    }

    .spiral-binder {
      position: relative;
      z-index: 5;
      width: 64px;
      margin-left: -28px;
      margin-right: -28px;
      height: 100%;
      background-repeat: repeat-y;
      background-position: center top;
      background-size: contain;
      pointer-events: none;
    }

    /* Floating Cursive Title */
    .journal-header-title {
      position: absolute;
      top: -20px;
      left: 18px;
      z-index: 8;
      margin: 0;
      font-family: "Brush Script MT", "Segoe Script", cursive;
      font-size: 2.6rem;
      font-weight: normal;
      color: #ffffff;
      text-shadow:
        -2px -2px 0 var(--border-blue),
         2px -2px 0 var(--border-blue),
        -2px  2px 0 var(--border-blue),
         2px  2px 0 var(--border-blue),
         0    4px 6px rgba(63, 84, 148, 0.45);
      transform: rotate(-3deg);
      pointer-events: none;
    }

    /* Polaroid Decor on Left Page */
    .scrapbook-photos {
      display: flex;
      justify-content: center;
      gap: 14px;
      margin-top: 6px;
      margin-bottom: 8px;
      flex-shrink: 0;
    }

    .polaroid {
      width: 112px;
      height: 104px;
      background: #fff;
      padding: 5px 5px 14px;
      border: 1px solid #9cb3ea;
      box-shadow: 0 3px 8px rgba(86, 108, 176, 0.25);
      background-size: cover;
      background-position: center;
    }

    .polaroid:first-child { transform: rotate(-4deg); }
    .polaroid:last-child  { transform: rotate(3deg); }

    .polaroid-inner {
      width: 100%;
      height: 100%;
      background-color: #dbe6fc;
      background-image:
        radial-gradient(circle at 50% 38%, #8aa7eb 16%, transparent 17%),
        radial-gradient(circle at 50% 95%, #7291de 34%, transparent 35%);
      border: 1px solid #b5c9f7;
    }

    .bow-divider {
      width: 100%;
      height: 26px;
      flex-shrink: 0;
      margin: 4px 0 6px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
    }

    /* Archive Title */
    .archive-heading {
      margin: 0 0 10px;
      text-align: center;
      font-family: "Brush Script MT", "Segoe Script", cursive;
      font-size: 1.9rem;
      font-weight: normal;
      color: #fff;
      flex-shrink: 0;
      text-shadow:
        -1.5px -1.5px 0 var(--border-blue),
         1.5px -1.5px 0 var(--border-blue),
        -1.5px  1.5px 0 var(--border-blue),
         1.5px  1.5px 0 var(--border-blue);
    }

    .archive-heading span {
      font-size: 0.85rem;
      vertical-align: middle;
      text-shadow: none;
      color: var(--border-blue);
      margin: 0 6px;
    }

    /* Bookmarks above Archive Navigator */
    .bookmark-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 5px;
      padding: 0 6px;
      margin-bottom: -7px;
      z-index: 2;
      flex-shrink: 0;
    }

    .bookmark-tab {
      appearance: none;
      border: 1.5px solid var(--border-blue);
      border-bottom: none;
      background: #e2ecff;
      color: #3f5394;
      font-family: inherit;
      font-size: 0.74rem;
      font-weight: bold;
      padding: 5px 10px 6px;
      border-radius: 6px 6px 0 0;
      cursor: pointer;
      transition: transform 0.12s ease, padding-bottom 0.12s ease;
    }

    .bookmark-tab:nth-child(odd) {
      background: linear-gradient(to bottom, transparent 50%, #85a5df59 70%), #bdd2fc;
      color: #ffffff;
      box-shadow: inset 2px 2px #ffffff;
      text-shadow:
        1px 0 #566cb0, -1px 0 #566cb0, 0 1px #566cb0, 0 -1px #566cb0,
        2px 0 #fff, -2px 0 #fff, 0 -2px #fff, 0 2px #fff;
    }

    .bookmark-tab:nth-child(even) {
      background: linear-gradient(to bottom, white 50%, #bdd2fc87 70%), white;
      color: #bdd2fc;
      box-shadow: inset 2px 2px #fff;
      text-shadow:
        1px 0 #566cb0, -1px 0 #566cb0, 0 1px #566cb0, 0 -1px #566cb0,
        2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
        2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff;
    }

    .bookmark-tab:hover,
    .bookmark-tab.active {
      transform: translateY(-4px);
      padding-bottom: 10px;
      position: relative;
    }

    /* Archive Navigator Box */
    .archive-box {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      border: 2px solid var(--border-blue);
      background: rgba(255, 255, 255, 0.92);
      padding: 10px 12px;
      box-shadow: 3px 3px 0 rgba(86, 108, 176, 0.22);
      position: relative;
      z-index: 3;
    }

    .archive-note {
      margin: 0 0 10px;
      padding-bottom: 8px;
      border-bottom: 1px dashed #85a5df;
      font-size: 0.74rem;
      line-height: 1.35;
      text-align: center;
      color: var(--muted);
    }

    .entry-list {
      list-style: none;
      margin: 0;
      padding: 0;
      overflow-y: auto;
      flex: 1;
    }

    .entry-list li + li {
      margin-top: 8px;
    }

    .entry-link {
      width: 100%;
      text-align: center;
      background: transparent;
      border: 1px solid transparent;
      padding: 5px 6px;
      cursor: pointer;
      font-family: inherit;
      font-size: 0.84rem;
      color: var(--ink);
      border-radius: 4px;
      transition: background 0.15s ease;
    }

    .entry-link:hover {
      background: rgba(133, 165, 223, 0.22);
    }

    .entry-link.active {
      background: var(--border-blue);
      color: #ffffff;
    }

    .entry-link .entry-link-title {
      display: block;
      text-decoration: underline;
      font-weight: bold;
    }

    .entry-link .entry-link-date {
      display: block;
      font-size: 0.74rem;
      opacity: 0.8;
      margin-top: 2px;
    }

    /* Right Page: Vertically Scrollable Journal Body */
    .journal-scroll {
      height: 100%;
      overflow-y: auto;
      padding-right: 10px;
    }

    /* Custom Blue Scrollbar */
    .journal-scroll::-webkit-scrollbar,
    .entry-list::-webkit-scrollbar {
      width: 7px;
    }
    .journal-scroll::-webkit-scrollbar-track,
    .entry-list::-webkit-scrollbar-track {
      background: rgba(133, 165, 223, 0.15);
    }
    .journal-scroll::-webkit-scrollbar-thumb,
    .entry-list::-webkit-scrollbar-thumb {
      background: #7c97de;
      border-radius: 4px;
    }

    .entry-title {
      margin: 0 0 8px;
      font-size: 1.65rem;
      line-height: 1.2;
      color: #fff;
      letter-spacing: 0.3px;
      text-shadow:
        -1.5px -1.5px 0 var(--border-blue),
         1.5px -1.5px 0 var(--border-blue),
        -1.5px  1.5px 0 var(--border-blue),
         1.5px  1.5px 0 var(--border-blue),
         2px    2px   0 var(--border-blue);
    }

    .entry-meta {
      font-size: 0.85rem;
      font-weight: bold;
      color: var(--border-blue);
      padding-bottom: 8px;
      margin-bottom: 14px;
      border-bottom: 1.5px solid #85a5df;
    }

    .entry-body {
      font-family: "Short Stack", cursive;
      font-weight: 500;
      font-size: 0.86rem;
      line-height: 1.55;
      color: var(--ink);
    }

    .entry-body p {
      margin: 0 0 12px;
    }

    .entry-body::after {
      content: "";
      display: table;
      clear: both;
    }

    .entry-body img {
      max-width: 100%;
      height: auto;
      border: 2px solid var(--border-blue);
      background: #fff;
      padding: 3px;
      box-shadow: 2px 3px 8px rgba(86, 108, 176, 0.22);
    }

    .entry-body img[data-position="center"] {
      display: block;
      margin: 14px auto;
      max-width: 82%;
    }

    .entry-body img[data-position="left"] {
      float: left;
      max-width: 44%;
      margin: 4px 14px 8px 0;
    }

    .entry-body img[data-position="right"] {
      float: right;
      max-width: 44%;
      margin: 4px 0 8px 14px;
    }

    .journal-pen {
      position: absolute;
      right: -40px;
      bottom: -24px;
      width: 105px;
      height: 290px;
      z-index: 12;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      transform: rotate(12deg);
      pointer-events: none;
      filter: drop-shadow(4px 6px 6px rgba(63, 84, 148, 0.35));
    }
    
    /* Responsive Mobile Layout */
    @media (max-width: 780px) {
      .diary-cover {
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .spiral-binder {
        display: none;
      }
      .paper-page {
        height: auto;
        min-height: 360px;
        padding: 20px;
      }
      .paper-right {
        max-height: 480px;
      }
      .journal-pen {
        right: -28px;
        bottom: -16px;
      }
    }
    /* Source code: https://writewhim.blogspot.com/2026/12/aesthetic-digital-diary-template.html */
  </style>
</head>
<body>

  <main class="diary-stage">
    <h1 class="journal-header-title">My Journal</h1>

    <div class="diary-cover">
      <section class="paper-page paper-left" data-png="paper" style="background-image: url('');">
        <div class="scrapbook-photos">
          <div class="polaroid"><div class="polaroid-inner"></div></div>
          <div class="polaroid"><div class="polaroid-inner"></div></div>
        </div>

        <div
          class="bow-divider"
          data-png="divider"
          style="background-image: url('');"
        ></div>

        <h2 class="archive-heading"><img width="30" height="30" src="https://file.garden/Z4-KIXj5okOfzeyR/STASH/Pixels2/27/tumblr_07d9f6f19a166accae4c88d6cde30ac7_8e5cbe04_75.webp"/>Archive<img width="30" height="30" src="https://file.garden/Z4-KIXj5okOfzeyR/STASH/Pixels2/27/tumblr_07d9f6f19a166accae4c88d6cde30ac7_8e5cbe04_75.webp"/></h2>

        <nav class="bookmark-bar" id="bookmarkBar" aria-label="Entry Year Bookmarks"></nav>

        <div class="archive-box">
          <p class="archive-note">
            journal entries will come whenever i feel like it. click a bookmark above to filter by year.
          </p>
          <ul class="entry-list" id="entryList"></ul>
        </div>
      </section>

      <div class="spiral-binder" data-png="spiral" style="background-image: url('');"></div>

      <section class="paper-page paper-right" data-png="paper" style="background-image: url('');">
        <article class="journal-scroll" id="journalReader"></article>
      </section>
    </div>

    <div class="journal-pen" data-png="pen" style="background-image: url('');"></div>
  </main>

  <script>
    /* =====================================================================
       1. CUSTOM IMAGE ASSETS
       Paste your image URLs here, or directly inside style="background-image: url('...')"
       ===================================================================== */
    const ASSETS = {
      spiralPng:  "https://file.garden/ag8JwXEGxlB3Dv6B/myblogger/notes/diary/digitalring.png",
      paperPng:   "https://file.garden/ag8JwXEGxlB3Dv6B/myblogger/notes/diary/paperlines.webp",
      penPng:     "https://file.garden/ag8JwXEGxlB3Dv6B/myblogger/notes/diary/cutepen.png",
      dividerPng: "https://64.media.tumblr.com/b1c4385591bd1ce5a4d7d4876f455645/195a46e5353e9eef-d9/s400x600/537a07e05534d0b4efc1739a8d28f7ef548be54c.gifv"
    };

    /* =====================================================================
       2. JOURNAL ENTRIES
       Inside "body", add images using:
         <img src="..." data-position="center" alt="...">
         <img src="..." data-position="left" alt="...">
         <img src="..." data-position="right" alt="...">
       ===================================================================== */
   const ENTRIES = [
      {
        id: "guide-01",
        title: "How to Insert New Entries",
        date: "9/7/26",
        entryLabel: "Guide 01",
        body: `
          <p>Welcome to your digital diary! To write a new journal entry, open your HTML file, find <code>const ENTRIES = [</code> inside the <code>&lt;script&gt;</code> tag, and paste a new block like this at the top of the list:</p>

          <pre style="background:#eef4ff;border:1.5px solid #85a5df;padding:8px 10px;border-radius:6px;font-family:'Courier New',monospace;font-size:0.74rem;line-height:1.4;white-space:pre-wrap;color:#27345e;">{
  id: "entry-04",
  title: "My New Entry Title",
  date: "9/8/26",
  entryLabel: "Entry 04",
  body: \`
    &lt;p&gt;Write your first paragraph here!&lt;/p&gt;
    &lt;p&gt;Add as many paragraphs as you want—this page scrolls vertically.&lt;/p&gt;
  \`
},</pre>

          <p><strong>Quick Tips:</strong></p>
          <p>• Make sure every entry has a unique <code>id</code> (like <code>"entry-04"</code>, <code>"entry-05"</code>).<br>
          • Don't forget the comma <code>,</code> between each <code>{ ... }</code> entry block!<br>
          • Put your newest entry at the very top of <code>ENTRIES</code> so it opens first by default.</p>
        `
      },
      {
        id: "guide-02",
        title: "How to Add Images (Live Result)",
        date: "9/6/26",
        entryLabel: "Guide 02",
        body: `
          <p>You can place images anywhere inside your entry's <code>body</code> using a normal <code>&lt;img&gt;</code> tag with a <code>data-position</code> attribute: <strong>left</strong>, <strong>right</strong>, or <strong>center</strong>. Look below to see each result live!</p>

          <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><rect width='100%25' height='100%25' fill='%23566cb0'/><text x='50%25' y='52%25' dominant-baseline='middle' text-anchor='middle' fill='%23fff' font-family='monospace' font-size='15'>LEFT IMG</text></svg>" data-position="left" alt="Left position example">

          <p><strong>1. Left Image (<code>data-position="left"</code>)</strong><br>
          <code>&lt;img src="YOUR_URL" data-position="left"&gt;</code><br>
          Notice how the image floats on the left side while your text wraps neatly along the right side and continues all the way down underneath once it passes the image!</p>

          <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='140'><rect width='100%25' height='100%25' fill='%236b88d6'/><text x='50%25' y='52%25' dominant-baseline='middle' text-anchor='middle' fill='%23fff' font-family='monospace' font-size='15'>RIGHT IMG</text></svg>" data-position="right" alt="Right position example">

          <p><strong>2. Right Image (<code>data-position="right"</code>)</strong><br>
          <code>&lt;img src="YOUR_URL" data-position="right"&gt;</code><br>
          This floats the photo to the right edge, and your paragraphs flow smoothly down the left side before continuing across the full width below.</p>

          <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='110'><rect width='100%25' height='100%25' fill='%23566cb0'/><text x='50%25' y='52%25' dominant-baseline='middle' text-anchor='middle' fill='%23fff' font-family='monospace' font-size='15'>CENTERED IMG</text></svg>" data-position="center" alt="Center position example">

          <p><strong>3. Centered Image (<code>data-position="center"</code>)</strong><br>
          <code>&lt;img src="YOUR_URL" data-position="center"&gt;</code><br>
          Centered images sit on their own line in the middle—great for banners, Polaroids, or wide drawings!</p>
        `
      },
      {
        id: "guide-03",
        title: "What Are the Bookmarks?",
        date: "11/14/25",
        entryLabel: "Guide 03",
        body: `
          <p>Look above the <strong>Archive</strong> box on the left page—those blue &amp; white tabs (<strong>All</strong>, <strong>2026</strong>, <strong>2025</strong>) are your <strong>automatic year bookmarks</strong>!</p>

          <p><strong>How they work:</strong><br>
          • Clicking <strong>All</strong> shows every entry in your diary.<br>
          • Clicking a year tab (like <strong>2026</strong> or <strong>2025</strong>) filters the Archive list to only show entries from that year.</p>

          <p><strong>Why did "2025" appear automatically?</strong><br>
          Because this entry's <code>date</code> is <code>"11/14/25"</code>! The diary reads the year from each entry's <code>date</code> (either 2-digit like <code>9/6/26</code> → <code>2026</code> or 4-digit like <code>9/6/2027</code> → <code>2027</code>) and creates new bookmark tabs for you automatically.</p>

          <p>You never need to edit the bookmark bar manually—just write your entries and the tabs update on their own!</p>
        `
      }
    ];

    eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('h 1j(){4 A={16:u.17,18:u.1d,1c:u.1b,1e:u.1a};7.1f("[1i-R]").B((x)=>{4 i=x.1h.R;4 g=x.Q.U;4 15=g&&g!=="1g"&&!g.S(\'H("")\')&&!g.S("H(\'\')");9(15)c;9(A[i]){x.Q.U=`H("${A[i]}")`}})}h I(G){4 K=G.V(/\\b(19|P)\\d{2}\\b/);9(K)c K[0];4 F=G.V(/(\\d{2})\\s*$/);9(F)c"P"+F[1];c"1w"}4 6={f:"C",y:8[0]?.z||1y};4 l=7.E("l");4 n=7.E("n");4 t=7.E("t");h 14(){4 N=1x.1z(1v 1t(8.1u((e)=>I(e.j)))).1n((a,b)=>b.1m(a));4 O=["C",...N];l.o="";O.B((m)=>{4 5=7.D("q");5.i="q";5.Z="1l-1o"+(6.f===m?" Y":"");5.1k=m;5.W("11",()=>{6.f=m;14();L()});l.J(5)})}h L(){4 X=6.f==="C"?8:8.1p((e)=>I(e.j)===6.f);n.o="";X.B((3)=>{4 v=7.D("v");4 5=7.D("q");5.i="q";5.Z="3-M"+(3.z===6.y?" Y":"");5.o=`<p k="3-M-w">${3.w}</p><p k="3-M-j">${3.j}</p>`;5.W("11",()=>{6.y=3.z;L();T()});v.J(5);n.J(v)})}h T(){4 3=8.1s((e)=>e.z===6.y)||8[0];9(!3)c;t.o=`<10 k="3-w">${3.w}</10><r k="3-1r">${3.j}${3.12?" - "+3.12:""}</r><r k="3-13">${3.13}</r>`;t.1q=0}',62,98,'|||entry|const|btn|state|document|ENTRIES|if|||return|||selectedYear|inlineBg|function|type|date|class|bookmarkBar|year|entryList|innerHTML|span|button|div||journalReader|ASSETS|li|title|el|selectedId|id|assetMap|forEach|All|createElement|getElementById|twoDigit|dateStr|url|extractYear|appendChild|fourDigit|renderArchive|link|years|tabs|20|style|png|includes|renderEntry|backgroundImage|match|addEventListener|filtered|active|className|h2|click|entryLabel|body|renderBookmarks|hasInlineUrl|paper|paperPng|spiral||dividerPng|penPng|pen|spiralPng|divider|querySelectorAll|none|dataset|data|applyAssets|textContent|bookmark|localeCompare|sort|tab|filter|scrollTop|meta|find|Set|map|new|Other|Array|null|from'.split('|'),0,{}))

    applyAssets();
    renderBookmarks();
    renderArchive();
    renderEntry();
  </script>
</body>
</html>

Step 2: How to Add This to Your Site

You can host this diary on Nekoweb, Neocities, or even inside a Blogger Page:

On Nekoweb or Neocities:

  1. Go to your Dashboard / File Manager.
  2. Create a new file called journal.html (or diary.html).
  3. Paste the entire code above into that file and click Save.
  4. Link to /journal.html from your main navigation!

On a Blogger Page:

  1. Go to your Blogger Dashboard → Pages → New Page.
  2. Give your page a title (e.g., My Journal).
  3. Click the Pencil icon in the top-left of the editor and switch from Compose view to HTML view. Screenshot on how to change from Compose view to HTML view
  4. Paste the code in!

    Tip: If your Blogger theme's header or CSS overlaps with the diary, host journal.html on Nekoweb/Neocities or Google Drive/GitHub Pages and embed it cleanly on your Blogger Page using <iframe src="YOUR_DIARY_URL" style="width:100%;height:700px;border:none;"></iframe>.

Step 3: How to Customize Graphics & Polaroids

  • Change the Spiral, Paper, Pen or Divider: Find the const ASSETS = { ... } section in the <script> and swap spiralPng, paperPng,penPng, or dividerPng with your own image URLs!
  • Change the Lace Borders: Replace the image URLs inside body::before / body::after.
  • Add Photos to the Two Polaroids: Replace <div class="polaroid"><div class="polaroid-inner"></div></div> with <div class="polaroid" style="background-image: url('YOUR_PHOTO_URL');"></div>.

Step 4: How to Write Entries, Add Images & Use Bookmarks

  • Adding Entries: Add a new { id, title, date, entryLabel, body } block to const ENTRIES = [ ... ];.
    {
      id: "entry-04",
      title: "My New Entry Title",
      date: "9/8/26",
      entryLabel: "Entry 04",
      body: `
        <p>Write your first paragraph here!</p>
        <p>Add as many paragraphs as you want—this page scrolls vertically.</p>
      `
    }
  • Automatic Bookmarks: You don't have to edit the tabs manually—the diary reads the year from each entry's date (9/7/26 → 2026, 11/14/25 → 2025) and creates the bookmark tabs above the Archive box automatically.
  • Adding Images Inside Entries: Use <img src="URL" data-position="left">, data-position="right", or data-position="center" inside any entry's body! (You can preview how all three look right inside Guide 02 of the diary itself.)

Final Thoughts

And that’s it! You now have a cozy, customizable digital diary ready to add to your Nekoweb, Neocities, or Blogger site. Feel free to change the colors, swap out the pen and lace details, and personalize it to make it entirely your own.

Have fun journaling! If you run into any issues or have questions, feel free to leave a comment. I’d be happy to help!

Want the original code? You can also purchase the raw, unedited, and unobfuscated version through my Patreon shop. Thank you so much for supporting my work!