Git Product home page Git Product logo

jsnt-site's Introduction

JSn't Site

A static site generator with zero Javascript


Usage

This project is currently in very early development and isn't really in a usable state.

Render Example

jsnt-site examples/basic_site/
# or
cargo run examples/basic_site/

Why no Javascript?

First, let me clarify that I do not hate Javascript. It's probably one of the most influential contributions to the internet. However, it is massively overused. An interactive web app needs Javascript. A simple blog does not.

Benefits of not using JS

  • No trackers
  • More secure
  • No automated ads
  • Very small page sizes (ignoring images/videos/audio)
  • Performant on very low-spec systems
  • Usable with terminal web browsers
  • Minimalist

Features

Planned

  • Custom templates
  • Write page content in Markdown
  • Insert data from external files
    • For instance, insert a CSV file as a table
  • Use custom HTML in Markdown
  • Automatic image compression
  • Optionally convert images to ASCII art
  • Pre-rendered code syntax highlighting
  • Evaluate codeblocks or scripts and include output in page
  • Basic scripting in Lua for automating page content
  • Output to alternative web protocols such as Gopher and Gemini

jsnt-site's People

Contributors

eliaswatson 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.