small-tech / domain Goto Github PK
View Code? Open in Web Editor NEW[Moved to Codeberg] Domain enables people to seamlessly get started with their own place on the Small Web in under a minute.
License: Other
[Moved to Codeberg] Domain enables people to seamlessly get started with their own place on the Small Web in under a minute.
License: Other
While the initial validation status of a tab is unknown, display a spinner to differentiate it from when it is invalid.
With main branch NodeKit on a new machine, when hitting https://localhost
:
TypeError: Cannot read properties of undefined (reading 'payment')
at Object.node_script_default [as nodeScriptHandler] (vm:module(0):5:29)
at Object.handler [as _handler] (file:///var/home/aral/Projects/nodekit-main/index.js:525:35)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object. (file:///var/home/aral/Projects/nodekit-main/index.js:428:16)
at async Array. (file:///var/home/aral/Projects/nodekit-main/node_modules/tinyws/dist/index.js:1:352)
The place setup process includes the creation of key material from the person’s Diceware passphrase. This takes place on the client and isn’t immediate so we should add a progress indicator for it, as a step in the setup process modal.
The Site customisation tab would enable Small Web Hosts to create a custom header/footer as well as terms and conditions and privacy policy for their sites.
On further thought, I don’t think this is a good idea:
The terms and conditions is where we can declare the guidelines for what is acceptable and what is not (e.g., hate speech, etc.) and is an important instrument in ensuring that Basil is not used to host fascist communities, etc. Of course, they can fork the software and customise it but there’s no reason to make it easy for them. Also, if baked in, this is a document that can evolve and, if necessary, have conditionals attached (e.g., based on jurisdiction … for example, German organisations will need an impressum, etc.)
Similarly, the Privacy Policy should be based on what Basil does and does not need to be modified. It will be automatically generated based on the service providers set up in the administration panel.
The design of the index page will be iconic of the Small Web – signifying its devotion to radical simplicity. As such, allowing it to be customised is not desirable. We don’t want to create MySpace 2.0.
It’s better to start out rigid with this and, if there are valid requests from the Small Web Host community (if, one day, we have a Small Web Host community, that is), we can add conditions, etc., based on real-world needs.
The domain used for a Small Web Host must be on the Public Suffix List (PSL).
For public hosts (currently, those with payments types set to Token or Stripe), Basil will enforce this and not allow the set up of places otherwise for security reasons (cookies, etc.)
This is not a requirement for private hosts (payment type set to None).
I’ve just installed Basil on my machine, npm install
went fine, just ran npm run dev
and got this error.
❌ ❨site.js❩ Error: Error: Cannot find module '../../.db/settings.cjs'
Require stack:
- /Users/laura/Repos/basil/.dynamic/.https/config.cjs
- /usr/local/bin/index.js
- /usr/local/bin/bin/lib/ensure.js
- /usr/local/bin/bin/lib/sync.js
- /usr/local/bin/bin/commands/serve.js
- /usr/local/bin/bin/site.js
Add a step to the Hetzner instructions reminding hosts to request a quota increase from Hetzner.
[LOADER] Compiling /admin/setup/payment/Stripe/Mode.component
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: ERR_HTTP_INVALID_STATUS_CODE
at __node_internal_captureLargerStackTrace (node:internal/errors:466:5)
at new NodeError (node:internal/errors:377:5)
at ServerResponse.writeHead (node:_http_server:274:11)
at ServerResponse._implicitHeader (node:_http_server:265:8)
at write_ (node:_http_outgoing:766:9)
at ServerResponse.end (node:_http_outgoing:855:5)
at Polka.onError (file:///var/home/aral/Projects/nodekit/src/production/Server.js:77:18)
at next (file:///var/home/aral/Projects/nodekit/node_modules/polka/build.mjs:83:38) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
This causes a panic on first run for new clones.
“Buy hey, it works on my computer!” 🤓️
The first time I ran Basil, I got a 500 error when I went to admin.
Now when I run Basil (with npm run dev
) and go to http://localhost:3000
, I get the standard “Safari can’t open page” message in Safari, even though the page is loading (simultaneously) in Firefox.
This may be because Safari is redirecting to https
(not http) and could be a Site.js issue related to: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
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.