https://github.com/saneef/shiro.ws
Source code for the shiro.ws
https://github.com/saneef/shiro.ws
Last synced: about 1 year ago
JSON representation
Source code for the shiro.ws
- Host: GitHub
- URL: https://github.com/saneef/shiro.ws
- Owner: saneef
- License: mit
- Created: 2024-02-01T10:44:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T06:24:39.000Z (about 1 year ago)
- Last Synced: 2025-04-16T08:07:49.547Z (about 1 year ago)
- Language: HTML
- Homepage: https://shiro.ws
- Size: 1.56 MB
- Stars: 22
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Source code for shiro.ws
The project is using [Eleventy](https://www.11ty.dev) and [WebC](https://www.11ty.dev/docs/languages/webc/).
We use Notion (database) as the CMS.
The website is hosted on Netlify.
We call Netlify's build hook from iOS or macOS shortcut app to rebuild and depoly the website.
|
|
|:--|
|Screenshot of Notion database. The fields used in generating the website are: Published On (Date), Title (Title), Images (Files & media), Image Alt Texts (Text) and Notes (Text).|
Each line of text (separated by a new line) from "Image Alt Texts" are used as `alt` text for each images.
## Development
### Create a `.env` file
Create a `.env` in the project root and populate these contents.
```env
NOTION_API_KEY=
NOTION_PAGE_ID=
```
### Running development server
```sh
pnpm install # Installs dependencies. Only required once
pnpm run dev # Runs the development server
```