Skip to content

Commit 7f1b0e8

Browse files
committed
hn implementation details
1 parent d8a6278 commit 7f1b0e8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/content/project/2024/12-09-hackernews-new-jobs/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import HackerNewsNewJobsImage from '../../../../content/project/2024/12-09-hacke
1919

2020
Job ads aggregator for the HackerNews "Who’s Hiring" threads with focus on fresh and recurring job opportunities.
2121

22-
## Goals
22+
## Goal
2323

2424
Evaluate the potential of the idea and the level of interest for a website of this type. Build MVP quickly.
2525

@@ -41,6 +41,12 @@ Evaluate the potential of the idea and the level of interest for a website of th
4141

4242
## Implementation details
4343

44+
This is a Next.js server side rendered app with default ShadcnUI components. Algolia API is used as a data source because HackerNews webserver has a very strict scraping policy. Minimal relevant data is stored in SQLite database which is used for fast and precise queuing. The query results are cached with Keyv LRU in memory cache to improve performance.
45+
46+
The app requires zero maintenance, the only insert query to parse a new month is automated using a `node-cron` scheduled task. The app is packed as a Docker image, either in Github Actions or locally, and is available for both `linux/amd64` and `linux/arm64` platforms. It also has Winston logger and Plausible analytics.
47+
48+
You can find more implementation details in the <Link href="https://github.com/nemanjam/hn-new-jobs/tree/main#implementation-details" variant="link-markdown" target="_blank" title="README.md file">README.md</Link> file on Github.
49+
4450
## Lessons learned
4551

4652
- Idea and project got most attention on HackerNews because the public is already profiled and familiar with "Who’s Hiring" threads.

src/styles/base/my-prose-project.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
@apply prose-h2:my-5 md:prose-h2:my-6;
77

88
/* default line-height: 1.5; is enough */
9-
@apply prose-p:my-0 prose-li:my-0;
9+
@apply prose-li:my-0;
1010
}
1111
}

0 commit comments

Comments
 (0)