Skip to content

Commit 35e2f9e

Browse files
committed
Update index.html
1 parent 4ba9c04 commit 35e2f9e

2 files changed

Lines changed: 34 additions & 15 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ This repository contains the source code for my personal website. The site serve
1111
- **Math Support**: Render mathematical expressions using MathJax.
1212
- **Markdown Parsing**: Blog posts are written in Markdown and rendered dynamically.
1313
- **Notes**: Course notes rendered from Markdown (with front-matter), featuring MathJax support and an auto-generated table of contents.
14-
- **Pagination & Filtering**: Browse posts by tag or search with pagination.
14+
- **Pagination & Filtering**: Browse blog posts by tag or search with pagination.
1515

1616
## Tech Stack
1717

1818
- **Frontend**: HTML, CSS, JavaScript (Vanilla)
19-
**Client-side Libraries**:
19+
- **Client-side Libraries**:
2020
- [js-yaml](https://github.com/nodeca/js-yaml) — parse front-matter in notes
2121
- [DOMPurify](https://github.com/cure53/DOMPurify) — sanitize rendered HTML
2222
- [MathJax](https://www.mathjax.org/) — render LaTeX/math expressions
2323
- [Marked.js](https://github.com/markedjs/marked) — Markdown -> HTML parsing
2424

25-
- **Server-side Libraries** (Vercel Serverless Functions):
25+
- **Server-side Libraries** (As Vercel Serverless Functions):
2626
- [node-fetch](https://github.com/node-fetch/node-fetch) — HTTP client
2727
- [sanitize-html](https://github.com/apostrophecms/sanitize-html) — clean user input
2828
- [@upstash/redis](https://github.com/upstash/upstash-redis) — KV caching
2929
- [pg](https://github.com/brianc/node-postgres) — Neon Serverless Postgres driver
30-
- **Backend**: Node.js (serverless via Vercel)
31-
- Comments: cached in Upstash Redis + persisted in Neon Postgres
30+
- **Backend**: Node.js (serverless via Vercel)
31+
- Comments: cached in Upstash Redis + kept in Neon Postgres
3232

3333
## Deployment
3434

index.html

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ <h1>Hello, I'm Robin.</h1>
3333
<p>
3434
This site serves as a platform for me to document my thoughts, projects, and anything else I find worth
3535
sharing. I share random ideas and stuff I created about school, life, etc. (Not any type of
36-
category that I want to fall into, journal, diary, because it would feel kind of restrictive on 'how'/'what'
37-
should I write about anything.) Just a little bit of self intro, I'm a freshman at the NYU studying Computer
38-
Science and Mathematics.
36+
category that I want to fall into, journal, diary, because it would feel kind of restrictive on
37+
'how'/'what' should I write about anything.) Just a little bit of self intro, I'm a freshman at the NYU
38+
studying
39+
Computer Science and Mathematics.
3940
</p>
4041

4142
<h2>What You Might Find Here</h2>
@@ -46,6 +47,19 @@ <h2>What You Might Find Here</h2>
4647
- Personal reflections or ideas that I simply want to document.
4748
</p>
4849

50+
<h2>Features</h2>
51+
<ul>
52+
<li>Blog: Posts about various topics, including school, life, and random ideas.</li>
53+
<li>Projects: A showcase of personal projects and experiments.</li>
54+
<li>Comments: Visitors can leave comments on posts, with support for author names and timestamps.</li>
55+
<li>Dark Mode: Toggle between light and dark themes.</li>
56+
<li>Math Support: Render mathematical expressions using MathJax.</li>
57+
<li>Markdown Parsing: Blog posts are written in Markdown and rendered dynamically.</li>
58+
<li>Notes: Course notes rendered from Markdown (with front-matter), featuring MathJax support and an
59+
auto-generated table of contents.</li>
60+
<li>Pagination & Filtering: Browse blog posts by tag or search with pagination.</li>
61+
</ul>
62+
4963
<h2>Connect with Me</h2>
5064
<p>
5165
You can find me here:
@@ -60,16 +74,21 @@ <h2>Connect with Me</h2>
6074

6175
<h2>Tech Stack</h2>
6276
<p>
63-
This site is built with vanilla HTML, CSS, and JavaScript. It uses minimal dependencies to stay
64-
lightweight, including:
77+
This site is built with vanilla HTML, CSS, and JavaScript. I'm trying to use minimal dependencies to
78+
stay
79+
lightweight, the ones being used including:
6580
</p>
6681
<ul>
67-
<li><code>marked.js</code> – for client-side Markdown rendering</li>
68-
<li><code>MathJax</code> – for TeX/LaTeX rendering in posts</li>
69-
<li><code>DOMPurify</code> – for safe rendering of user-submitted content</li>
70-
<li><code>Neon</code> – for serverless PostgreSQL</li>
71-
<li><code>Upstash</code> – for serverless Redis</li>
82+
<li><code>js-yaml</code> – parse front-matter in notes</li>
83+
<li><code>DOMPurify</code> – sanitize rendered HTML</li>
84+
<li><code>MathJax</code> – render LaTeX/math expressions</li>
85+
<li><code>marked.js</code> – Markdown -> HTML parsing</li>
86+
<li><code>node-fetch</code> – HTTP client for serverless functions</li>
87+
<li><code>sanitize-html</code> – clean user input in comments</li>
88+
<li><code>@upstash/redis</code> – serverless KV caching</li>
89+
<li><code>pg</code> – Neon serverless PostgreSQL driver</li>
7290
</ul>
91+
7392
<h2>Future Plans</h2>
7493
<p>
7594
I plan to add more features and improve the design over time. Some ideas include:

0 commit comments

Comments
 (0)