Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notashelf/blog.notashelf.dev
Source code for my personal blog and programmnig crimes associated with it.
https://github.com/notashelf/blog.notashelf.dev
nix nix-blog pandoc
Last synced: 4 months ago
JSON representation
Source code for my personal blog and programmnig crimes associated with it.
- Host: GitHub
- URL: https://github.com/notashelf/blog.notashelf.dev
- Owner: NotAShelf
- License: cc-by-4.0
- Created: 2024-07-11T20:40:11.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T21:24:15.000Z (6 months ago)
- Last Synced: 2024-09-28T09:01:22.180Z (4 months ago)
- Topics: nix, nix-blog, pandoc
- Language: SCSS
- Homepage: http://blog.notashelf.dev/
- Size: 888 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blog.notashelf.dev
Source code of my personal blog, built with [Pandoc](https://pandoc.org) and an
unnecessarily complicated Bash script. Rendered version is available at
https://blog.notashelf.dev## Stack
The website contents are pure **HTML** and **Javascript**. **SCSS** is used for
styling. There are no weird libraries to render/modify/abuse content in runtime.
What you see is what you get. I do modify DOM in **_one_** instance, but nothing
that justifies libraries.The site is built with a Bash script that generates post metadata, compiles
stylesheets and copies files in place. You are welcome to, but discouraged from
looking into the script unless you plan to run it.## Building
The `gen.sh` script can be used to build the website, including compiling the
stylesheets and generating static pages from markdown. Upon running this
script[^1], the build result will be available in the `out/` directory relative
to the script.You may serve the built static pages via Python's `http` module, or spin up your
own webserver through another means. You can also open your web browser and
visit the `out/` directory in the "search" tab. I disable `$HOME` access for
good measure, but it could be an option for you.### Using
Ha.
## Contributing
Changes are welcome, feel free to make an issue if you wish to ask a question or
create a pull request if something catches your eye. You may also "contribute"
by making post suggestions in the issues tab.### Hacking
The builder script (`gen.sh`) depends on `jq`, `pandoc` and `sassc` to be in
your path. Nix users may use `nix-shell` or `direnv allow` to use available
tools for reproducible dev environments.Non-Nix users will have to get `jq`, `pandoc` and `sassc` from their package
manager.## License
Available under the [CC BY License](LICENSE). Please do not modify or
redistribute post contents without my express permission.[^1]:
Make sure you always read bash scripts you see on the internet before
actually running them.