superawesomelabs / Leo

Highly Extensible, Declarative Static Site Generator

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Leo

React Fullstack Graphql
Starter projects for fullstack applications based on React & GraphQL.
Stars: ✭ 1,352 (+1252%)
Mutual labels:  graphql, apollo
Apollo Scalajs
Use Apollo GraphQL from Scala.js apps!
Stars: ✭ 83 (-17%)
Mutual labels:  graphql, apollo
Apollo Tote
👜 A declarative approach to handling Apollo GraphQL queries in React
Stars: ✭ 76 (-24%)
Mutual labels:  graphql, apollo
React Hipstaplate
A ReactJS full-stack boilerplate based on typescript with ssr, custom apollo-server and huge stack of modern utilities which will help you to start your own project
Stars: ✭ 74 (-26%)
Mutual labels:  graphql, apollo
Apollo
Meteor & Apollo integration
Stars: ✭ 87 (-13%)
Mutual labels:  graphql, apollo
Nextjs Strapi Boilerplate
🎨 Boilerplate for building applications using Strapi and Next.js
Stars: ✭ 76 (-24%)
Mutual labels:  graphql, apollo
Apollo Prophecy
🔮 GraphQL error management made Easy, generate custom machine-readable errors for Apollo Client/Server from the CLI
Stars: ✭ 83 (-17%)
Mutual labels:  graphql, apollo
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (-34%)
Mutual labels:  graphql, apollo
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (-15%)
Mutual labels:  graphql, preact
Boilerplate Vue Apollo Graphql Mongodb
Start your magical stack journey!
Stars: ✭ 85 (-15%)
Mutual labels:  graphql, apollo
Apollo Upload Client
A terminating Apollo Link for Apollo Client that allows FileList, File, Blob or ReactNativeFile instances within query or mutation variables and sends GraphQL multipart requests.
Stars: ✭ 1,176 (+1076%)
Mutual labels:  graphql, apollo
Meteor Apollo Starter Kit
Meteor, Apollo, React, PWA, Styled-Components boilerplate
Stars: ✭ 91 (-9%)
Mutual labels:  graphql, apollo
Apollo Mocked Provider
Automatically mock GraphQL data with a mocked ApolloProvider
Stars: ✭ 70 (-30%)
Mutual labels:  graphql, apollo
Booben
Web app constructor based on React, with GraphQL bindings
Stars: ✭ 96 (-4%)
Mutual labels:  graphql, apollo
Apollo Server Vercel
⚫ Production-ready Node.js GraphQL server for Vercel Serverless Functions
Stars: ✭ 69 (-31%)
Mutual labels:  graphql, apollo
Nestjs Cqrs Starter
NestJS CQRS Microservices Starter Project
Stars: ✭ 80 (-20%)
Mutual labels:  graphql, apollo
Apollo Link Sentry
Apollo Link middleware which enriches SentryJS with GraphQL data
Stars: ✭ 63 (-37%)
Mutual labels:  graphql, apollo
Cynthesize Frontend
Frontend written in Angular 7 and deployed GraphQL for Cynthesize. Development build: https://cynthesize-develop.netlify.com
Stars: ✭ 65 (-35%)
Mutual labels:  graphql, apollo
Graphql Transform Schema
Transform, filter & alias resolvers of a GraphQL schema
Stars: ✭ 84 (-16%)
Mutual labels:  graphql, apollo
Quell
Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution for GraphQL. Use Quell to prevent redundant client-side API requests and to minimize costly server-side response latency.
Stars: ✭ 90 (-10%)
Mutual labels:  graphql, apollo

header

LEO

LEO is a library for creating Content Based Site Generators with a common GraphQL data layer. Typically, one would use a LEO generator to build static sites from Single Page Applications. This is a different approach to generators such as Jekyll and Hugo which use template languages. See the Comparison to Other Generators.

You may want to choose a pre-built generator such as React/Apollo from the Quick Start section.

Why Leo?

LEO can turn a Universal application into a Progressive Web App. This means you can reuse your Single Page Application skills to build advanced static sites. LEO's data processing is coordinated by webpack and exposed via GraphQL, which offers rich introspection capability. An example of this is using Apollo Dev Tools or GraphiQL to explore the data used to build a static site, then copying queries out into application code when satisfied. Finally, LEO doesn't restrict your ability to use the latest and greatest UI tooling. From Babel to TypeScript, React to Inferno, PostCSS to Glamor, and Apollo to Relay, LEO lets you use the tooling that makes you most productive through reusable plugins.

Optional Modern Client-Side JS

Leo builds a client-side bundle using Relay which you can optionally include when rendering .html files. Once the inital JS is downloaded, every page can be rendered by fetching a JSON file from the same static server. The JSON files contain the minimal set of content required to render each URL. It is also cached, which means each request happens only once.

header

Quick Start

Leo has a number of starter projects designed to get you started quickly.

git clone git@github.com:superawesomelabs/leo-blog-starter.git
cd leo-blog-starter && npm i

List of Starters

  • leo-blog-starter
  • leo-documentation-starter
  • leo-filepath-starter
    • Shows how Leo can be used to emulate the url-from-location-on-disk feature of other generators

Deployment

LEO renders to a static folder of files and can be deployed to GitHub Pages, Netlify, or any other hosting service.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].