bunsvr / app

Build high-performance and scalable web apps
43 stars 2 forks source link

Why is this project scrapped? #3

Closed dev-cyprium closed 3 months ago

NerfedJabolo commented 4 months ago

That would mostly be me. I was supposed to make a website for the project but delayed it so much due to issues in my life that the owner lost interest in developing the framework. Additionally, he has been working on wint and byte (a new project). Dw, it is not scrapped or an afterthought. It will receive updates... soon.

Nevermind. It is scrapped. Reasons are still the same.

btakita commented 4 months ago

@NerfedJabolo Could you link to the wint and byte projects?

edit:

https://github.com/bit-js/byte https://github.com/aquapi/wint

dev-cyprium commented 3 months ago

Alright, I just thought it's an interesting project, with really good SEO, as I hit this page when searching for "Bun express alternative" and I actually started implementing it, only to realize It's been scraped. Issues in life are are totally understandable and I didn't mean to pry, I just wanted to let you know that the project had/has great potential, and if there's interest / you need some help I can try and contribute some.

IF Byte aims to replace this project, I kindly suggest that you redirect traffic to to it, as this I think it's a really good idea, and it's running very fast! Like I said, I wanted to try this library in one of my new projects.

dev-cyprium commented 3 months ago

Also, you should note that the bun site officially recommends you in their docs, so like I said, the project has a lot of potential, it just relies on Bun receiving some more hype, so given all of that, I suggest that we form a community and try to develop this project further, as I'd love to contribute, and I'm sure we're not alone in that

https://bun.sh/guides/ecosystem/stric

NerfedJabolo commented 3 months ago

We are well aware of us being recommended. We just don't see a future with the project and that is final. You can think of wint and byte as a sort of v2.0 with differences for stric.

kumikumi commented 3 months ago

My journey today: I started reading Bun docs on how to host a web server. Bun.serve is nice but is a little basic, I could use a router. Then I came across this page on the Bun website that recommends this project: https://bun.sh/guides/ecosystem/stric

It looks promising. It links to this nice website that does a great job at further selling this stuff to me: https://stricjs.netlify.app/

I spend some time reading the docs, then after that I click on the "View source" button, it takes me to the Github: https://github.com/bunsvr

Again, lots of promising stuff there.

Then I go to "examples" repo, and I see "chat" from 2 months ago. Excellent, just what I need as a base. I pull the repo, update the dependencies, start looking at it.

Looks like we have this init code:

init({
    // Enable WebSocket
    ws: true,
    // All routes are located in src
    routes: ['src']
});

But "ws: true" doesn't seem to be recognized. Weird. Start looking around the documentation. No mention of it or websockets that I can find.

Finally, go to Github issues. The one on top says "Why is this project scrapped?". This is the first mention I see about the project being scrapped during my time spent looking at this project.

.....

Is this the intended developer experience?

dev-cyprium commented 3 months ago

The project is scraped, the decision looks final, the OP suggested that they have other stuff working on, I'm making a Bun PR to improve the docs, as this project has a clear intention. Thanks for replying!

jhohlfeld commented 1 month ago

Just to add for those coming across this issue on the look for a simple http routing option with bun, I am using hono for this:

import { Hono } from "hono";

const app = new Hono()
  .get("/hello", (c) => c.text('world'));

const server = Bun.serve({
  fetch: app.fetch,
});