mirror of
https://github.com/zoriya/blog.git
synced 2025-12-06 06:26:10 +00:00
Migrate to blowfish
This commit is contained in:
@@ -3,6 +3,8 @@ languageCode = 'en'
|
||||
paginate = 50
|
||||
enableRobotsTXT = true
|
||||
googleAnalytics = "G-KK12E7TNEC"
|
||||
enableEmoji = false
|
||||
titleCaseStyle = 'none'
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
title = "Zoe's blog"
|
||||
|
||||
[params.author]
|
||||
[params]
|
||||
# logo = "img/author.png"
|
||||
|
||||
[author]
|
||||
name = "Zoe Roux"
|
||||
image = "img/author.png"
|
||||
headline = "I'm not a dev, I'm a sorceress."
|
||||
@@ -9,4 +12,5 @@ links = [
|
||||
{ github = "https://github.com/zoriya" },
|
||||
{ linkedin = "https://www.linkedin.com/in/zoe-roux/" },
|
||||
{ twitter = "https://twitter.com/zoriya_dev" },
|
||||
{ rss = "https://zoriya.dev/index.xml" },
|
||||
]
|
||||
|
||||
@@ -4,20 +4,21 @@
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "GitHub"
|
||||
url = "https://github.com/zoriya"
|
||||
weight = 30
|
||||
[main.params]
|
||||
icon = "github"
|
||||
showName = false
|
||||
target = "_blank"
|
||||
name = "Tags"
|
||||
pageRef = "tags"
|
||||
weight = 10
|
||||
|
||||
|
||||
[[main]]
|
||||
identifier = "search"
|
||||
weight = 99
|
||||
[main.params]
|
||||
action = "search"
|
||||
icon = "search"
|
||||
identifier = "github"
|
||||
pre = "github"
|
||||
url = "https://github.com/zoriya"
|
||||
weight = 30
|
||||
|
||||
[[footer]]
|
||||
name = "Blogs"
|
||||
pageRef = "blogs"
|
||||
weight = 20
|
||||
|
||||
[[footer]]
|
||||
name = "Tags"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[[imports]]
|
||||
path = "github.com/jpanther/congo/v2"
|
||||
path = "github.com/nunocoracao/blowfish/v2"
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
colorScheme = "sapphire"
|
||||
# enableSearch = true
|
||||
# colorScheme = "princess"
|
||||
autoSwitchAppearance = true
|
||||
enableSearch = true
|
||||
enableCodeCopy = true
|
||||
smartTOC = true
|
||||
robots = "all"
|
||||
footer.showAppearanceSwitcher = true
|
||||
|
||||
homepage.layout = "profile"
|
||||
homepage.showRecent = true
|
||||
|
||||
footer.showAppearanceSwitcher = true
|
||||
|
||||
article.showTableOfContents = true
|
||||
article.showEdit = true
|
||||
article.editURL = "https://github.com/zoriya/blog/tree/master/content/"
|
||||
article.showWordCount = false
|
||||
article.showAuthorBottom = true
|
||||
article.showTaxonomies = true
|
||||
article.showRelatedContent = true
|
||||
article.relatedContentLimit = 3
|
||||
list.showSummary = false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
---
|
||||
I work on [Kyoo](https://github.com/zoriya/kyoo) or other nerdy projects at night. I love weird tools ([keyboard](https://github.com/zoriya/abyss) that I designed myself, [vim](./blogs/vim-superpowers/), tiling window manager like [dwl](https://codeberg.org/dwl/dwl) or [gaze](https://github.com/zoriya/gaze)). Feel free to reach out if you want to talk!
|
||||
I work on [Kyoo](https://github.com/zoriya/kyoo) or other nerdy projects at night. I love weird tools (a [keyboard](https://github.com/zoriya/abyss) that I designed myself, [vim](./blogs/vim-superpowers/), tiling window manager like [dwl](https://codeberg.org/dwl/dwl) or [gaze](https://github.com/zoriya/gaze)). Feel free to reach out if you want to talk!
|
||||
|
||||
<!-- vim: set wrap : -->
|
||||
|
||||
@@ -251,7 +251,7 @@ For example, hardware acceleration, aka using your graphics card for faster tran
|
||||
I iterated a lot on this transcoder, my first implementation was written in C and used ffmpeg's library directly (this was also my first C and low level project, I had never heard of a pointer before). Everybody told me this was a bad idea and I should just create a node process that would call ffmpeg. While this was the right call if I wanted to quickly create a transcoder, learning to read the ffmpeg's source code and how it worked inside gave me lots of insights. Insights I still use today when working in today's transcoder, after rewriting everything in Rust and then in Go. Each rewrite originated from perspective shift on how to process state and streams, leading to the current implementation that finally archived every goal.
|
||||
|
||||
Kyoo's transcoder also has other features that resolve around video like extracting subtitles, fonts or media thumbnails for seeking (see picture below).
|
||||

|
||||

|
||||
|
||||
It's still a moving project with new features coming, but the core transcoding process is done and fully working! The next feature that will probably come is intro/outro detection using audio fingerprints.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
5
go.mod
5
go.mod
@@ -2,4 +2,7 @@ module github.com/zoriya/blog
|
||||
|
||||
go 1.21.7
|
||||
|
||||
require github.com/jpanther/congo/v2 v2.8.2 // indirect
|
||||
require (
|
||||
github.com/jpanther/congo/v2 v2.8.2 // indirect
|
||||
github.com/nunocoracao/blowfish/v2 v2.68.0 // indirect
|
||||
)
|
||||
|
||||
2
go.sum
2
go.sum
@@ -1,2 +1,4 @@
|
||||
github.com/jpanther/congo/v2 v2.8.2 h1:UNg7225ZqLSt9zu0xBOh5iM9TXnuNG1Ta9eSsioHTEE=
|
||||
github.com/jpanther/congo/v2 v2.8.2/go.mod h1:1S7DRoO1ZYS4YUdFd1LjTkdyjQwsjFWd8TqSfz3Jd+M=
|
||||
github.com/nunocoracao/blowfish/v2 v2.68.0 h1:t6UNVY+EQgA5K3gLqnR/VLIxmjnbD7VpMyjW36T/C1c=
|
||||
github.com/nunocoracao/blowfish/v2 v2.68.0/go.mod h1:4SkMc+Ht8gpQCwArqiHMBDP3soxi2OWuAhVney+cuyk=
|
||||
|
||||
Reference in New Issue
Block a user