diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml
index e38bc72..410743c 100644
--- a/.github/workflows/pages-deploy.yml
+++ b/.github/workflows/pages-deploy.yml
@@ -9,6 +9,9 @@ on:
- README.md
- LICENSE
+ # Build and test pull requests too (without deploying them)
+ pull_request:
+
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -37,6 +40,7 @@ jobs:
- name: Setup Pages
id: pages
+ if: github.event_name != 'pull_request'
uses: actions/configure-pages@v5
- name: Setup Ruby
@@ -57,11 +61,13 @@ jobs:
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact
+ if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v4
with:
path: "_site${{ steps.pages.outputs.base_path }}"
deploy:
+ if: github.event_name != 'pull_request'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 58062c5..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "assets/lib"]
- path = assets/lib
- url = https://github.com/cotes2020/chirpy-static-assets.git
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..14c8069
--- /dev/null
+++ b/404.html
@@ -0,0 +1,8 @@
+---
+layout: default
+title: Not found
+permalink: /404.html
+sitemap: false
+---
+
404
+
Nothing lives at this address. Try writing or home.
diff --git a/Gemfile b/Gemfile
index a6c528d..5f900de 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,13 @@
source "https://rubygems.org"
-gem "jekyll-theme-chirpy", "~> 7.5"
+gem "jekyll", "~> 4.4"
+
+group :jekyll_plugins do
+ gem "jekyll-feed", "~> 0.17"
+ gem "jekyll-seo-tag", "~> 2.8"
+ gem "jekyll-sitemap", "~> 1.4"
+end
gem "html-proofer", "~> 5.0", group: :test
diff --git a/README.md b/README.md
index 793cd08..586dcd1 100644
--- a/README.md
+++ b/README.md
@@ -1,43 +1,31 @@
-# Chirpy Starter
+# bishal
-[][gem]
-[][mit]
+Personal site: essays and projects. Plain Jekyll, no theme, one stylesheet.
-When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders
-`_data`, `_layouts`, `_includes`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file
-from the theme's gem. If you have ever installed this theme gem, you can use the command
-`bundle info --path jekyll-theme-chirpy` to locate these files.
+## Writing
-The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being
-able to enjoy the out-of-the-box experience when using feature-rich themes.
+- Essays go in `_posts/` as `YYYY-MM-DD-slug.md` and are published at `/posts/slug/`.
+- Front matter: `title`, `date`, optional `tags`, and `math: true` for posts with LaTeX.
+- Math: `$...$` is inline, `$$...$$` is display. It's rendered by KaTeX, which only loads on posts with `math: true`.
+- Tables, images, footnotes and `` blocks work as normal Markdown/HTML.
-To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your
-Jekyll site. The following is a list of targets:
+## Projects
-```shell
-.
-├── _config.yml
-├── _plugins
-├── _tabs
-└── index.html
-```
-
-To save you time, and also in case you lose some files while copying, we extract those files/configurations of the
-latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
+Edit `_data/projects.yml`. `featured: true` puts a project on the home page, and `show: false` hides it.
-## Usage
+## Settings
-Check out the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy/wiki).
+`_config.yml` holds the title, the contact email (defined once), and social handles.
-## Contributing
+## Local preview
-This repository is automatically updated with new releases from the theme repository. If you encounter any issues or want to contribute to its improvement, please visit the [theme repository][chirpy] to provide feedback.
+```sh
+bundle install
+bundle exec jekyll serve --livereload
+```
-## License
+## Deploy
-This work is published under [MIT][mit] License.
+Pushing to `main` builds and deploys through `.github/workflows/pages-deploy.yml`.
-[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
-[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
-[CD]: https://en.wikipedia.org/wiki/Continuous_deployment
-[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE
+The site is served at https://bishal.co.uk. The domain is set in Settings → Pages (no `CNAME` file is needed when deploying with Actions), and DNS lives in Cloudflare.
diff --git a/_config.yml b/_config.yml
index c96cb86..012a7fd 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,182 +1,70 @@
-# The Site Configuration
-# Import the theme
-theme: jekyll-theme-chirpy
-
-# The language of the webpage
+# Site settings
+title: Bishal
+description: Essays and projects by Bishal.
+author: Bishal
lang: en
-
-# Change to your timezone
timezone: Asia/Dhaka
-# jekyll-seo-tag settings
-# ↓ --------------------------
+# Contact: the only place the address is defined. Use {{ site.email }} elsewhere.
+email: hi@bishal.co.uk
-title: Spidey
-description: >-
- A repository of bunch of stuff I'll be writing.
-
-# Fill in the protocol & hostname for your site.
-url: "https://spideyonmoon.github.io"
+# The custom domain itself is set in the repo: Settings → Pages → Custom domain.
+url: "https://bishal.co.uk"
+baseurl: ""
-github:
- username: spideyonmoon
+github_username: spideyonmoon
+twitter_username: spideyonmoon
+# Used by jekyll-seo-tag
twitter:
username: spideyonmoon
-
social:
- name: Spidey
- email: spidey.wtf.69@gmail.com
+ name: Bishal
links:
- - https://x.com/spideyonmoon
- https://github.com/spideyonmoon
+ - https://x.com/spideyonmoon
-# Site Verification Settings
-webmaster_verifications:
- google:
- bing:
- alexa:
- yandex:
- baidu:
- facebook:
-
-# ↑ --------------------------
-# The end of `jekyll-seo-tag` settings
-
-# Web Analytics Settings
-analytics:
- google:
- id:
- goatcounter:
- id:
- umami:
- id:
- domain:
- matomo:
- id:
- domain:
- cloudflare:
- id:
- fathom:
- id:
-
-# Page views settings
-pageviews:
- provider:
-
-# Prefer color scheme setting.
-theme_mode: dark # Locked to dark mode for that clean, IDE-style aesthetic
-
-# The CDN endpoint for media resources.
-cdn:
-
-# the avatar on sidebar, support local or CORS resources
-avatar:
-
-# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
-social_preview_image:
-
-# boolean type, the global switch for TOC in posts.
-toc: true
-
-comments:
- provider: giscus
- giscus:
- repo: spideyonmoon/spideyonmoon.github.io
- repo_id: R_kgDORtj8gA
- category: Announcements
- category_id: DIC_kwDORtj8gM4C5AyP
- mapping: pathname
- strict: 0
- reactions_enabled: 1
- emit_metadata: 0
- input_position: bottom
- theme: preferred_color_scheme
- lang: en
-
-# Self-hosted static assets
-assets:
- self_host:
- enabled:
- env:
-
-pwa:
- enabled: true
- cache:
- enabled: true
- deny_paths:
-
-paginate: 10
-
-# The base URL of your site
-baseurl: ""
-
-# ------------ The following options are not recommended to be modified ------------------
-
+markdown: kramdown
kramdown:
- footnote_backlink: "↩︎"
+ input: GFM
+ # A single newline in a post renders as a line break, as it does in most
+ # Markdown editors. Set to false for strict Markdown paragraphs.
+ hard_wrap: true
+ math_engine: mathjax # emits \( \) and \[ \], rendered client-side by KaTeX
syntax_highlighter: rouge
- syntax_highlighter_opts:
+ syntax_highlighter_opts:
css_class: highlight
- span:
- line_numbers: false
block:
- line_numbers: true
- start_line: 1
+ line_numbers: false
-collections:
- tabs:
- output: true
- sort_by: order
+plugins:
+ - jekyll-feed
+ - jekyll-seo-tag
+ - jekyll-sitemap
+
+# Existing post URLs (/posts//) are kept so old links still work.
+permalink: /posts/:title/
defaults:
- scope:
- path: ""
+ path: ""
type: posts
values:
layout: post
- comments: true
- toc: true
- permalink: /posts/:title/
- - scope:
- path: _drafts
- values:
- comments: false
- scope:
path: ""
- type: tabs
values:
layout: page
- permalink: /:title/
sass:
style: compressed
-compress_html:
- clippings: all
- comments: all
- endings: all
- profile: false
- blanklines: false
- ignore:
- envs: [development]
-
exclude:
- - "*.gem"
- - "*.gemspec"
- - docs
- - tools
- README.md
- LICENSE
- - purgecss.js
- - "*.config.js"
- - "package*.json"
-
-jekyll-archives:
- enabled: [categories, tags]
- layouts:
- category: category
- tag: tag
- permalinks:
- tag: /tags/:name/
- category: /categories/:name/
+ - Gemfile
+ - Gemfile.lock
+ - tools
+ - vendor
+ - .devcontainer
+ - .vscode
diff --git a/_data/contact.yml b/_data/contact.yml
deleted file mode 100644
index ed40acb..0000000
--- a/_data/contact.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-# The contact options.
-
-- type: github
- icon: "fab fa-github"
-
-- type: twitter
- icon: "fa-brands fa-x-twitter"
-
-- type: email
- icon: "fas fa-envelope"
- noblank: true # open link in current tab
-
-- type: rss
- icon: "fas fa-rss"
- noblank: true
-# Uncomment and complete the url below to enable more contact options
-#
-# - type: mastodon
-# icon: 'fab fa-mastodon' # icons powered by
-# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
-#
-# - type: linkedin
-# icon: 'fab fa-linkedin' # icons powered by
-# url: '' # Fill with your Linkedin homepage
-#
-# - type: stack-overflow
-# icon: 'fab fa-stack-overflow'
-# url: '' # Fill with your stackoverflow homepage
-#
-# - type: bluesky
-# icon: 'fa-brands fa-bluesky'
-# url: '' # Fill with your Bluesky profile link
-#
-# - type: reddit
-# icon: 'fa-brands fa-reddit'
-# url: '' # Fill with your Reddit profile link
-#
-# - type: threads
-# icon: 'fa-brands fa-threads'
-# url: '' # Fill with your Threads profile link
diff --git a/_data/projects.yml b/_data/projects.yml
new file mode 100644
index 0000000..10b183e
--- /dev/null
+++ b/_data/projects.yml
@@ -0,0 +1,103 @@
+# Projects shown on /projects/ (and on the home page when `featured: true`).
+# Descriptions are placeholders: rewrite them in your own words.
+#
+# Fields:
+# name, description, lang, year (first year worked on), status
+# repo GitHub URL. Leave out for private repos so nothing links to a 404.
+# link Live site / bot / docs, if any.
+# featured true = also listed on the home page.
+# show false = kept here but not published. Private repos start hidden.
+
+- name: karen
+ description: A Telegram bot that tries to do far too much, and mostly manages it. Moderation, utilities and whatever else I needed that week.
+ lang: Go
+ year: 2026
+ status: active
+ repo: https://github.com/spideyonmoon/karen
+ featured: true
+ show: true
+
+- name: freegamesradar
+ description: A Telegram channel bot that posts free game giveaways as they appear, using the GamerPower API.
+ lang: Python
+ year: 2026
+ status: active
+ repo: https://github.com/spideyonmoon/freegamesradar
+ link: https://t.me/freegamesradarhq
+ featured: true
+ show: true
+
+- name: quota-tracker
+ description: A small dashboard for keeping an eye on how much of my AI usage quota is left.
+ lang: TypeScript
+ year: 2026
+ status: active
+ repo: https://github.com/spideyonmoon/quota-tracker
+ link: https://spideyonmoon.github.io/quota-tracker/
+ featured: true
+ show: true
+
+- name: ielts-writing-simulator
+ description: A timed IELTS writing exam simulator in the browser, built to practise under real conditions. With dark mode.
+ lang: HTML
+ year: 2026
+ status: done
+ repo: https://github.com/spideyonmoon/ielts-writing-simulator
+ link: https://spideyonmoon.github.io/ielts-writing-simulator/
+ show: true
+
+- name: study-tracking-portal
+ description: A web portal for logging study sessions and seeing where the hours actually went.
+ lang: TypeScript
+ year: 2026
+ status: active
+ repo: https://github.com/spideyonmoon/study-tracking-portal
+ link: https://study-tracking-portal.vercel.app
+ show: true
+
+- name: batch-zipper
+ description: A Python script that uses NanaZip to archive many folders under one path in a single go.
+ lang: Python
+ year: 2026
+ status: done
+ repo: https://github.com/spideyonmoon/batch-zipper
+ show: true
+
+- name: fpilot-quicklook
+ description: Space-bar QuickLook previews in File Pilot, the way they work in Explorer.
+ lang: C#
+ year: 2026
+ status: archived
+ repo: https://github.com/spideyonmoon/fpilot-quicklook
+ show: true
+
+# --- Private repos: shown as a showcase, with no links ----------------------
+
+- name: audio-forensic
+ description: 'Tools for checking whether a "lossless" file really is: spectrograms, cut-off detection and upscale checks. Python original, a C app, and a Rust rewrite of the core.'
+ lang: Rust · Python · C
+ year: 2026
+ status: active
+ show: true
+
+- name: alfred
+ description: 'A personal assistant across platforms: an Android app, a Windows client and an audio-focused Telegram bot.'
+ lang: Kotlin · Rust · Python
+ year: 2026
+ status: active
+ show: true
+
+# --- Private repos: hidden until you decide to publish them -----------------
+
+- name: mon-key
+ description: A typing trainer that mixes Monkeytype's feel with Keybr's adaptive lessons.
+ year: 2025
+ status: active
+ show: false
+
+- name: tg-cleanup-suite
+ description: A Python script for cleaning up a Telegram account in bulk.
+ lang: Python
+ year: 2026
+ status: done
+ show: false
diff --git a/_data/share.yml b/_data/share.yml
deleted file mode 100644
index edbc02b..0000000
--- a/_data/share.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-# Sharing options at the bottom of the post.
-# Icons from
-
-platforms:
- - type: Twitter
- icon: "fa-brands fa-square-x-twitter"
- link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
-
- - type: Facebook
- icon: "fab fa-facebook-square"
- link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
-
- - type: Telegram
- icon: "fab fa-telegram"
- link: "https://t.me/share/url?url=URL&text=TITLE"
-
- # Uncomment below if you need to.
- #
- # - type: Linkedin
- # icon: "fab fa-linkedin"
- # link: "https://www.linkedin.com/feed/?shareActive=true&shareUrl=URL"
- #
- # - type: Weibo
- # icon: "fab fa-weibo"
- # link: "https://service.weibo.com/share/share.php?title=TITLE&url=URL"
- #
- # - type: Mastodon
- # icon: "fa-brands fa-mastodon"
- # # See: https://github.com/justinribeiro/share-to-mastodon#properties
- # instances:
- # - label: mastodon.social
- # link: "https://mastodon.social/"
- # - label: mastodon.online
- # link: "https://mastodon.online/"
- # - label: fosstodon.org
- # link: "https://fosstodon.org/"
- # - label: photog.social
- # link: "https://photog.social/"
- #
- # - type: Bluesky
- # icon: "fa-brands fa-bluesky"
- # link: "https://bsky.app/intent/compose?text=TITLE%20URL"
- #
- # - type: Reddit
- # icon: "fa-brands fa-square-reddit"
- # link: "https://www.reddit.com/submit?url=URL&title=TITLE"
- #
- # - type: Threads
- # icon: "fa-brands fa-square-threads"
- # link: "https://www.threads.net/intent/post?text=TITLE%20URL"
diff --git a/_includes/math.html b/_includes/math.html
new file mode 100644
index 0000000..7ff4690
--- /dev/null
+++ b/_includes/math.html
@@ -0,0 +1,18 @@
+{%- comment -%}
+ KaTeX, loaded only on pages with `math: true`.
+ kramdown turns $$...$$ into \(...\) (inside a paragraph) or \[...\] (on its own),
+ and leaves single $...$ untouched. So \( and \[ always came from $$ in the source
+ and are rendered as display math; $...$ is inline.
+{%- endcomment -%}
+
+
+
diff --git a/_includes/project.html b/_includes/project.html
new file mode 100644
index 0000000..f25b2e2
--- /dev/null
+++ b/_includes/project.html
@@ -0,0 +1,11 @@
+{%- assign p = include.project -%}
+
+
+ {% if p.repo or p.link %}{{ p.name }}{% else %}{{ p.name }}{% endif %}
+ {{ p.lang }}{% if p.lang and p.year %} · {% endif %}{{ p.year }}{% if p.status %} · {{ p.status }}{% endif %}
+
+ {% for project in site.data.projects %}
+ {% if project.show and project.featured %}{% include project.html project=project %}{% endif %}
+ {% endfor %}
+