Skip to content
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

PartyKit integration #181

Open
RihanArfan opened this issue Jun 20, 2024 · 2 comments
Open

PartyKit integration #181

RihanArfan opened this issue Jun 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@RihanArfan
Copy link
Contributor

PartyKit is a library for making real-time applications with websockets easily and it builds on top of Durable Objects. It already has a file-system based routing (and is easy to use with Nuxt).

As PartyKit got bought out by Cloudflare, @threepointone now works there. It's 100% free besides Workers usage/plan now (although some docs not updated to reflect that).

While it's easy to integrate PartyKit with Nuxt manually, it'd be amazing if it's supported first-hand to automatically deploy it via NuxtHub automatically.

With v4 directory structure, I imagine this looking like:

app/
server/
  - parties/
    - index.ts

Related but not the same as #50

Copy link
Contributor

atinux commented Jun 24, 2024

I love this idea and I have been talking also to @threepointone and I know he is working on something new for it.

I think we could have directly a partykit directory and when deploying, if this directory exists, we deploy it under the hood.

@atinux atinux added the enhancement New feature or request label Jul 30, 2024
@RihanArfan
Copy link
Contributor Author

When crossws is in Nitro and DO are supported in NuxtHub, it'll be very similar to PartyKit and all directly within NuxtHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants