Giter VIP home page Giter VIP logo

site's Introduction

site

Personal website to unify my fragmented thoughts


logo

built with dust


Architecture of this site

  • Melange used to transpile OCaml syntax to JS
  • Esy package management for native Reason, OCaml and more
  • TailwindCSS you already know this XD

and etc, mostly used to run the static site generator engine.

Folder structures

  • .github/workflows -- run action to compile the site
  • generator/ -- the SSG engine
  • src/ -- all website code goes there
  • tailwindcss/ -- tailwindcss declaration

How to run it ?

it's pretty complicated, you need open 3 terminal window

[ 01 ] Installation

  1. Installing NodeJS packages
yarn # or npm install
  1. Installing Melange, OCaml packages using esy
yarn build # or npm run build

[ 02 ] Running

  1. On first window, we need to run melange
yarn watch # or npm run watch
  1. On second window, run the SSG
yarn dust:dev # or npm run dust:dev
  1. Last window, running tailwindcss watcher to detect css changes
yarn css:dev # or npm run css:dev
  1. Open localhost:8080


Need improvements

  • Access another page without reload the page
  • Markdown need TOC support
  • Migrate Rescript Syntax to OCaml
  • Simplify import script
  • Add Darkmode
  • Add AlpineJS (?)
  • Add feature to store assets on individual post page
# Idea
some-article/
-- index.md
-- assets/*
  • Rewrite engine flow

site's People

Contributors

fahmiirsyadk avatar renovate-bot avatar renovate[bot] avatar

Stargazers

Florian Schrödl avatar Harr avatar

site's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency chokidar to v3.6.0
  • chore(deps): update actions/cache action to v4
  • chore(deps): update peter-evans/create-pull-request action to v6
  • fix(deps): update dependency markdown-it to v14
  • fix(deps): update dependency shiki to v1
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/build.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
.github/workflows/update-esy-dependencies.yml
  • actions/checkout v3
  • actions/setup-node v3
  • peter-evans/create-pull-request v5
  • actions/cache v3
npm
package.json
  • @tailwindcss/typography 0.5.2
  • tailwindcss 3.0.24
  • @ryyppy/rescript-promise 2.1.0
  • chokidar 3.5.3
  • decache 4.6.1
  • fast-glob 3.2.11
  • fs-extra 10.1.0
  • gray-matter 4.0.3
  • js-yaml 4.1.0
  • kleur 4.1.5
  • live-server 1.2.2
  • markdown-it 13.0.1
  • recursive-copy 2.0.14
  • shiki 0.11.1
  • esy 0.6.12

  • Check this box to trigger a request for Renovate to run again on this repository

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.