Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

chore(web): remove old unused presentation (#4834)

Elijah Potter482b210db534
diff --git a/packages/web/package.json b/packages/web/package.json
index ad02ea531..7c0d4ddb1 100644
--- a/packages/web/package.json
+++ b/packages/web/package.json
@@ -15,7 +15,6 @@
"@sveltejs/kit": "^2.65.1",
"@sveltejs/vite-plugin-svelte": "^7.3.1",
"@tailwindcss/vite": "^4.3.3",
- "@types/reveal.js": "^5.0.3",
"autoprefixer": "^10.4.21",
"drizzle-kit": "^0.31.5",
"esbuild": "^0.28.1",
@@ -46,7 +45,6 @@
"lodash-es": "^4.17.21",
"mysql2": "^3.15.2",
"posthog-js": "^1.245.1",
- "reveal.js": "^5.1.0",
"svelte-ace": "^1.0.21",
"svelte-intersection-observer": "^1.0.0",
"typed.js": "^2.1.0",
diff --git a/packages/web/src/routes/presentation/+page.svelte b/packages/web/src/routes/presentation/+page.svelte
deleted file mode 100644
index 4ce91ac26..000000000
--- a/packages/web/src/routes/presentation/+page.svelte
+++ /dev/null
@@ -1,128 +0,0 @@
-<script lang="ts">
-import 'reveal.js/dist/reveal.css';
-import 'reveal.js/dist/theme/serif.css';
-import { Link, Logo } from 'components';
-import Reveal from 'reveal.js';
-import { onMount } from 'svelte';
-
-onMount(() => {
- let deck = new Reveal();
- deck.initialize();
-});
-</script>
-
-<div class="reveal">
- <div class="slides">
- <section>
- <Logo width="50%" />
- <h1>Harper</h1>
- <h2>The Grammar Checker for Developers</h2>
- </section>
- <section>
- <h1>Context</h1>
- <h3>I was bored</h3>
- </section>
- <section>
- <h2>
- That became
- <img
- src="https://thrax.elijahpotter.dev/logo.svg"
- alt="The Thrax Logo"
- class="w-1/2 inline rounded-lg"
- />
- </h2>
- </section>
- <section>
- <h2>The language wasn't great, but the parser was fast.</h2>
- </section>
- <section>
- <h1>The Problem:</h1>
- <h1 class="fragment fade-in"><strong>Grammarly</strong></h1>
- </section>
- <section>
- <h3>It is a privacy nightmare.</h3>
- <p class="fragment fade-in">
- Every request gets sent to their servers and stored <strong>forever.</strong>
- </p>
- </section>
- <section>
- <h3>It is <i>slow.</i></h3>
- <p class="fragment fade-in">Grammarly requests can take as many as 4000ms to resolve.*</p>
- </section>
- <section>
- <h3>LanguageTool</h3>
- <p class="fragment fade-in">You can self-host it, but...</p>
- <p class="fragment fade-in">there are memory issues.</p>
- </section>
- <section>
- <Logo width="40%" />
- <h2>Let me introduce:</h2>
- <h1>Harper</h1>
- </section>
- <section>
- <h2>The mission:</h2>
- <p>Create a grammar checker of the same caliber as Grammarly and LanguageTool.</p>
- <p class="fragment fade-in"><strong>Without the cruft.</strong></p>
- </section>
- <section>
- <h2>That means:</h2>
- <ul>
- <li class="fragment fade-in">It must be completely private.</li>
- <li class="fragment fade-in">It must encourage painless revision <i>by a human</i>.</li>
- <li class="fragment fade-in">It has to get out of the way.</li>
- </ul>
- </section>
- <section>
- <h2>Harper (right now)</h2>
- <ul>
- <li class="fragment fade-in">Runs on-device.</li>
- <li class="fragment fade-in">
- The entire grammar checker fits under 500kb (including datasets).
- </li>
- <li class="fragment fade-in">Completes checking on large documents in under 10-20ms.</li>
- </ul>
- </section>
- <section>
- <h2>Linters</h2>
- <ul>
- <li>"a" v.s. "an" usage.</li>
- <li>Spell-checking.</li>
- <li>Accidental word repetition (e.x. "We ate at <i>the the</i> cafe").</li>
- <li>Extraneous spaces.</li>
- <li>More than 100 curated patterns.</li>
- <li>Run-on sentences.</li>
- </ul>
- </section>
- <section>
- <h2>Availability</h2>
- <h3>Full Support:</h3>
- <ul>
- <li>Neovim (LSP)</li>
- <li>Web (WebAssembly)</li>
- </ul>
- <h3>Early Access (talk to me)</h3>
- <ul><li>Obsidian (CodeMirror + WebAssembly)</li></ul>
- <h3>Planned:</h3>
- <ul>
- <li>JetBrains products (LSP)</li>
- <li>Visual Studio Code (LSP)</li>
- </ul>
- </section>
- <section>
- <h2>Try It!</h2>
- <p>
- Go to <Link href="https://writewithharper.com">https://writewithharper.com</Link> on a laptop.
- <img
- alt="The QR code for the website."
- src=" https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=https://writewithharper.com"
- />
- </p>
- </section>
- </div>
-</div>
-
-<style>
- .reveal * {
- text-align: left;
- }
-</style>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c1ddd7825..0b9e62221 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -632,9 +632,6 @@ importers:
posthog-js:
specifier: ^1.245.1
version: 1.245.1
- reveal.js:
- specifier: ^5.1.0
- version: 5.1.0
svelte-ace:
specifier: ^1.0.21
version: 1.0.21
@@ -660,9 +657,6 @@ importers:
'@tailwindcss/vite':
specifier: ^4.3.3
- '@types/reveal.js':
- specifier: ^5.0.3
- version: 5.0.5
autoprefixer:
specifier: ^10.4.21
version: 10.4.21([email protected])
@@ -4813,9 +4807,6 @@ packages:
resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-+8OFb1RlB69dZT1laNDq+xDSGrPY/VYARSSTxSC/rMl8s9X+W4dr7gHmoKRR9yu20JU8gvp18g9SVxvouk7SiQ==}
-
resolution: {integrity: sha512-rR0p2+VZ5+RTyTA+MemzE7RQs3vkGNsYsEZIl+RahwrJOtEDEg+a5RCnigSwPkBtu4H7dyVHXyUZfiZU2dwjdw==}
peerDependencies:
@@ -10923,10 +10914,6 @@ packages:
resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
- resolution: {integrity: sha512-KDt7m0+xwKV6nAZt4CNPVFBf42sTKRQapg0bGGKB5PKO5XvChnMfwlZkybydHiQJ7p5+6LbHKRGrhXODdoNIaA==}
- engines: {node: '>=18.0.0'}
-
resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==}
deprecated: Rimraf versions prior to v4 are no longer supported
@@ -16960,8 +16947,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
dependencies:
rollup: 4.35.0
@@ -24734,8 +24719,6 @@ snapshots:
-
dependencies:
glob: 7.2.3