pocketpages
TypeScript icon, indicating that this package has built-in type declarations

0.9.6 • Public • Published

PocketPages

Really fast Server Side pages for PocketBase

PocketPages is a lightweight EJS and router engine that runs as a PocketBase JS hook. It's super fast and can render pages <40ms.

Write your web apps like old-school PHP:

// pb_hooks/pages/index.ejs
<%= `Hello, world!` %>

Why did I make this?

  • Because when I have a new app idea, I want to make contact with the real world as soon as possible
  • Because I want to start simply and grow as needed, in any direction I decide
  • Because I want a unified SEO-friendly platform without needing to worry about SSR/SSG/SPA
  • Because I miss the good parts of PHP
  • Because I think pure client-side reactive frameworks like AlpineJS and HTMLx are a perfect compliment to Server Side pages.
  • Send a PR to add your reasons here :)

Contributing

PR's are welcome.

  • Docs
  • Core features
  • Starter kits
  • Showcases

Readme

Keywords

none

Package Sidebar

Install

npm i pocketpages

Weekly Downloads

22

Version

0.9.6

License

MIT

Unpacked Size

1.21 MB

Total Files

55

Last publish

Collaborators

  • benallfree