Giter Site home page Giter Site logo

willdasilva / ssg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swyxio/ssg

0.0 2.0 0.0 588 KB

Svelte Site Generator. why try this? because sapper has a lot of setup, and isn't great at pipelining data:

Home Page: https://www.swyx.io/writing/bad-ways-to-get-data/

License: MIT License

TypeScript 78.48% JavaScript 17.60% HTML 3.93%

ssg's Introduction

SSG

Why SSG?

Watch this 20 min talk: https://youtu.be/JEH0V-zNGUk

What is this repo?

this is a monorepo for a Sapper Site Generator and related packages. Check README's inside /packages for more info on each. In particular:

We also have an examples folder but its kinda inactive right now.

Project Roadmap

I have been dragging my feet on SSG mostly because I wish someone else was working on it rather than me (it will never make money and I don't have time for it).

However the conversations I have daily at work always bother me and make me wish there was a better solution out there. Because nobody is working on exactly what I want, I'm forced to be the one to do it :( despite not having a better usecase for it than my own blog.

I am not at all optimistic this will ever be a wise venture so this is literally for shits n giggles until someone more serious than me picks this up. Because I'm not serious about it, it has an even higher chance of failure than the abysmal chance it had :(. at least i hope somebody else comes along and picks this up.

Other attempts at a Svelte Site Generator

SSG v0

whatever i have now, the Sapper-based slow monstrosity. I can add:

  • an incremental build api
  • zero config filestructure based markdown
    • default ejectable theme
  • preprocessed typescript and postcss
  • DEBUG=*

SSG v1

What I want SSG to launch with is:

  • 0kb of JS for a page that doesnt use it
  • visual editor? use netlifycms? fork sapper studio?
  • incremental builds
  • ludicrous speed. this probably means not using Sapper, and possibly using Rust/WASM.
  • ejectable themes
  • preprocessed typescript and postcss
  • Zero config:
    • RSS
    • filestructure based markdown
  • ship your own docs in CLI
  • proper docsite
  • DEBUG=*
  • Differential Dataflow

open questions:

  • dev mode?
  • no clientside routing?
  • graphql?
  • 404 search
  • react import path?
  • tailwind?
  • graphql support?
  • support 11ty's templating (mustache etc) and exact api?

SSG v2

I actually wish i could work on this earlier, but Netlify doesn't support datastores now so there's no point:

  • serverless serving if updates are found (so you get instant refresh)
  • smart clientside routing? need to learn a lot more about this
  • service worker layer?

TODO: check if there's a way to see if there's a new version of a page updated

  • nested ssgconfigs so you can section up sites?

What else?

ssg's People

Contributors

swyxio avatar m4rrc0 avatar willdasilva avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.