Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikstar/blog
Source code for https://nikstar.me
https://github.com/nikstar/blog
blog hugo static-website
Last synced: about 1 month ago
JSON representation
Source code for https://nikstar.me
- Host: GitHub
- URL: https://github.com/nikstar/blog
- Owner: nikstar
- License: mit
- Created: 2020-06-05T19:02:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T12:58:22.000Z (10 months ago)
- Last Synced: 2024-03-27T13:58:14.954Z (10 months ago)
- Topics: blog, hugo, static-website
- Language: HTML
- Homepage: https://nikstar.me
- Size: 13.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blog
Source code for [nikstar.me](https://nikstar.me).
## Develop
```bash
hugo server -D & ; sleep 0.5 && open http://localhost:1313/ ; fg
```Encoding video to VP9 and H.264:
```bash
ffmpeg -i video.mp4 -vf scale=-1:1200 -c:v libvpx-vp9 -b:v 0 -crf 31 -pass 1 -an -f null /dev/null && \
ffmpeg -i video.mp4 -vf scale=-1:1200 -c:v libvpx-vp9 -b:v 0 -crf 31 -pass 2 -an video.webmffmpeg -i video-orig.mp4 -vf scale=-2:1200 -c:v libx264 -crf 21 -preset veryslow -an video.mp4
```## Generate
```bash
hugo
```## Publish
```bash
rm -rf public && hugo && rsync -aO public/ nikstar.me:/var/www/blog
```