## SIWL.dev
Home | SIWL.dev
ใจใใ็ฉ่ณช็งๅญฆใฎๅญฆ็ใซใใใใใฏใใญใฐใงใใWeb ใใญใฐใฉใใณใฐใๅฅฝใใ
siwl.dev
Personal website of @s-inoue0108โ, built with AstroJSโ, SolidJSโ and Tailwind CSSโ.
## ๐ฟ GitHub Repo
GitHub - s-inoue0108/siwl-dev: Personal website of @s-inoue0108
Personal website of @s-inoue0108. Contribute to s-inoue0108/siwl-dev development by creating an account on GitHub.
github.com
## ๐ System Structure
## ๐ป General Commands
### Start local server
The following environment is recommended:
- Node.js
>=v20
&& npmv10
- Yarn
v1.22
- Visual Studio Code
v1.96
- Git
v2.40
yarn dev
### Deploy
Execute /.cli/deploy.sh
via npm
script.
# push to origin/main omit zenn/* and qiita/*
yarn deploy
# push to origin/main and @s-inoue0108/siwl-dev-zenn only zenn/*
yarn deploy --zenn
# push to origin/main and @s-inoue0108/siwl-dev-qiita only qiita/*
yarn deploy --qiita
# push all changes
yarn deploy --all
## ๐ Contents Management CLI
Execute /.cli/siwl.ts
via npm
script. This script is built by Commander.jsโ, execute by tsxโ.
### Usage
yarn siwl <action> -option <arg>
Tip
yarn
can be omitted by setting the alias siwl="yarn siwl"
to ~/.bashrc
.
### Available actions and options
<action> | -option <arg> | Description |
---|---|---|
create|new | -f <filename> [-m <model>] | Create src/content/<model>/<filename>.(md|yaml) and initialize schema. |
remove|rm | -f <filename> [-m <model>] | Remove src/content/<model>/<filename>.(md|yaml) . |
draft|dft | -f <filename> [-m <model>] | Draft src/content/<model>/<filename>.(md|yaml) . |
publish|pub | -f <filename> [-m <model>] [-R] [-L] [-U] | Publish src/content/<model>/<filename>.(md|yaml) and update timestamp if model is article . |
rename|rn | -f <filename> -n <newname> [-m <model>] | Rename src/content/<model>/<filename>.(md|yaml) to src/content/<model>/<newname>.(md|yaml) . |
list|ls | [-m <model>] [-p|-d] | List src/content/<model>/ with status. |
open|op | -f <filename|readme> [-m <model>] | Open src/content/<model>/<filename>.(md|yaml) by Visual Studio Code. |
view|vi | [-f <filename|readme>] [-l] | View specified webpage using browser. |
export|ex | -f <filename|readme> [-t <mdtype>] [-n <newname>] [-F] | Export article with specified markdown type. |
-h | Display help. | |
-v | Display version. |
Important
Use <action> -h
to display help for each actions. Run this command to see the --longoption
.
### Available
<model> | Description | Filetype |
---|---|---|
article | Article page for blog. | md |
tag | Tag to classify articles. | yaml |
bookmark | Link to external website. | yaml |
work | My web work. | yaml |
Tip
If <model>
is unspecified or typo, it refers to article
.
## โ
Markdown Syntax
Markdown ่จๆณใฎไธ่ฆง | SIWL.dev
ใใฎใใญใฐใงๅฉ็จๅฏ่ฝใช Markdown ่จๆณใใพใจใใฆใใพใใ
siwl.dev
## ๐งโ๐ป Zenn Binding
github.com
github.com
## ๐งโ๐ป Qiita Binding
github.com
github.com
ๆ็ตๆดๆฐๆฅๆ๏ผ2025/01/11
ๆดๆฐ่ ๏ผShota Inoue