![Miras](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F462e529df80d6de149b5926a5ad2a76b.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![docker emoji](/_next/image?url=https%3A%2F%2Femoji.slack-edge.com%2FT0266FRGM%2Fdocker%2F02dd5a22f2ceb2dc.png&w=96&q=75)
Posts tagged with :docker:
![Miras](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F462e529df80d6de149b5926a5ad2a76b.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![Miras](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F462e529df80d6de149b5926a5ad2a76b.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![Hereux](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F15466f3ce898f8d8e809460cd6b7dbef.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0001-192.png&w=96&q=75)
I bought a new Raspberry Pi 5 because my old one was not fast enough for the future docker containers. So I printed a casing and switched the pis. It didn't work as planned, since I forgot to give the new pi a fixed ip adress. Had to figure solutions out. Also installed Rpi Monitor.Didn't know I had to post this into scrapbook too, please be nice.
![Hereux](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F15466f3ce898f8d8e809460cd6b7dbef.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0001-192.png&w=96&q=75)
I tried different functions out. My main goal was/is to make my portainer, pihole, heimdall and other container websites easier accessible. instead of typing "192.168.1.111:9443" I want to have a domain and subdomain like "pihole.homeserver.local", so that I don't need ports anymore. But this didn't work, even now I don't know exactly how to.Didn't know I had to post this into scrapbook too, please be nice.
![Hereux](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F15466f3ce898f8d8e809460cd6b7dbef.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0001-192.png&w=96&q=75)
unfortunately I forgot to make a screenshot of it running. please note the readme file in this folderDidn't know I had to post this into scrapbook too, please be nice.
![slawek](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F184b655b5fed6f7bc27c326c4224ad90.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![OndřejStruhala](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-21%2F7454780075826_a1a07ba48556ddda5c2b_192.png&w=96&q=75)
![JosephDang](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fd59ed3b20df92ead8d859c1b00b4f672.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0018-192.png&w=96&q=75)
![ArnavKumar](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fb59e3f65e367f1f55d6e3f1591916e63.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0015-192.png&w=96&q=75)
![Angad](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-25%2F7351633173696_a6eec9da851129cb5595_192.jpg&w=96&q=75)
![YeGao](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-27%2F7635512019397_bfc06a153c4266849881_192.png&w=96&q=75)
![Thorben](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F407d63a8b54ea9c80ee268b6357ea731.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0008-192.png&w=96&q=75)
![idksarah](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-19%2F7445516483014_844c09c8484a60254d4b_192.jpg&w=96&q=75)
![qwerzl](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F7db170e150762abdd140227084d13e08.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0017-192.png&w=96&q=75)
![RyanDiLorenzo-U04JGJN2B40](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-14%2F7571710707798_5a307c5947f420eeda80_192.png&w=96&q=75)
![YeGao](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-27%2F7635512019397_bfc06a153c4266849881_192.png&w=96&q=75)
![MaximilianDorninger](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-04%2F7537013966929_4dc069a34cb98f767698_192.png&w=96&q=75)
![YeGao](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-27%2F7635512019397_bfc06a153c4266849881_192.png&w=96&q=75)
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
![Angad](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-25%2F7351633173696_a6eec9da851129cb5595_192.jpg&w=96&q=75)
![AnuradhaLakruwan](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-06%2F7534770726260_75ddbeeeb28fbd65d682_192.jpg&w=96&q=75)
![AnuradhaLakruwan](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-08-06%2F7534770726260_75ddbeeeb28fbd65d682_192.jpg&w=96&q=75)
![MADMAN-Modding](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F9ea2335891cd336b28e73e5baf3b603c.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0015-192.png&w=96&q=75)
![Mateo](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fd057421d78b4cf56c206cf86bc6f2846.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0013-192.png&w=96&q=75)
![dohun0310](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fc67bc1798d872fccf62fa037d93d78e9.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0016-192.png&w=96&q=75)
![ActuallyHappening](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-24%2F7323559051604_3ab9cee735bfe6828381_192.jpg&w=96&q=75)
serde
!
I've get a VEEERY slow build system using a Dockerfile
and docker build
, but this is currently suboptimal because docker build
1) doesn't log very well 2) requires a full rebuild even on little state change because 3) the dockerfile can't reuse state from the last build (that would defeat the purpose of the repeatability of docker builds!)
There is a very old project I'm taking inspiration from, github.com/therustmonk/cargo-docker/blob/master/src/main.rs
I'm building it here: github.com/ActuallyHappening/YMap/tree/master/crates/cargo-docker-build![LordBBQ](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fff94030b35d01054c51393e535986e5e.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0004-192.png&w=96&q=75)
![Angad](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-25%2F7351633173696_a6eec9da851129cb5595_192.jpg&w=96&q=75)
/clone-docker-image <image>
◦ Example: /clone-docker-image library/hello-world:latest
• Export an image to the export directory with /clone-docker-image <image>
◦ Example: /export-docker-image library/hello-world:latest
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![AlbertDu](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F88facc910ed5de35ca8587c585efe3ea.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0019-192.png&w=96&q=75)
![Mateo](/_next/image?url=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fd057421d78b4cf56c206cf86bc6f2846.jpg%3Fs%3D192%26d%3Dhttps%253A%252F%252Fa.slack-edge.com%252Fdf10d%252Fimg%252Favatars%252Fava_0013-192.png&w=96&q=75)
![Chay](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2023-06-06%2F5406035357552_5fa952e39065163d1683_192.jpg&w=96&q=75)
![Mish](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-07-14%2F7405791725447_c793b3c043c7d860fe34_192.png&w=96&q=75)
![小波](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-27%2F7341623739586_e66a74fa1ff677008e0f_192.png&w=96&q=75)
![Angad](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-25%2F7351633173696_a6eec9da851129cb5595_192.jpg&w=96&q=75)
main.go
file. In the last couple of weeks, I rewrote the entire codebase, adding features like Docker support and proper OAuth.
The most significant change, however, was the ability to use it as a headless CMS for static sites (such as Hugo sites) powered by Blogger. Configuration is rather simple and can use most common formats such as JSON, YAML, TOML, etc.
The project works by fetching posts from Blogger on a customizable interval and comparing against the last known posts. Any new posts are converted to Markdown and optionally, pushed to a Git repository. Assuming the Git repository is connected to a service like Vercel or is using a workflow, the changes will be deployed automatically. If overwriting is enabled in the configuration file, posts unpublished in Blogger will be deleted from the Hugo site.
Multiple destinations can be used too. In practice, that means multiple websites, for example, frontmatter mappings can also be customized to either disable frontmatter options or to make it work with other static site generators.
The code is also structured in a manner making it easy to add support for new features.
Any feedback would be appreciated. Feel free to make PRs or issues in the repository
GitHub repository: github.com/slashtechno/cross-blogger
YouTube video (same as attached video): www.youtube.com/watch?v=H3HyQ7h5ogE