Comments (2)
Hi @diyism, that's an interesting concept, are you mainly looking to compile Svelte components in Go directly? I mean you could always point Caddy at the built assets that Plenti produces (we're actually evaluating Caddy for a hosted Plenti service), but it doesn't sound like that's what you're looking to do in this case? I guess I don't fully understand what it would look like to build a custom website using a Caddy plugin, but would enjoy being enlightened if you have ideas. Thanks!
from plenti.
I see that when I run "./plenti serve" it needs 2 seconds to build the files in the "public" directory.
I can't find an example plugin that I want for Caddy web server,
but there's a standalone project "algernon" (https://github.com/xyproto/algernon),
after I run "./welcome.sh", I can modify the file of "algernon/samples/greetings/index.md",
and immediately the content changed in the web page of "http://localhost:3000/greetings/",
it's amazing.
but what a pity:
- algernon doesn't support svelte files, (xyproto/algernon#125)
- algernon is not a caddy plugin, I need to forward traffic from the caddy to algernon's 127.0.0.1:3000 port.
so, I'm dreaming:
- Plenti can realize the realtime-rendering function for svelte files(for example "index.svelte")
- Plenti is a caddy plugin, I need only start the caddy server to avoid the traffic forwarding and a seperate process.
from plenti.
Related Issues (20)
- Build optimization HOT 3
- Only load CMS files if logged in HOT 1
- Named import bug HOT 1
- await tick() doesn't work HOT 4
- Return nested fields as result in autocomplete widget HOT 3
- Can't remove "%v" folder from previous buildunlinkat ./public: directory not emptypublic HOT 20
- Netlify backend for CMS
- Add editors without GitLab accounts
- Better 404 handling HOT 3
- Allow .html extensions in path override HOT 1
- i18n HOT 4
- Ngrok for serving local websites publicly
- Rename autocomplete widget to reference(s) HOT 1
- Schema bleed HOT 2
- Gitea backend for CMS HOT 2
- Check port before build
- Unable to launch CMS on localhost HOT 7
- Hydration flicker HOT 1
- Bitbucket CMS Backend
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 plenti.