Comments (3)
Just a quick update, I made an internal fork of Bankai for the Hypha project and implemented https-server as well as some simplifications (I don’t need SSR-rendering of Choo apps, for example).
Here’s the source, in case it helps:
https://source.ind.ie/hypha/tools/web-compiler
Also, I added an example to the readme with the initial Hypha project scaffolding code so you can see how I’m using it.
Thank you all for Bankai and Choo – they’re amazing. Being able to have HTTPS routes, WebSocket routes, and static routes co-exist with live reload at development time rocks (using SSE was a masterstroke) ;) As is the auto Service Worker support.
❤️ 🎈
from bankai.
this looks rad! there is potentially a licensing problem because bankai is MIT, and afaik that doesn't let us use AGPL software.
are there any side effects to running this? for example, if someone tries out bankai and decides it doesn't fit their use case, will they have a certificate authority thing stored somewhere forever? if so, it might be best to integrate it as a command you can run (eg bankai cert
), and log a message telling you about that command in bankai start
.
from bankai.
Thanks :)
Re: the license, yes, you’re right: you cannot use AGPL/GPL in an MIT project but you can do it the other way around. Just out of curiosity, was there a specific reason for the MIT licensing decision? (Given that Bankai/Choo appear to be for individuals and not for corporate use and if the latter uses them it would be good to force them to give back, it might make sense to license it under AGPL.)
Re: side-effects. Yes, the certificates and the root certificate store would remain. This is definitely something the person should be made aware of but it also means that any other dev server can use them in the future (e.g., if you’re using https-server directly).
from bankai.
Related Issues (20)
- Bankai's forced TLS makes developing for Beaker Browser difficult HOT 3
- Question: Deployment On AWS HOT 4
- Feature request: generate csp headers for inlined scripts and style
- Using a proxy in front of Bankai fails due to too many 301 redirects
- Production build served from a subfolder HOT 1
- Server Side Rendering Skipped due to error: window is not defined HOT 4
- bundle.js & bundle.css are in hashed folders
- bankai.documents doesn't actually take an options parameter HOT 1
- 🔦 Static exports? HOT 1
- Test #163 failing (on Ubuntu 18.10, Node v10.14.2) HOT 3
- 🙋Use Custom HTML Body for Server Side Rendering for non-Choo apps
- problem bundling hypercore: 'require is not defined' HOT 4
- Babel 7 support HOT 2
- Error: choo.mount: could not query selector HOT 1
- 🐛 `.documents`: Documented API missing HOT 1
- experimental prefetch help
- SSL key too small, project doesn't start HOT 6
- nanohtml transform is not applied to code transpiled from Typescript with esModuleInterop
- import scss files
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 bankai.