Sm1t / www

Source code for my blog Β· βœοΈβ€―πŸ’»β€―πŸ‘‹

Home Page:https://bespoyasov.ru

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✍️ πŸ’» πŸ‘‹

Source code for my blog.

Overview

Next is used as a static site generator. Pages call api that triggers persistence to read a post or a project from an MDX file in the data directory.

RSS is generated via a custom ops script. Images optimization performed using Squoosh and set up in ops as well.

Jest is used for running tests and Hygenβ€”for code generation.

Deployed on a static server using GitHub Actions.

Installation and Development

Clone the repo and install dependencies:

git clone https://github.com/bespoyasov/www.git
cd www
npm i
npm start

Create a component, post, or a project:

npm run new:component
npm run new:post
npm run new:project

# Interactive CLI will guide after.

Run the tests:

# For development:
npm run test:dev

# Run once, used in CI:
npm test

Build, generate RSS, export site, and test the build:

npm run build

Optimize images in the public directory:

npm run images:convert

Plans and TODOs

Everything I consider implementing is in the projects section on GitHub.

About

Source code for my blog Β· βœοΈβ€―πŸ’»β€―πŸ‘‹

https://bespoyasov.ru

License:GNU General Public License v3.0


Languages

Language:TypeScript 81.1%Language:CSS 13.6%Language:JavaScript 4.7%Language:EJS 0.6%