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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Selfhosted tech starter pack for development of new project or startup

140 点作者 frizzy大约 3 年前

16 条评论

dolni大约 3 年前
This looks cool as a learning experience and all, but...<p>Self-hosting all your own stuff has to be the worst thing you can do as a new startup. You need to be focused on impactful work, not dealing with critical security updates to your Mattermost install. And definitely not worrying about figuring out how to properly HA databases and your self-hosted S3.<p>Just use managed services.
评论 #30871842 未加载
评论 #30871776 未加载
评论 #30873122 未加载
评论 #30875172 未加载
评论 #30871621 未加载
paxys大约 3 年前
From the second line in the README:<p>&gt; Warning: This setup doesn&#x27;t provide high level of security or any high availability. You have to hire some skilled devops engineer (like me)) for close this gap after getting first round or sales.<p>And this is <i>exactly</i> why managed SaaS is popular. Pulling a repo of a popular open source project and deploying it to your server seems trivial, and you wonder why there are idiots out there paying through their nose for subscriptions. Then you realize your service has to be up 100% of the time, has to scale to more than a handful of users, you have to perform regular backups (and ensure they actually work), all user access has to be audited, you have to offer IT support to all your employees. Very soon your full time job at the company isn&#x27;t building products for customers but managing an internal chat server. And then the couple hundred bucks a month other companies pay to Slack and Google start to make sense.
评论 #30872278 未加载
评论 #30876131 未加载
axg11大约 3 年前
If anyone hacking away or at the very earliest stages of a startup is reading this - run away. I&#x27;m sure this was a great learning process for the creator. However, as a new startup you should be aiming to take as many shortcuts as possible. Use every hosted or managed service that makes sense for you. Use anything that saves you time. Your job as the &quot;technologist&quot; is to deliver value (in the form of software) in the shortest time possible. Every hour you spend on distractions such as self-hosting is a self-own.
评论 #30872232 未加载
评论 #30871794 未加载
hatware大约 3 年前
I live in the United States, and it&#x27;s kind of shocking to see such privileged responses to what is ultimately a useful starting stack.<p>Imagine a young engineer in Bogota, or Ukraine if you want to get topical. They may barely have the hardware to accomplish anything compute wise... and your answer is &quot;Use AWS!&quot; Access to the cloud is privilege to the highest degree. You used to need academic credentials to use someone else&#x27;s computer.<p>I get the idea of not wasting time, but as somebody who has used self-hosting as nothing but a waste of time that teaches me something, I can&#x27;t believe so few see the value in a self-hosted starter pack.<p>Great architecture, OP. I challenge you to simplify the process even more... A lot of manual steps here that should be abstracted with intuitive global configuration, IMO.
评论 #30871997 未加载
评论 #30872513 未加载
onion2k大约 3 年前
<i>This setup doesn&#x27;t provide high level of security or any high availability.</i><p>After actually making your product these are probably the two most important factors for most SaaS startups. If you screw up availability you can&#x27;t get customers - your site will fall over every time you push any marketing. If you screw up security you can&#x27;t keep customers - you&#x27;ll fail any kind of due diligence or you&#x27;ll burn your reputation. Using third party services that do the hard parts for you is very, very sensible.<p>There&#x27;s nothing wrong with a boilerplate starter kit if you understand the hard parts and just want to go faster. There&#x27;s nothing wrong with using starter kit for a prototype. But if you actually want to build your app, and you think you need this, you should lean towards using something that manages this sort of thing for you instead.
nonameiguess大约 3 年前
I think the early responses are a bit disheartening. There is a lot of value in &quot;ancillary services in a box&quot; for any project that has no choice but to self-host. This may not include a typical commercial startup, but it includes a lot of projects. It&#x27;s especially big in defense. But, of course, the DoD already has its own version of this: <a href="https:&#x2F;&#x2F;repo1.dso.mil&#x2F;platform-one&#x2F;big-bang" rel="nofollow">https:&#x2F;&#x2F;repo1.dso.mil&#x2F;platform-one&#x2F;big-bang</a>, including a managed version run by part of the Air Force if you don&#x27;t need to roll your own but still have security requirements not met by commercial cloud providers.
jjslocum3大约 3 年前
Overall, I think this idea is a great one, though the stack still needs some development&#x2F;improvement. To second hatware&#x27;s challenge, if you can come up with a (mostly) turn-key solution, one that would be as cheap &amp; time-thrifty as hosting on cloud service starter tiers, you could own this segment and lure the new startup demo away from the cloud providers.<p>Many people seem to forget that there are no free lunches... anyone who has ever wrestled with the learning curve of a necessarily proprietary no-code solution knows that you don&#x27;t usually save time or money by outsourcing your platform, and that by outsourcing, you can easily become indentured to a restrictive black-box environment you don&#x27;t control.<p>If you&#x27;re not dealing with critical security updates to your Mattermost install, you <i>will</i> be dealing with something equally time-consuming and fundamental, like managing CloudFormation templates or trying to get divs to nest correctly in a WebFlow one-pager.<p>If your startup doesn&#x27;t have the in-house knowledge&#x2F;intelligence to be able to run a stack like the OP&#x27;s, you might ask yourself how you plan to create a successful software company without any in-house software competency.
ThalesX大约 3 年前
Great job! I think this list is nice in that it’s both a list of tools (I found some interesting ones I had no idea about) but also a dev stack that I can deploy.<p>I don’t identify with a lot of commenters as my company does a lot of experimental work so I’d rather not pay the cloud tax, both in money and in lock-in.<p>I launched a product in the European space that has since fizzled but people loved the lack of cookie banners and the fact that their data was in a silo. I think your stack helps in this regard.<p>Awesome!
jll29大约 3 年前
I had a similar idea (but did not realize it as I was focusing on something else at the time), and thought it would be great if a company could create a template for everything a startup needs, so thanks for making a start.<p>In practice, there are differences in preferences and jurisdiction that require such a solution to be quite flexible (e.g. auto-registering a domain, doing accounting, filing taxes in different countries, running payroll), but some things everyone needs (landing page, website with intranet access to secure shared collab: GitLab, CryptPad, Email etc). It is a bad idea to self-host something that isn&#x27;t mature; but if there was a relatively bullet proof solution, many startups could save cost and increase their run rate this way.
cloudsec9大约 3 年前
I have to respectfully disagree with many in the comments here. Most people seem to feel that any new project or startup needs to focus on revenue maximization, where, like most things in IT, I think the right answer is &quot;it depends&quot;.<p>If it&#x27;s a learning project, or a part-time or hobby project, or if the people starting don&#x27;t have a lot of money, then using a lot of self-hosted stuff will be an attractive alternative. There are lots of cases where with an ample amount of money or cash flow I&#x27;d agree with paying for SaaS or whatnot, but I don&#x27;t think it&#x27;s a good universal answer.
unixbane大约 3 年前
Off topic but I wonder how many &quot;self hosting&quot; efforts have been halted in the last 40 years when the unsuspecting developer tried to use API to create a socket and was met with all kinds of weird AF_ PF_ terminology and possibly some pointless type casts.
the_common_man大约 3 年前
Very nice. How is your experience with docker swarm?
评论 #30872353 未加载
adlpz大约 3 年前
Question: Would this work on an ARM server? Or are the associated container images x86-only?
评论 #30871957 未加载
kkfx大约 3 年前
A simple reflection: why?<p>Why some think that today tech is good tech and &quot;self-hosting&quot; it is a way to be free? Web tech have some reasonably good foundations but that&#x27;s all, the rest is a colorful, animated bloatload mess. Modern web is needed not by us Citizens but by IT giants to rule the tech and indirectly the society, since information and communication are core elements of a society to exists.<p>Do we need Webmails? NO. We do need mails though, locally indexed with GMail-like powerful search (and we have them, see notmuch&#x2F;mu maildir indexers based on solr), we need a modern MUA, that&#x27;s for sure but why tie it to a modern WebVM a monster so big that only few giants can keep one up and no one can really know it even if FLOSS just for mere codebase size? We need mails on many devices, but that does not demand a central point.<p>We need notes, documents etc but definitively not a copy of Google Drive suite.<p>What we need are <i>classic desktops</i> a bit updated for modern users. Those really classic ones like Xerox Office System or more modern LispM and Plan 9 are <i>far more advanced</i> in tech terms than actual OSes and web-stuff. We miss the hw layer and they need a bit of changes for modern world but we can study them and we can run in that direction, a so powerful direction that no IT giants can compete.<p>Did you remember Popcorn Time? Why we need Youtube or Peertube when we can have a distributed app that&#x27;s far superior by nature? Do you remember usenet? Yes, it base is old and crappy but it&#x27;s a decentralized free place we desperately need and even if their base are crappy even today it&#x27;s popular again for mostly illegal stuff (see Sonarr, Radarr, Lidarr etc) to a point that for some is superior to bittorrent. I can keep going for long. It&#x27;s sure that creating for instance Retroshare or Jami seems not much useful because until enough users adopt it there is essentially nothing to share, no one to talk to etc, but that&#x27;s the way in all cases.<p>We can&#x27;t build a self-hosted better-them-{Zoom,Meet,Teams}, we can build a far superior local app connected to a decentralized network though, and while giants can easily fight back or buy with big money something web-based they can&#x27;t really do nothing with such application.<p>It&#x27;s not easy: modern GUI libraries are almost abandonware, some are active but definitively derailed, desktops is in a deeply sorry state etc BUT we still have some good environments with a good language portable enough, there it common lisp, go, python, ... with their ecosystem. They all have issues BUT issues that can be compensated by a new FLOSS community to a point of re-creating the old classic: the desktop have an OS, a single application, fully integrated, with a relevant programming language where anything is at users hands. For those who never used classic system or modern Emacs it&#x27;s really hard to understand why that&#x27;s extremely superior but just try to invest seriously in Emacs and you&#x27;ll discover why that &quot;alien and strange&quot; way it&#x27;s the way to go and the modern way is actually a crappy absurd idea.<p>Long story short: we can&#x27;t compete with giants creating personal web ecosystems, we can compete on desktops, and that&#x27;s why all giants do their best, and fail to completely succeed, pushing desktops to the oblivion. No one can win a stronger, resourceful enemy at it&#x27;s own game, to win a different strategy, not a copycat, is mandatory.
评论 #30884217 未加载
ultra_nick大约 3 年前
Are there any managed services with hard cost limits?<p>We&#x27;re running or app on linode VPSs.
评论 #30871994 未加载
asah大约 3 年前
consider Zulip for self-hosted chat ? great experience...
评论 #30871968 未加载