8000 GitHub - quark-bar/notes: https://notes.jim-nielsen.com
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

quark-bar/notes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Build: npm run build
  • Development: npm start

Content format

All content follows this pattern (tags optional but prefixed with _ to differentiate them in iA Writer from my blog’s posts). No exceptions.

#\_article #\_twitter #\_rss

# [Five years of quitting Twitter](https://nolanlawson.com/2022/02/02/five-years-of-quitting-twitter/)

I liked this:

> [for many] I only exist when someone takes pity on me and links to my blog from Twitter, Reddit, Hacker News, or a big site like CSS Tricks...
>
> For those people who are re-sharing my content on social media, I suspect most of them found it from their RSS feed. So RSS definitely still seems alive and well, even if it’s just a small upstream tributary for the roaring downstream river of Twitter, Reddit, etc

Markdown file gets parsed into a JSON feed item:

[
  {
    // Filename (minus extension)
    id: "2022-01-08T0905",
    // <h1> stripped from markup and extracted into `title` and `external_url`
    // Body goes here
    content_html: "<p>I liked this..."
    date_published: "2022-01-08T09:05-06:00"
    title: "Five years of quitting twiter"
    url: "https://notes.jim-nielsen.com/#2022-01-08T0905",
    external_url: "https://example.com/..."
    tags: ["article", "twitter", "rss"]
  }
]

File names

Files follow this format: YYYY-MM-DDTHHMM.md

  • New files:
    • 2023-08-01T1036.md
    • 2023-08-05T1222.md
  • Ported reading notes will be:
    • 2022-01-12T1230.md
    • 2022-01-12T1229.md
    • 2022-01-12T1228.md

URLs

All content is loaded into one giant HTML file.

Why one big file? Because I want to be able to search/filter all notes at once and one page makes that easy. Plus, content should always be written/formatted as text (no embedded images, videos, etc., those must all be linked).

Individual posts are anchor linked in the main file:

  • notes.jim-nielsen.com/#2022-05-01T1200

Perhaps one day they can have their own URLs

  • notes.jim-nielsen.com/2022-05-01T1200

Will require:

  1. Port all exisiting reading notes into new repository as .md files
  2. Script that gets all files, parses them into db.json file, and turns them into static files (and feed files)
  3. Add a thing to all reading notes posts that indicate they are now reposted on notes.jim-nielsen.com — or do a redirect? from old blog reading notes posts to new notes.jim-nielsen.com - this might be a little weird...

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0