Coder Social home page Coder Social logo

villbass / twos.dev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glacials/twos.dev

0.0 0.0 0.0 393.14 MB

a portfolio, personal website, and static site generator

Home Page: https://twos.dev

License: MIT License

Go 71.10% CSS 8.63% Makefile 0.27% HTML 20.00%

twos.dev's Introduction

twos.dev

This is the source code for my personal website. I post thoughts, hobbies, and other random things here.

Architecture

twos.dev is a low-tech website. It does not require JavaScript and it is composed entirely of static files served by GitHub Pages.

These static files are built by a bespoke static website generator created for twos.dev called Winter, which is written in Go and embedded in this repository at winter/. See more about Winter below.

First run

Dependencies

  • Go 1.18+

Starting a dev server

go install
go install github.com/mitranim/gow@latest
make serve

Files will be watched for changes. Changes to documents or graphics will automatically trigger the right transformations. Changes to the generator itself will trigger a program recompilation and restart. In both cases, a WebSocket connection on the local page will listen for the change and trigger a refresh automatically.

Winter

Go Reference

Winter is the bespoke static website generator that powers twos.dev. It can be used to power your static website as well, as a CLI or Go library. See winter/README.md for details.

twos.dev's People

Contributors

glacials avatar dependabot[bot] 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.