TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why I created Banner Blog

52 点作者 Developer_Tom超过 1 年前

27 条评论

tqwhite超过 1 年前
I have written blog platforms for myself several times over the years. (I&#x27;ve always compared it to the Great American Novel. Every programmer has to write at least one.) It&#x27;s a fun thing to do and it sounds like Developer_Tom has a nice perspective on the matter.<p>I gave up on that seven or eight years ago. I realized that running it was like being my own plumber. Sure, I can do it but aren&#x27;t there better ways to spend my time? (No criticism intended. I&#x27;m old. You&#x27;re probably not.)<p>I have only one criticism for Developer_Tom as he takes signups for his &quot;forever&quot; platform: He&#x27;s not charging for it. Just as with my own efforts, if there&#x27;s no revenue model, I&#x27;m not trusting it with my bon mots.<p>A half dozen years ago or something, I switched to a blog platform named <a href="https:&#x2F;&#x2F;posthaven.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;posthaven.com</a> because they said two things that were crucial to me: 1) They offered nothing for free and 2) They considered running this to be a lifetime commitment.<p>I&#x27;m sure both of them have other jobs and projects. It&#x27;s a simple site, as bannerblog.dev will eventually be, and doesn&#x27;t take much from them. I&#x27;m guessing it&#x27;s a good money maker. And I love them for that.<p>Occasionally I see something that has features I like. Eg, Developer_Tom looks like he might offer easier customization. Then I remember that the PostHaven guys made a commitment to me that really requires a commitment from me. I will be giving them five bucks a month for the rest of my life and, if I have any money left, I will arrange for them to get five bucks a month for eternity.<p>That&#x27;s the relationship I&#x27;m looking for in a blogging platform.
susam超过 1 年前
I began blogging in the early 2000s when blogging on blogspot.com, wordpress.com, livejournal.com, etc. was quite popular. While they were pretty good for quickly writing and publishing content using their built-in layout templates, I also cared about customising the HTML templates to suit my taste. To my disappointment, I found working with their HTML templates clumsy. For example, with blogspot.com, I would spend a few hours customising the template to my needs and then a few months later they would make an update to the website, such as adding a few new elements or removing some, which would then end up rendering my template in a slightly different way that I might not have anticipated.<p>I have since moved away from blogging platforms. I have my own little Common Lisp program and my own HTML templates, all handwritten from scratch, and I am very happy with the results. The biggest benefit of this approach I find is that the layout does not change or break every few months&#x2F;years and I can focus completely on writing content.
评论 #38599792 未加载
xrd超过 1 年前
I love this writeup.<p>The solution the author comes to is great, AND, I think it says that as a blogger you should probably always own or create your own tools.<p>I went down this same path, and Svekyll is my result (combination of Jekyll conventions with Svelte).<p>(<a href="https:&#x2F;&#x2F;svekyll.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;svekyll.com</a> or <a href="https:&#x2F;&#x2F;extrastatic.dev&#x2F;svekyll&#x2F;svekyll-cli&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;extrastatic.dev&#x2F;svekyll&#x2F;svekyll-cli&#x2F;</a>)<p>Svekyll offers a different perspective to get the same benefits as documented in this great post. I love that we generally reached the same conclusions as to what is important.<p><pre><code> * WYSIWYG editor: Svekyll just builds from Markdown files (https:&#x2F;&#x2F;svekyll.com&#x2F;Markdown) * Customizable themes: Svekyll lets you configure DaisyUI themes in your _config.yml (e.g.: theme: dracula, https:&#x2F;&#x2F;svekyll.com&#x2F;Theme) * SEO out of the box: Svekyll has this too (https:&#x2F;&#x2F;svekyll.com&#x2F;SEO). * Runs forever: Svekyll compiles each post to a single independent HTML page (zero JS or CSS links, it is all inlined, https:&#x2F;&#x2F;extrastatic.dev&#x2F;svekyll&#x2F;svekyll-cli#technical-notes-on-svekyll-cli) * RSS Feed Support: add rss: true to the _config.yml and get RSS. And, you can even add RSS feeds for each tag. (https:&#x2F;&#x2F;extrastatic.dev&#x2F;svekyll&#x2F;svekyll-cli&#x2F;-&#x2F;merge_requests&#x2F;11, and see an example here: https:&#x2F;&#x2F;webiphany.com&#x2F;2023-10-16-building-webapps-for-the-amazon-kindle-paperwhite-browser) * Improved post creation: while not a feature of Svekyll itself, ExtraStatic (my hosting service) let&#x27;s you create posts as Markdown by sending an email. This is an example where building on a simple foundation like Markdown opens a ton of possibilities. * Analytics: Add matomo analytics to Svekyll in your _config.yml (https:&#x2F;&#x2F;svekyll.com&#x2F;Analytics). * Featured posts: stumped by this, but definitely a problem!</code></pre>
评论 #38600434 未加载
dreamcompiler超过 1 年前
&gt; SEO Optimized Out Of The Box<p>To me this is a bug, not a feature. Google is so broken now that I assume any website in their first page of results is likely worthless.
评论 #38599560 未加载
评论 #38599469 未加载
评论 #38599839 未加载
评论 #38599590 未加载
评论 #38599336 未加载
评论 #38599472 未加载
评论 #38600953 未加载
cryptos超过 1 年前
It looks like &quot;the better WordPress&quot; already exists: <a href="https:&#x2F;&#x2F;ghost.org&#x2F;vs&#x2F;wordpress&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;ghost.org&#x2F;vs&#x2F;wordpress&#x2F;</a> (at least the Ghost makers say so)
评论 #38603057 未加载
dep_b超过 1 年前
I just slapped something together with PHP includes and HTML exports from MD files. Slap the right header.php and footer.php to replace everything above and every below the body opening and closing tag and add the .php extension. Upload using an FTP program. Internet as the internet was intended. And PHP remains the best template language ever invented.
mvuijlst超过 1 年前
&gt; No lonely text box, nor a bloated Gutenberg editor in sight. Just a simple WYSIWYG (What You See Is What You Get) editor so you can write to your heart&#x27;s content<p>Have written daily for the last 20+ years. At this point I refuse to use any CMS that doesn&#x27;t have an editor that is not <i>at least</i> as good as Gutenberg.<p>What WYSIWYG editor do you use?<p>_Edit_: it&#x27;s Suneditor. Not my idea of a good editor, and I don&#x27;t really like the default font either -- see <a href="https:&#x2F;&#x2F;imgur.com&#x2F;TNT44Bp" rel="nofollow noreferrer">https:&#x2F;&#x2F;imgur.com&#x2F;TNT44Bp</a>
评论 #38601990 未加载
fredwu超过 1 年前
I don&#x27;t think blog platforms &quot;suck&quot;, but I do think there are QoL enhancements that can be made to them the experience better for both the writers and the readers.<p>I built <a href="https:&#x2F;&#x2F;persumi.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;persumi.com</a> for exactly this reason - to replace my own blog with a bit of QoL flare. Things like AI summaries, the optional social aspects (like&#x2F;follow, etc), and TTS to turn text articles into audio &#x2F; podcasts, etc, etc.
netol超过 1 年前
Can it be self-hosted? Is it open-source? Is the WYSIWYG editor custom-built, or does it use CKEditor or similar projects? What about media management? Is there a place for a simple CMS? E.g. developers usually prefer simple static site generators, such as Eleventy.
评论 #38599789 未加载
评论 #38601995 未加载
HermanMartinus超过 1 年前
This is very similar in concept to <a href="https:&#x2F;&#x2F;bearblog.dev" rel="nofollow noreferrer">https:&#x2F;&#x2F;bearblog.dev</a>
评论 #38602333 未加载
alabhyajindal超过 1 年前
This looks oddly similar to bearblog.dev Some of the planned features mentioned here like analytics are already available for bearblog.dev<p>Edit: fixed link
fmajid超过 1 年前
It apparently can&#x27;t sustain being featured on HN and is returning empty pages, can&#x27;t be much of a blogging platform.
pjc50超过 1 年前
Ironically, the site is now down (404).
sltkr超过 1 年前
The page has some weird horizontal scrolling going on.<p>I think it&#x27;s because the body style has both `width: 100%` and a nonzero margin. You should probably set margin and padding to zero on the body tag if you need width, or just remove the `width: 100%` (which I don&#x27;t think you need?)
评论 #38600026 未加载
rambambram超过 1 年前
Not wanting to piss on your RSS feed (I just subscribed and am willing to keep following it), but displaying your complete price list with images and all in the description of your feed (!) looks awful in my reader. One sentence to describe it is enough for me.
评论 #38603238 未加载
codemusings超过 1 年前
Relevant XKCD: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;927&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;xkcd.com&#x2F;927&#x2F;</a><p>Still more complicated than updating my .plan file via FTP.
评论 #38601236 未加载
评论 #38601263 未加载
gardenhedge超过 1 年前
Looks great. I also found blogging options to not be great. Analytics is a must have though
评论 #38599685 未加载
jay-barronville超过 1 年前
Honest feedback: I’m on mobile and the experience isn’t good.<p>Is that something that’s being addressed?
评论 #38599456 未加载
评论 #38602005 未加载
sebastianconcpt超过 1 年前
How does it aligns with being censorship proof and&#x2F;or prone to cancel culture?
chrismorgan超过 1 年前
Original article title: “Why I Created Banner Blog”. But I honestly don’t think it explains why. You establish the <i>problem</i>, but don’t remark on a couple of existing alternatives that might satisfy your requirements, and more importantly, you don’t explain why you’re making it a <i>platform</i>, rather than just something for yourself. Because honestly, if you want to blog, running a platform for everyone and their dog… well, that’s something completely different, and something which will take away from your blogging opportunities.<p>Current HN title: “Why Blogging Platforms Suck”. This would honestly be a <i>completely</i> different article, and one I’d generally agree with (which is why I will always insist on controlling my own site stack). Yet you appear determined to get into running a blogging platform, and I would be curious why.<p>Some more remarks:<p>• Well done on inlining the stylesheets. Having zero subresources has a <i>way</i> bigger effect on page load time than people tend to expect. (Want bonus marks? Strip unused styles from the sheet, and inline custom properties where possible (currently always)! You can save <i>hundreds</i> of bytes! <i>Hundreds</i>, I say!)<p>• You’re not compressing responses, but generally might as well; though thanks to TCP slow start stuff, it’s <i>unlikely</i> to make any meaningful difference at this scale. (You can get it down from just under 11KB to about 3.5KB.)<p>• The JSON-LD block is all wrong. It claims it’s a <a href="http:&#x2F;&#x2F;schema.org&#x2F;website" rel="nofollow noreferrer">http:&#x2F;&#x2F;schema.org&#x2F;website</a> (which I believe <i>must</i> be spelled <a href="http:&#x2F;&#x2F;schema.org&#x2F;WebSite" rel="nofollow noreferrer">http:&#x2F;&#x2F;schema.org&#x2F;WebSite</a> to be interpreted correctly; aside: uh oh, the JSON-LD spec uses lowercase schema.org slugs in examples, sigh) but it should be an Article, and then has a nonsense `about` field that puts the title as the @type. Which is something I’ve seen once before, on Bear Blog. Are your tech stacks similar and it’s the same library doing it, or did you copy it, or is it sheer coincidence that you did the same wrong thing? (Aside: I don’t really get why people bother with JSON-LD—does it actually help <i>anything</i>? In theory it’s neat, sure, but in practice does anything actually use it and wouldn’t use the traditional meta tags if it weren’t there?)<p>• `body { width: 100% }` needs removing. It means that the page always overflows horizontally. If you removed the default 8px margin, it’d merely become unnecessary rather than harmful. `body { min-height: 100vh }` is also not what you want, though the situations that expose the problems are likely to be rare; but the normal trick for getting what you’re going for (… if you even decide it’s worth it) involves setting a minimum height of 100% on html and body.<p>• &lt;link href=&quot;&#x2F;favicon.ico&quot; rel=&quot;shortcut icon&quot; type=&quot;image&#x2F;x-icon&quot;&gt;: type=&quot;image&#x2F;x-icon&quot; is superfluous since it’s the only icon, `shortcut ` is superfluous (that’s a matter of <i>ancient</i> history), … and in fact the entire tag is superfluous given it’s the only icon and the URL is &#x2F;favicon.ico.<p>• Your font size is significantly too large on large screens. It’s <i>extremely</i> too large on small screens. I recommend not exceeding 1.25rem (typically 20px) as a :root font-size, and sticking to 1rem (typically 16px) on smaller viewports.<p>• Please don’t use a base font-weight of 300. On some very common configurations (generally involving Windows and low-DPI screens), it can be fairly difficult to read. Body text should <i>always</i> use weight 400. (From this and the scrolling things, I’m getting the sense you use macOS.)<p>• `font-family: Roboto;` means that most of your viewers will get the default font, which defaults to a serif like Times. Honestly, I recommend sticking with it. Serifs are generally cooler. But if you actually care for what you specified, then make sure a generic family is included.
评论 #38600126 未加载
评论 #38600082 未加载
k__超过 1 年前
I get a 404 for that page and the domain in general.
ny711超过 1 年前
tbh I would prioritize analytics (it&#x27;s all executives care about atm)
pjc50超过 1 年前
So, earlier this year I was helping a friend fix their blog. A local news site, run by a middle-aged not very technical woman. She&#x27;d taken it over from the previous owners a few years ago, and every now and again things break. She&#x27;s paying over the odds for hosting, and the support people are .. adequate, but not really going to fix everything for her.<p>My two thoughts going into fixing it were:<p>- wow, this Wordpress install kind of sucks<p>- imagine how much worse it would suck if it <i>wasn&#x27;t</i> Wordpress<p>Because it&#x27;s Wordpress, Google will help me fix all the problems. Update all the plugins and themes; disable the obsolete or broken ones. Sort out the disk space issue. Tweak a few cache settings. And she&#x27;s back in business.<p>We (HN) can all build a blog engine. We all seem to have <i>different</i> ideas on how to build a blog engine. And that&#x27;s fine; we can all have our own little gardens and toy systems to play with. The rest of the world is more concerned with what the actual text of the blog is, if at all. Just as &quot;obsolete iPhone with cracked screen&quot; is the world&#x27;s most widespread phone by actual use, &quot;slightly broken wordpress&quot; is the world&#x27;s most popular blogging engine by a long way.<p>Meanwhile over the horizon, the question of whether any humans will read blogs at all in an AI content &#x2F; search engine world looms.
评论 #38600254 未加载
评论 #38601287 未加载
评论 #38601975 未加载
prepend超过 1 年前
That’s cool you made this site.<p>But I don’t think Wordpress sucks at all. It’s great in that it’s open source, runs everywhere, is easy to use, and super extensible.<p>I still recommend it to people who want to blog and it works out well. It’s especially nice as it doesn’t lock you into a saas like wix or square space or lots of other $10+&#x2F;month services.<p>Personally, I just like markdown and jekyll as it’s easy enough but git is a bit too much for normies while Wordpress works fine.
评论 #38601629 未加载
评论 #38601936 未加载
评论 #38601576 未加载
评论 #38601978 未加载
indymike超过 1 年前
First, hats off for making banner blog.<p>I&#x27;ve made three blogging platforms for clients (one old one based on Zope, one based on Django and a static blog generator written in Go). Each time I&#x27;ve built one I&#x27;m always reminded of the depth of the rabbit hole, and each blogging platform was built because WordPress was bad at a certain thing, and the customer felt strongly that a plug in wasn&#x27;t the answer (the first one, WP was young, the second wanted integration and workflow for their publishing business, and the last one was about generating a static blog site for performance).<p>1. The web really needs better tooling built into the browser for handling HTML input. I shouldn&#x27;t need a giant ball of JavaScript to have a WYSYWIG HTML editor. It seems that there has always been a need to for editing stylized text, and right now there&#x27;s not really a standard way to do it. There should be.<p>2. There&#x27;s a lot more to a good blog site than just content. Navigation, categories, tags, search all are important for different bloggers. What&#x27;s a podcast? A blog with video in the feed. What about ways to pay the blogger? Oh, then there&#x27;s SEO, then there is internationalization, then there&#x27;s accessibility, then there&#x27;s syndication out and syndication in. All of it matters to some users and not at all to other users. The rabbit hole is infinitely deep.<p>3. On the web, output is so easy. Input is a lot more difficult for non-developers. Bringing a blogging platform&#x27;s writing tools to parity with a 35 year old budget word processor (think Works, not Word) is a pretty expensive proposition. It&#x27;s remarkable to me how much more capability an old Word Processor has than what we give bloggers.<p>So, what about WordPress? Well, it is proof that good enough wins, and if you pile enough browser plugins with enough WordPress extensions, it works better than most other ways of doing it.
评论 #38602021 未加载
Brajeshwar超过 1 年前
I have seen, used, and have built themes for quite a lot of blogging platforms. I also started all the way from Blogspot, to MovableType, to WordPress to the simplest one (current) written in Markdown with an idea to even further simplify it.<p>Here is a personal promotional plug for an upcoming idea that a friend and I are working on. Right now, we are reaching out only to my connections, founder cohorts, and people I know. We plan to start release to the public by 2024-Q1.<p><a href="https:&#x2F;&#x2F;lxidd.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;lxidd.com</a><p>Blogging or content creation is very segmented and has to start from a niche and stay within a few categories. For instance, a whole set of people primarily aims to create ephemeral content, e.g., the marketing department. They do not care if the content lasts nor is in Markdown or how bloated the underlying HTML&#x2F;JavaScript&#x2F;CSS is. There is money to be made there, but on the opposite side of the other who want to squeeze the best out for performance, longevity, simplicity, durability, open formats, etc. It will be really hard to satisfy those two -- you will end up being neither.<p>We are creating a toolset for early founders and people who want to start. We are doing an export-friendly with the most straightforward format possible as the priority. We hope the startups, projects, etc., succeed and move on from us to their dedicated host and the other players.<p>We came to this conclusion after talking to many non-technical people on the fence who wanted to try while still at their jobs. Our first feature is a template-powered website or an identity formation place (a URL) where one starts by typing out the content akin to how iA Presenter[1] works.<p>1. <a href="https:&#x2F;&#x2F;ia.net&#x2F;presenter" rel="nofollow noreferrer">https:&#x2F;&#x2F;ia.net&#x2F;presenter</a>
评论 #38602027 未加载
renegat0x0超过 1 年前
Oh and I was hoping for something to selfhost &#x2F; open source :(
评论 #38599840 未加载
评论 #38602034 未加载