| ▲ | kentonv 3 days ago | |
Dynamic Workers don't have a built-in filesystem, but you can give them access to one. What you would do is give the Worker a TypeScript RPC interface that lets it read the files -- which you implement in your own Worker. To give it fast access, you might consider using a Durable Object. Download the data into the Durable Object's local SQLite database, then create an RPC interface to that, and pass it off to the Dynamic Worker running on the same machine. See also this experimental package from Sunil that's exploring what the Dynamic Worker equivalent of a shell and a filesystem might be: | ||