Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
root = true
end_of_line = lf
charset = utf-8
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ pnpm-debug.log*

# macOS-specific files
.DS_Store

.direnv
4 changes: 0 additions & 4 deletions .vscode/extensions.json

This file was deleted.

11 changes: 0 additions & 11 deletions .vscode/launch.json

This file was deleted.

14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ This is my personal portfolio and blog template. It allows you to create blog po
- Plausible Analytics: Analytics integration with Plausible allows you to track visitor statistics and gain insights into the site's performance.
- Light and Dark Theme: The site includes both light and dark themes, and the current theme is set based on system settings.

## Installation
## Development

1. Clone the repository to your local machine.
2. Install the necessary dependencies by running `bun install`.
3. Customize the site's content and configuration files to reflect your personal information and preferences.
4. Deploy the site, according to [Astro's documentation](https://docs.astro.build/en/guides/deploy/), to your hosting provider of choice.
This repository includes a Nix Flakes-based development environment. If Nix is configured on your system, run `nix develop` to enter the development environment. Optionally, [direnv](https://github.com/direnv/direnv) can automatically do this for you, when you change into the directory.

1. Install the necessary dependencies by running `bun install`.
2. Start the development server by running `bun dev`.

## Deployment

This repository contains a workflow that automatically deploys to GitHub Pages, for other options refer to [Astro's deployment guide](https://docs.astro.build/en/guides/deploy/).

## Usage

Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ export default [
},
},
{
ignores: [".astro/**"],
ignores: [".astro/**", "dist/**"],
},
];
25 changes: 25 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
description = "A Nix-flake-based Bun development environment";
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/*";
};
outputs = { self, nixpkgs }:
let
supportedSystems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" "aarch64-linux" ];
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
pkgs = import nixpkgs { inherit system; };
});
in {
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [
bun
];
};
});
};
}
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
},
"dependencies": {
"@astrojs/partytown": "^2.1.2",
"@astrojs/tailwind": "^5.1.2",
"astro": "^4.16.8",
"@astrojs/tailwind": "^5.1.3",
"astro": "^4.16.17",
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"tailwindcss": "^3.4.14"
"tailwindcss": "^3.4.16"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/js": "^9.13.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/js": "^9.17.0",
"@tailwindcss/typography": "^0.5.15",
"@typescript-eslint/parser": "^8.12.2",
"astro-eslint-parser": "^1.0.3",
"eslint": "^9.13.0",
"eslint-plugin-astro": "^1.3.0",
"husky": "^9.1.6",
"prettier": "^3.3.3",
"@typescript-eslint/parser": "^8.18.1",
"astro-eslint-parser": "^1.1.0",
"eslint": "^9.17.0",
"eslint-plugin-astro": "^1.3.1",
"husky": "^9.1.7",
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.8",
"prettier-plugin-tailwindcss": "^0.6.9",
"rehype-katex": "^7.0.1",
"rehype-mathjax": "^6.0.0",
"remark-math": "^6.0.0",
"typescript-eslint": "^8.12.2"
"typescript-eslint": "^8.18.1"
}
}