Skip to content

lightweight, client-only calendar web application. All data persists in the URL hash for instant sharing, No backend required. Optional AES-GCM password protection keeps shared links locked without a server

JavaScript

update SEO data

Supun Lakmalbdea72104985
diff --git a/README.md b/README.md
index b31bd45..e681d37 100644
--- a/README.md
+++ b/README.md
@@ -1,52 +1,55 @@
-# hash-calendar
-
-HashCal is a lightweight, client-only calendar. Your calendar state lives entirely in the URL hash, so sharing is as simple as copying the link. No backend, no accounts.
-
-## Features
-
-- URL-based storage with LZ-String compression
-- Day, week, month, and year views
-- Create, edit, and delete events
-- All-day events and duration-based events
-- Recurring events (daily, weekly, monthly, yearly)
-- Copy-link sharing
-- Export calendar to JSON
-- Import events from .ics files
-- Optional password lock (AES-GCM + PBKDF2)
-- Theme toggle (light/dark)
-- Week start toggle (Sunday/Monday)
-
-## How it works
-
-- The calendar state is serialized to JSON and compressed into the URL hash.
-- If a password is set, the compressed payload is encrypted using AES-GCM.
-- No data leaves the browser unless you share the link.
-
-Encrypted links start with `#ENC:`. Clearing the hash resets the calendar.
-
-## Getting started
-
-Open `index.html` in your browser.
-
-For clipboard and file import features, run a local server:
-
-```bash
-npx serve .
-```
-
-## Project structure
-
-- `index.html` - UI markup
-- `styles.css` - Styles
-- `script.js` - App logic
-- `modules/`
- - `calendarRender.js` - Calendar rendering
- - `recurrenceEngine.js` - Recurring event expansion
- - `icsImporter.js` - .ics parsing
- - `hashcalUrlManager.js` - URL read/write + compression
- - `cryptoManager.js` - Encryption helpers
- - `lz-string.min.js` - Compression library
-
-## License
-
-MIT. See `LICENSE`.
+# hash-calendar
+
+hash-calendar is a lightweight, client-only calendar. Your calendar state lives entirely in the URL hash, so sharing is as simple as copying the link. No backend, no accounts.
+
+Live site: https://hash-calendar.netlify.app/
+GitHub: https://github.com/supunlakmal/hash-calendar
+
+## Features
+
+- URL-based storage with LZ-String compression
+- Day, week, month, and year views
+- Create, edit, and delete events
+- All-day events and duration-based events
+- Recurring events (daily, weekly, monthly, yearly)
+- Copy-link sharing
+- Export calendar to JSON
+- Import events from .ics files
+- Optional password lock (AES-GCM + PBKDF2)
+- Theme toggle (light/dark)
+- Week start toggle (Sunday/Monday)
+
+## How it works
+
+- The calendar state is serialized to JSON and compressed into the URL hash.
+- If a password is set, the compressed payload is encrypted using AES-GCM.
+- No data leaves the browser unless you share the link.
+
+Encrypted links start with `#ENC:`. Clearing the hash resets the calendar.
+
+## Getting started
+
+Open `index.html` in your browser.
+
+For clipboard and file import features, run a local server:
+
+```bash
+npx serve .
+```
+
+## Project structure
+
+- `index.html` - UI markup
+- `styles.css` - Styles
+- `script.js` - App logic
+- `modules/`
+ - `calendarRender.js` - Calendar rendering
+ - `recurrenceEngine.js` - Recurring event expansion
+ - `icsImporter.js` - .ics parsing
+ - `hashcalUrlManager.js` - URL read/write + compression
+ - `cryptoManager.js` - Encryption helpers
+ - `lz-string.min.js` - Compression library
+
+## License
+
+MIT. See `LICENSE`.
diff --git a/index.html b/index.html
index a034840..8ceb088 100644
--- a/index.html
+++ b/index.html
@@ -2,23 +2,51 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>HashCal</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>hash-calendar - private, URL-powered calendar</title>
+ <meta name="description" content="hash-calendar is a privacy-first, URL-powered calendar. Create events, share instantly, and keep data in your browser - no accounts or backend.">
+ <meta name="robots" content="index,follow">
+ <link rel="canonical" href="https://hash-calendar.netlify.app/">
+ <meta property="og:site_name" content="hash-calendar">
+ <meta property="og:title" content="hash-calendar - private, URL-powered calendar">
+ <meta property="og:description" content="Privacy-first calendar that lives in your URL. Create events, share instantly, and keep data in your browser - no accounts or backend.">
+ <meta property="og:type" content="website">
+ <meta property="og:url" content="https://hash-calendar.netlify.app/">
+ <meta property="og:image" content="https://hash-calendar.netlify.app/logo.png">
+ <meta property="og:image:alt" content="hash-calendar logo">
+ <meta name="twitter:card" content="summary_large_image">
+ <meta name="twitter:title" content="hash-calendar - private, URL-powered calendar">
+ <meta name="twitter:description" content="Privacy-first calendar that lives in your URL. Create events, share instantly, and keep data in your browser - no accounts or backend.">
+ <meta name="twitter:image" content="https://hash-calendar.netlify.app/logo.png">
+ <meta name="twitter:image:alt" content="hash-calendar logo">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.png" type="image/png" sizes="32x32">
<link rel="apple-touch-icon" href="apple-touch-icon.png" sizes="180x180">
<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=Fraunces:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap" rel="stylesheet">
- <link rel="stylesheet" href="styles.css">
-</head>
+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap" rel="stylesheet">
+ <link rel="stylesheet" href="styles.css">
+ <script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "WebApplication",
+ "name": "hash-calendar",
+ "url": "https://hash-calendar.netlify.app/",
+ "description": "Privacy-first calendar that lives in your URL. Create events, share instantly, and keep data in your browser - no accounts or backend.",
+ "applicationCategory": "Productivity",
+ "operatingSystem": "All",
+ "browserRequirements": "Requires JavaScript",
+ "image": "https://hash-calendar.netlify.app/logo.png"
+ }
+ </script>
+</head>
<body>
<div class="app">
<header class="topbar">
<div class="brand">
<div class="brand-mark">#</div>
<div class="brand-text">
- <input id="calendar-title" class="title-input" type="text" maxlength="60" value="HashCal" aria-label="Calendar title">
+ <input id="calendar-title" class="title-input" type="text" maxlength="60" value="hash-calendar" aria-label="Calendar title">
<span class="brand-subtitle">Serverless privacy calendar. Your URL is the save file.</span>
</div>
</div>
@@ -34,11 +62,12 @@
<button type="button" data-view="month" role="tab" aria-selected="true">Month</button>
<button type="button" data-view="year" role="tab" aria-selected="false">Year</button>
</div>
- <button id="add-event" type="button" class="primary">Add event</button>
- <button id="copy-link" type="button">Copy link</button>
- <button id="lock-btn" type="button">Lock</button>
- </div>
- </header>
+ <button id="add-event" type="button" class="primary">Add event</button>
+ <button id="copy-link" type="button">Copy link</button>
+ <button id="lock-btn" type="button">Lock</button>
+ <a class="action-link" href="https://github.com/supunlakmal/hash-calendar" target="_blank" rel="noreferrer">GitHub</a>
+ </div>
+ </header>
<main class="layout">
<section class="calendar-panel">
diff --git a/robots.txt b/robots.txt
index 9cdc5f9..814b3f6 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1,4 +1,4 @@
User-agent: *
Allow: /
-Sitemap: https://spreadsheetlive.netlify.app/sitemap.xml
-Sitemap: https://spreadsheetlive.netlify.app/sitemap.txt
+Sitemap: https://hash-calendar.netlify.app/sitemap.xml
+Sitemap: https://hash-calendar.netlify.app/sitemap.txt
diff --git a/script.js b/script.js
index 8672823..74b87e5 100644
--- a/script.js
+++ b/script.js
@@ -13,7 +13,7 @@ import { parseIcs } from "./modules/icsImporter.js";
const DEFAULT_COLORS = ["#ff6b6b", "#ffd43b", "#4dabf7", "#63e6be", "#9775fa"];
const DEFAULT_STATE = {
- t: "HashCal",
+ t: "hash-calendar",
c: DEFAULT_COLORS,
e: [],
s: {
diff --git a/sitemap.txt b/sitemap.txt
index 5a882ca..f2ab94f 100644
--- a/sitemap.txt
+++ b/sitemap.txt
@@ -1 +1 @@
-https://spreadsheetlive.netlify.app/
+https://hash-calendar.netlify.app/
diff --git a/sitemap.xml b/sitemap.xml
index 0193811..1d877c0 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <url>
- <loc>https://spreadsheetlive.netlify.app/</loc>
- <lastmod>2026-01-23</lastmod>
- </url>
-</urlset>
+ <url>
+ <loc>https://hash-calendar.netlify.app/</loc>
+ <lastmod>2026-01-28</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>1.0</priority>
+ </url>
+</urlset>
diff --git a/styles.css b/styles.css
index 02a9f30..729ef2a 100644
--- a/styles.css
+++ b/styles.css
@@ -53,9 +53,31 @@ body {
overflow: hidden;
}
-button {
- font-family: inherit;
-}
+button {
+ font-family: inherit;
+}
+
+.action-link {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ padding: 8px 12px;
+ border-radius: 10px;
+ border: 1px solid var(--border);
+ background: var(--panel);
+ color: var(--text);
+ text-decoration: none;
+ font-size: 0.78rem;
+ font-weight: 600;
+ box-shadow: var(--shadow-sm);
+ transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
+}
+
+.action-link:hover {
+ border-color: var(--accent);
+ box-shadow: var(--shadow-md);
+ transform: translateY(-1px);
+}
.app {
height: 100vh;
@@ -350,13 +372,17 @@ button:disabled {
color: var(--muted);
}
-.calendar-grid.week-view,
-.calendar-grid.day-view {
- display: grid;
- border-left: 1px solid var(--border);
- border-top: 1px solid var(--border);
- background: var(--panel);
-}
+.calendar-grid.week-view,
+.calendar-grid.day-view {
+ display: grid;
+ border-left: 1px solid var(--border);
+ border-top: 1px solid var(--border);
+ background: var(--panel);
+ overflow-y: auto;
+ overscroll-behavior: contain;
+ -webkit-overflow-scrolling: touch;
+ scrollbar-gutter: stable;
+}
.time-label {
border-right: 1px solid var(--border);