Skip to content

lfcipriani/www.talleye.com

Repository files navigation

Source code of talleye.com, my personal website.

Features

  • Posts written in Markdown
  • Dark and light theme
  • RSS feed
  • Basic SEO capabilities
  • Reading time calculation
  • Multiple locales support

Built with:

  • React
  • Next.js.
  • remark: for markdown processing
  • rehype: for HTML processing
  • Among other dependencies

Development Setup

Clone this repository, make sure to use Node.js 14.15.4 or greater. Then:

> npm install
> npm run dev

Open http://localhost:3000 with your browser to see the result.

Upgrading npm packages

Install ncu:

> npm install -g npm-check-updates

Run ncu regularly to check for npm package updates:

  • ncu: to check packages
  • ncu -u: to update all packages in package.json
  • ncu -u PACKAGE_NAME: to update a specific package only

Testing

To run unit tests:

> npm test

Run npm run ci to also execute prettier and linter checks.

Deploy

Vercel is used to host the website, this means that to deploy you just need to push code to main branch.

Licensing

  • Source code distributed under MIT License
  • Content of the website under Creative Commons