-
-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Stormkit #1463
Comments
Hi @svedova I'll try the Stormkit later, but what runtime can the Hono app run on? Node.js? If the answer is "Node.js", we can just use the |
Hey @yusukebe 👋 Thanks for your reply 🙏 Stormkit currently runs on Node.js but we're adding support for Bun as well. I'm working on it as we speak. We have a free-trial period but if you need a longer access to test it please let me know (either through Twitter or mail -- this information is accessible through my profile), I can give you longer access 👍 |
This would be a great addition 🙂 |
Even if it supports Bun, we can just use the If we need runtime or platform-specific entry points, we can create templates for them, but for a typical project, there is no need to provide them. |
@yusukebe just to understand this better, if a user uses bun and wants to host on Stormkit, which template do they select? |
In that case, |
I'll try this and let you know how it goes 👍 Thanks for your help. |
@yusukebe do you have an official starter template for hono? Something like https://github.com/stormkit-dev/sample-project. |
Does that mean putting it somewhere in a repository managed by Hono? We cannot do that because it would be the same as a typical Node.js or Bun template. |
@yusukebe I think what @svedova is trying to say is it possible to have option for Stormkit like you have with Vercel, Netlify and Cloudflare that allows users to generate code that aligns with Stormkit's functions API interface. I belive it will be just like another adapter. // api/index.ts
import http from "http";
export default (req: http.IncomingMessage, res: http.ServerResponse) => {
res.write("Function endpoint: /api");
res.end();
}; Stormkit is using AWS Lambda. They don't have long running process like Nodejs |
Thanks for the explanation. I did not know about the functions. Certainly, in that case, we should make an adapter. However, I'm really curious because not many people are using Stormkit yet. Making an adapter and a starter kit means that it takes more manpower to maintain them. You may say you will do it yourselves, but it is mainly I who will actually do it. So we have to carefully decide whether to create the adaptor and include the starter kit in the official project, and considering this, I don't think it is worth including it now. If you want to have an adapter or a starter kit, I think the first thing you should do is to make it yourself and publish it in your own project. |
What is the feature you are proposing?
Hi 🙌🏻
Founder of Stormkit here.
We are a platform as a service for Javascript applications. We support serverless functions and static websites.
Recently, I was playing with Hono and when I run
npm create hono@latest my-app
I receive the following options:Would it be possible to include Stormkit here? Our cloud platform runs on AWS Lambdas.
The text was updated successfully, but these errors were encountered: