welcome to the magic docs.
@magic/core documentation. tells you why, how and when to use @magic. also provides an overview of all @magic functionality this ecosystem provides.
the goal of this document is to give you a rough @magical overview.
@magic aims to make it easy to stitch together any kind of webapp. by providing simple, well documented and self contained modules, @magic makes it possible to create stunningly fast webpages with minimal cognitive overhead.
@magic does not spy.
not only do we try to be legally compliant by default, but we also aim to be ethical which means prioritizing your rights over our needs, but also means we prioritize the rights of your users over your needs. we believe that this is the best compromise.
why should i use magic?
- static html pages with opengraph seo.
- pages are hosted for free using gitlab, github or any other git-pages style hosting.
- static css output with selector and rule deduplication.
- minimal client boilerplate.
- no spyware included.
- WIP: lambda faas and graphql api generator.
- WIP: server side rendering (if needed).
@magic is tiny
@magic generates static pages
this makes free hosting (using github or gitlab pages) possible. and it's easy.
serverless / faas
automagically generates serverless lambdas, derived from the @magic-modules you use in your pages.
this makes visitor statistics, user authentication and authorization, chat, and all other server side services possible.