Skip to content

diamantidis/diamantidis.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

246 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jekyll CI License X: @diamantidis_io

This is the repository for my personal blog.

In this blog, you can find posts about my learnings, my thoughts, my ideas and things that I find interesting and worth mentioning. Mostly software development oriented.

The whole site is open source, meaning that all the code that runs on the live site is here.

Under the hood

This blog is built with Jekyll, an open source static site generator. The content is written in Markdown files, which Jekyll turns into HTML. The site is hosted on GitHub Pages, a free web hosting service provided by GitHub.

The repository has two main branches: source and master. The source branch contains the Jekyll project while the master branch contains the final version of the site, as it is served on diamantidis.github.io.

On every PR against the source branch, a GitHub Actions workflow runs using Danger and Danger-prose to perform a check for typos and lint prose. When the PR is approved and merged to source, a GitHub Actions workflow builds the Jekyll project and push the generated site onto the master branch.

How to setup locally

The Jekyll project

Requirements

Steps

  • Run the following commands:
git clone -b source https://github.com/diamantidis/diamantidis.github.io.git
cd diamantidis.github.io
bundle install
npm install
bundle exec jekyll serve

Social Images

Social images for posts and tips are generated from code snippets using carbon-now-cli, a CLI wrapper for carbon.now.sh. The visual style is configured in carbon.json via the blog preset.

# Generate an image from a snippet file
npx carbon snippet.swift --start 1 --end 11 --save-to /tmp --save-as my-image

# Override settings per run
npx carbon snippet.swift --settings '{"language": "swift"}' --save-to /tmp --save-as my-image

Contributing

Fix Content

If you see an error, a typo or something wrong in the content, just fork the repository, make the change and submit a pull request against the source branch. Alternatively, you can file an issue or message me on X.

Ideas, suggestions and improvements

If you have any suggestion for a potential post, an improvement on the blog or some other idea, please share it with me. You can either file an issue or send me a message on X.

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

Contact me

About

This is the repository for my personal blog.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors