denofn / denofn-selfhosted Goto Github PK
View Code? Open in Web Editor NEWSelf-hosted "Functions" service in Deno
License: MIT License
Self-hosted "Functions" service in Deno
License: MIT License
Might be best to use CRA / nodejs for development for this. Serving will still happen in Deno land.
registry
, exported in mod.ts
, imported as endpoints in execution
execution
At least the following names should be reserved for usage within Execution
:
api
static
Move crappy built-in logging to std's logger, would be nice to still have [Registry] and [Execution] prefixes but it's a nice to have.
Ditch the crap formatting, it looks fine in Papertrail
Routing should be more strict in resolving URLS
Not sure if this is applicable to templates
, but since micro
is highly likely to be subject to change, it's more interesting to create a shim instead of having to copy the new module after every change.
prettier and code editors shouldn't be loaded in immediately, and neither should the same resource be loaded in every time.
Thus the solution is two fold:
Add a Readme for packages/micro and improve documentation
Visibility of functions will still be ALL, but more people can manage the functions.
Make usr
a csv store and add endpoint in API / mgmt in UI
Might be best to cherrypick implementations of routers and gradually introduce them to the application.
#23 has shown that small - but breaking - changes can halt the process incredibly (instead of patching things myself I'm now dependent on others) and this might not break something that quick but it's still nice to safely reside on the current version of Deno.
Something like lerna version
but for Deno would be nice. But I see it the following way:
register files that indicate denoFn versions (execution/deps.ts
, registry/deps.ts
, templates/bundle.ts
)
bump these files
no longer needing, not pinning to a specific CDN anymore.
simple git wrapper that commits release version + tag and pushes all to origin no that much work to do manually for now. Skipping
Pretty sure this will scale better once moving to a swarm or load balanced instances.
References to jeroenptrs/denoFn should become denofn/denofn-selfhosted
These files need testing:
handleProxy.ts
obsolete with new libraryindex.ts
split attachHandlers
in separate file to make testable, the rest doesn't need any testsregisterScriptHandler.ts
(do this in #20)spawn.ts
index.ts
split checkRegistry
into sizable chunks [done in #12]Edit registry and execution dockerfiles to pull deno-alpine from github registry
It's a mess right now, I'm already adding several todo's as issues instead of in the Readme.
I prefer keeping it as .md files in a docs folder, but I'm partial to something like Docusaurus as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.