TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

117 pointsby inflam52over 9 years ago

16 comments

userbinatorover 9 years ago
I know there seem to be two rather large groups on HN, one for proliferation of JS and one against, but at the very least if someone from the latter visits your site, please show something better than <i>an entirely blank page</i>.<p>(I&#x27;m speaking of the demo, not the actual site describing it --- although I thought it would be hosted with itself.)<p>As for the idea of turning static content sites into client-side JS-rendered apps, that gets a strong disapproval from me. <i>Why?</i> It&#x27;s needless complexity (instead of generating the HTML once and storing it on the server, every single visitor has to regenerate it on their machine), bad for accessibility, and very much against the principle of the Web that information should be easily linkable and retrievable. I can understanding using JS to do &quot;app-ish&quot; things that wouldn&#x27;t be possible with static pages, but this is reinventing the wheel and making it square.
评论 #10931059 未加载
评论 #10931202 未加载
评论 #10929034 未加载
评论 #10931238 未加载
mikegerwitzover 9 years ago
I don&#x27;t want to discourage you, but I also don&#x27;t want to encourage the proliferation of websites (web apps---as an alternative to actual desktop software---excluded) that require JavaScript to function at all.<p>Sites using JS only cannot be parsed by standard tools---I can&#x27;t cURL the page, use wget, use a text-mode browser, etc. This fundamentally breaks interoperability, and limits users&#x27; freedom to use the tool&#x2F;browsers they want to use the web. Users who wish to disable JavaScript to browse the web---be it for security, privacy, philosophy[0], or all of these things---are forced to either enable JavaScript or not read your website (I fall into the latter).<p>I write more JavaScript than any other language. I understand the community, and the rationale. But I know enough to know that I should disable JavaScript when browsing the web (except for select cases, and the software must be Free), and I still use command-line tools aggressively, even for the web. Please do your best to respect those who use the web as it was intended.<p>Keep hacking, but consider fallbacks, too!<p>[0]: <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;philosophy&#x2F;javascript-trap.html" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;philosophy&#x2F;javascript-trap.html</a>
评论 #10930845 未加载
评论 #10930995 未加载
评论 #10930764 未加载
weiskover 9 years ago
Well how is this intended to be &#x27;content manage&#x27;d? Through pr&#x27;s on github?<p>I think CMS is a poor choice for a name, when there is no interface to &#x27;build&#x27; the site&#x27;s pages. I&#x27;d call it something like &#x27;website generator backed by github&#x27;.
ommunistover 9 years ago
I guess this technology is promising in a way that it delivers websites to be read by humans only, not the bots. I fail to recognise the practical use of it unless building the most unknown blog in the world, since obviously site on cmsjs is not going to be indexed by google like your ordinary wordpress blog. But, there is something to it. Something important. Blog for humans, readable only by humans, kinda timely in the modern days of senseless content aggregators.
评论 #10929278 未加载
评论 #10929841 未加载
评论 #10929213 未加载
teenover 9 years ago
I think this project is cool but it&#x27;s all of the problems of dynamic sites with none of the benefits. It&#x27;s like if you took the worst parts of Jekyll (having to redeploy to update content) and the worst parts of a dynamic single page app (rendering delay), and took both parts. There is no benefit to this sort of infrastructure.
sotojuanover 9 years ago
Good work, but why is client-side JS needed for a simple blog? I thought it was going to be like Jekyll but Node instead of Ruby (so no JS client-side).
评论 #10929090 未加载
sasinduover 9 years ago
Both the name and description are completely misleading. They suggest that this app is a web UI for managing content and doing what Jekyll does from CLI.<p>But this really is a SPA that can grab markdown files from your Jekyll site hosted on Github or a Apache web server, convert them to HTML and render on client site with JS.<p>What is the point?
fiatjafover 9 years ago
Shameless self-promotion:<p>For easy theming, I suggest you to take a look at the Classless Project, which will be super easy to integrate to in your case and will bring many already made themes with it -- and much more to come.<p>The ursprung[2] micro CMS is integrating Classless with success to this day.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;websitesfortrello&#x2F;classless" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;websitesfortrello&#x2F;classless</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;onli&#x2F;ursprung" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;onli&#x2F;ursprung</a>
评论 #10928946 未加载
评论 #10928242 未加载
EvanPlaiceover 9 years ago
Cool. I&#x27;m actually building something very similar @ <a href="http:&#x2F;&#x2F;evanplaice.com" rel="nofollow">http:&#x2F;&#x2F;evanplaice.com</a>. I use Markdown&#x2F;JSON for all of the content. Markdown files can easily be embedded in a page using the &lt;ng2-markdown&gt; directive I wrote. The source is @ <a href="http:&#x2F;&#x2F;github.com&#x2F;evanplaice&#x2F;evanplaice.com" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;evanplaice&#x2F;evanplaice.com</a>.<p>I&#x27;m planning to eventually extract the good bits, and adapt it to work with Jekyll files. Front-matter support is the last major road block.<p>Google shouldn&#x27;t have any issue indexing AJAX-loaded content. On my site it&#x27;s the Angular2 router that&#x27;s really screwing SEO. You can test it out using the &#x27;Fetch as Google&#x27; tool.
评论 #10929705 未加载
评论 #10930267 未加载
评论 #10931786 未加载
unicornpornover 9 years ago
TiddlyWiki[1], which is a wiki more than a &quot;CMS&quot;, has been doing something very close to this for quite some time. I used it for years, but eventually switched back to plain text files for notes.<p>I use Jekyll for blogging and generating my portfolio site too, but right now I can only update my those from my own laptop with my Jekyll install which is not always great. CMS.js would be something else... My dream would be a simple PHP based CMS for my Jekyll install though.<p>[1] <a href="http:&#x2F;&#x2F;tiddlywiki.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tiddlywiki.com&#x2F;</a>
评论 #10931107 未加载
programminggeekover 9 years ago
This looks interesting. I&#x27;m not in love with the name. That said, I love all static site generators. Unfortunately, hosting a static site isn&#x27;t much fun, so I created <a href="http:&#x2F;&#x2F;www.statichosting.co" rel="nofollow">http:&#x2F;&#x2F;www.statichosting.co</a> to make it easier. It&#x27;s in beta and we are getting close to launch, but have a few bugs to work out. Would love to have anyone give feedback on it as it develops.
faebserover 9 years ago
Although this is a cute little project, isn&#x27;t the name rather misleading? Instead of a generator isn&#x27;t this actually a markdown to HTML renderer?
评论 #10929764 未加载
tuananhover 9 years ago
does it affect site&#x27;s SEO?
评论 #10928959 未加载
评论 #10928764 未加载
asimjalisover 9 years ago
Here is why I like this: It makes publishing to the web trivial.
danielovichover 9 years ago
i can&#x27;t get it to run.<p>it&#x27;s cloned to danielovich.github.io but then it breaks!<p>:&#x2F;
评论 #10931097 未加载
shocksover 9 years ago
Cute project I guess, but this is a terrible idea for the web.