Website Alternatives
Similar projects and alternatives to website
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
website reviews and mentions
-
Update on the Bagel Language
Hey thanks! :D
It’s almost all custom (you can see the source on my GitHub https://github.com/brundonsmith/website)
Most of the site is statically generated at startup using regular JS template strings, and then served as static files (cached in-memory) by Express. Posts are written in Markdown, and code blocks are processed into HTML using Prism.
The only dynamic bit is the HN comments, since I want those to stay fresh. My Node server queries the Algolia HN API to get all comments for the top HN link for the post (since there could be more than one), munges the data a bit, renders it as HTML, and then caches it for one minute. Some client-side JS just hits the endpoint and dumps the HTML into the page.
Any rich rendering inside comment bodies, like for code blocks and italics, actually comes directly from HN itself! The content I get has already been processed, though of course the structural content around the comment bodies is custom.
This site is my relaxing project that I tinker with occasionally, so sometimes I over-engineer parts of it a little bit for fun :)
-
Various ways to include comments on your static site
I wrote some code that 1) finds the most active link to the post on HN, and 2) uses the HN API to pull in and render its comments at the bottom. The site is statically-rendered, but there's a bit of client-side JS that loads the latest comments when you visit the page. Most of the work is done on the back-end; the front-end just grabs the content and drops it in.
Example: https://www.brandons.me/blog/three-types-of-data
Implementation: https://github.com/brundonsmith/website/blob/master/src/load...
Stats
The primary programming language of website is TypeScript.
Popular Comparisons
Sponsored