Project URL: https://fwp.glitch.me/
FWP, or “Fast Web Pages”, allows you to create websites with no coding skills. It parses markdown text you write and turns it into a website you can share with anyone.
Project URL: https://fwp.glitch.me/
FWP, or “Fast Web Pages”, allows you to create websites with no coding skills. It parses markdown text you write and turns it into a website you can share with anyone.
Wow, I really like this!
What markdown parser do you use?
I used markdown-it
for parsing markdown and ejs
to make the page look good.
Here’s an example page that utilizes Markdown: https://fwp.glitch.me/v/6f9681de
This is amazing! Great job.
What the… Awesome man!
Also, you might wanna watch out for copyrighted content, you should better add a DMCA!
Why? Your content is not more safe when you add a badge from some shady website.
DMCA is a bad hack website? @RiversideRocks
No, it’s something to protect your site if someone steals it. I don’t think it’s very necessary in this case.
Can you add the ability to add metatags like sort of like how txti does?
rIcKrOlLs
I am pretty sure this will be that
I am totally not the smartest rickroller of all time
Imagine your url being something like facebook…
Also, will this ever be open source?
I would love the source
Thank you all for the kind words!
Metatags will be also added later today.
I don’t know how to do that though. It’d look really ugly and the Markdown parser I use doesn’t have an option to use plaintext as the output.
The source code of fwp can now be viewed here: https://glitch.com/~fwp
YESSSS exactly what i was looking for
Could you add HTML support? I would love embedding youtube videos & contact forms in there.
Most likely not. As a workaround, you can try this for embedding YouTube videos and something like fnContact/Google Forms for contact forms.
ok thanks!
I don’t view others’ pages without their consent because I don’t want people to feel unsafe using fwp. In case I’ll find a fwp page somewhere on the internet that contains illegal content, I’ll take it down.
A suggestion, can you make it so that you can download the source code of a page?
And there could also be an option if you want people to download your source code or not!
I’m such a genius
When I was working on fwp this option actually existed, but I’m not sure how safe it’d be for people to be able to download raw markdown files.
Downloading raw Markdown files would probably safer than downloading raw HTML as no browsers that I have heard of actually render Markdown files.
That’s why Markdown parsers like Parsedown and Marked exist.
Hey, why don’t you put this on GitHub so anyone can contribute and improve the project?
This is a really cool app. Maybe you also could turn it into a PWA?
Also, I’m going to remix this and and add a bunch of features lol
A PWA is an installable app in which you can even view pages offline
I don’t believe all PWAs work offline. DEV.to is a PWA but does not work offline.
Yeah, I do know that. I have a theory (that I just made an hour ago ) where ejs will not work offline no matter what. You also can’t allow some other site to work offline that’s not yours via https, because it would be like knocking on a locked door.
it can be bundled in…https://cost-of-modules.herokuapp.com/[email protected]
then a pwa can just cache it for you
I don’t see why it would need any network requests after that
Yeah, I don’t think that theory is true lol
I used EJS to separate my headers and footers which ended up working great in a offline PWA.
(Also, now I just use 11ty and Nunjucks because EJS already works with 11ty and Nunjucks can auctally be simpler to use)
No, I mean’t for a database (accounts)
iirc firebase and remotestorage works offline, Firebase more designed for databases tho.
firebase??? geez that is pretty cool
Yes, firebase.
Also remotestorage works ok but you don’t wanna use it for consistent database access/without encryption.
I got the idea to do this from txti, so it may look similar. I did this because txti was dying at that time (no business model, they were saying in twitter that they have financial issues) and it was not open-source.
that kind of would have beeen nice to know in the poost.
Do you want me to make a Terms Of Service? I’m experienced at those
If you use Workbox, an advanced module for caching, you can make an offline PWA.
But for basic PWAs, it’s good practise to have a fallback page to let the user know that they’re offline (maybe I’ll add it to my PWA tutorial) or if your app’s content is static and remains the same at all times, then you can cache stuff and display it.
I did create a PWA that’d display global news from various news channels around the world and you could read it offline after the initial visit, but it seems to be broken now, if I fix it I’ll add details to those in the tutorial as well.
Sure, you can write the terms if you’d like!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.