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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Self-hosting forms, the sane way

127 点作者 xz18r大约 1 年前

17 条评论

jauntywundrkind大约 1 年前
I&#x27;ll dare to say I like it!<p>N8n seems to have a pretty fine gui for configuring little pipelines, sort of alike node-red. If the author wanted to embellish &amp; enhance what they have there&#x27;s a variety of other connectors &amp; processors they could easily snap into place. It&#x27;s easy to glance at a pipeline and see what the general shape is. This high level world feels much more normative &amp; clear than scratching together &quot;simple&quot; php scripts.<p>Ditto for sending data into nocodb. An Airtable spreadsheet&#x2F;database like system, with a good gui, with form submissions being fed into a spreadsheet: it&#x27;s again nicely high level. It integrates with other documents or reports, if you want. It&#x27;s easy to access from the web. It&#x27;s a very slick very user friendly solution that still brings a ton of power. Another huge win for a high level system.<p>I too had an initial WTF reaction, are you serious reaction. But it wasn&#x27;t that hard to find some empathy when I tried. I didn&#x27;t have to work that hard to appreciate what the post is going for, to envision what the actual usage&#x2F;configuration looked like, and to see there is a pretty neat high level set of guis here that are used to program a very flexible small little pipeline. And I can see how each piece is extremely malleable by end users. That freedom to rework &amp; reshape this system freely is really neat.<p>There may be good tailor made solutions that we can agree to dub as &quot;simpler&quot; for form handling, but the composability &amp; flexibility of this end-user driven solution is super neat &amp; super compelling to me. These tools are extremely generic &amp; could be used for all manners of tasks, and that is enormously compelling, to good general systems that we can use to tackle all manners of tasks. This is a cool pick of tools to bring together.
评论 #40180903 未加载
thehias大约 1 年前
This is supposed to be the sane way? Certainly not! You guys know that you can use &quot;mailto:&quot; as form action, yes? No backend stuff needed.
评论 #40180202 未加载
评论 #40181512 未加载
评论 #40180112 未加载
评论 #40181608 未加载
评论 #40180922 未加载
评论 #40182097 未加载
评论 #40180002 未加载
评论 #40181597 未加载
评论 #40184332 未加载
评论 #40182727 未加载
评论 #40180108 未加载
评论 #40181299 未加载
评论 #40180173 未加载
vidyesh大约 1 年前
Much simpler solutions exist like <a href="https:&#x2F;&#x2F;formsubmit.co&#x2F;" rel="nofollow">https:&#x2F;&#x2F;formsubmit.co&#x2F;</a><p>And for others who use the static hosts&#x27; free tiers for hobby projects, Cloudflare provides form submissions to your static pages, netliffy forms is quite generous too <a href="https:&#x2F;&#x2F;www.netlify.com&#x2F;platform&#x2F;core&#x2F;forms&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.netlify.com&#x2F;platform&#x2F;core&#x2F;forms&#x2F;</a>
评论 #40180852 未加载
评论 #40182982 未加载
bgdam大约 1 年前
&gt; that was secure and wouldn’t give me a headache, so number 3 was off as well.<p>Is having a backend controller that securely writes to a DB when a url is posted to that difficult in PHP, that this &#x27;sane&#x27; way is preferred? Isn&#x27;t it the most basic of CRUD setups?<p>I can understand doing this because n8n has a quick way to send emails (at least that&#x27;s what I assume based on this article), but I really don&#x27;t understand how this over engineered solution is supposed to be the sane way.
评论 #40181707 未加载
ulrischa大约 1 年前
This is so overengineered. Just a simple web hosting and php script will do it
评论 #40179861 未加载
Doohickey-d大约 1 年前
If you want your forms submissions in a spreadsheet, it&#x27;s also possible using only Google Apps Script: <a href="https:&#x2F;&#x2F;github.com&#x2F;levinunnink&#x2F;html-form-to-google-sheet">https:&#x2F;&#x2F;github.com&#x2F;levinunnink&#x2F;html-form-to-google-sheet</a>
lol768大约 1 年前
How does validation work with the approach that the author advocates for?<p>Is this something &quot;n8n&quot; does? I&#x27;ve gone to learn more about it, and it describes itself as an &quot;AI-native workflow automation&quot; tool. What the f** is that meant to actually mean?
progx大约 1 年前
Or just use PHP and done.
评论 #40181915 未加载
pembrook大约 1 年前
It seems like an extremely convoluted way to receive what will pretty much exclusively be automated spam submissions since I’m not seeing any protection methods mentioned.<p>Attacks on any form on the open web have gotten absurdly bad in recent years — hope the author is using something like Cloudflare + captcha.
dearroy大约 1 年前
I understand your concern, but what about an open-source form builder that gives you control over what’s on your site?<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39895960">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39895960</a>
themgt大约 1 年前
<i>On one of my sites, I needed to install a form with file upload capability.</i><p>Soo ... the file upload is happening via JSON webhook? Seems like this was defined as the scope and then file upload was just never mentioned again.
CPLX大约 1 年前
For those that actually want a SaaS type tool for this and don’t want to use Jotform, which is utterly horrible, I recommend Fillout, which has been a joy to use and is seamlessly integrated with a bunch of services like AirTable and Dropbox and so on.<p>Even if you do want to eventually build your own it’s ridiculously fast as a prototyping tool, can pre-fetch data and use conditional logic and accept URL parameters and all that out of the box.
jpm_sd大约 1 年前
Makes me miss the bad old days of Perl scripts and cgi-bin directories... It was, at least, simple.
pentagrama大约 1 年前
A fully self hosted solution that for me is good enough and more easy is a WordPress site with the plugin WPforms (free version). No third party services used.<p>Update: not sure if the WPforms free version supports file uploads as the OP needs.
评论 #40188005 未加载
Takennickname大约 1 年前
Is there really no good open source form backend? That doesn&#x27;t sound right.
评论 #40180043 未加载
评论 #40187025 未加载
47282847大约 1 年前
I use <a href="https:&#x2F;&#x2F;www.formtools.org" rel="nofollow">https:&#x2F;&#x2F;www.formtools.org</a> (php) but I wish there were more self-hosted options.
评论 #40180307 未加载
devmor大约 1 年前
Jesus, I can&#x27;t believe I&#x27;m saying this in 2024 but just use a php script and an sqlite file.