Comments (6)
Glad you're unblocked. I'll close this for now, but let me know if you have any further issues
from partykit.
Sure, that sounds reasonable. PR's up #767
Can you tell me what your usecase is though? I'm curious.
from partykit.
THANKS!!
For use case: We sometimes have the product deployed in test environments where a VM can be accessed via IP/port, but doesn't have a SSL certificate yet so secure protocols won't work.
This is for our agents product (when deployed in docker): https://defog.ai/blog/agents/
from partykit.
Ah, so this is for when you use it with a non-partykit backend? Fascinating. We have some special handling for websocket messages > 1mb, so it maaay not work in that scenario, but if your messages are below that then it should be fine.
Released in [email protected]
. Please test it and let me know if it works as expected!
from partykit.
You can create staging environments with PartyKit btw, eg: npx partykit deploy --name abc --preview xyz
will deploy it to xyz.abc.user.partykit.dev
More info here: https://docs.partykit.io/guides/preview-environments/
from partykit.
Yeahhh, but my problem with deploy is that I have load
and callback
handlers in my onConnect
, which read/write from/to a local docker-db 😅
Re 1mb: That should be fine for a while. We only use Yjs for html serialisation, without any content for the meatier bits (just attr/id tags).
Loading of the actual content happens later via a separate backend server using those attrs/ids.
from partykit.
Related Issues (20)
- autogenerate types based on partykit.json
- rewrite ai/vectorize local dev experience with service bindings
- Wrong protocol on local server? HOT 5
- Segmentation fault when running local dev HOT 15
- failed to import "y-partykit/react" |- ReferenceError: WebSocket is not defined HOT 9
- HMR in react when developing causes client disconnects
- use `party.io` on a non-main party
- Sanitise Party `name` on partykit init HOT 1
- `usePartySocket`/`useYProvider` should default to `host: window.location.host` HOT 1
- `socket.updateProperties()` overrides `party` HOT 1
- Bun not working HOT 3
- bug: deploy - windows compatibility issue for wasm files HOT 2
- use npm: specifiers in partykit.json for main/parties
- Fine-grained Permissions possible? HOT 1
- Y.js V2 Update Format HOT 4
- PartySocket.fetch -- docs and host param
- This expression is not constructable HOT 1
- Make Party.Room constructor public HOT 2
- PartyKit Quickstart fails to open on macOS HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from partykit.