:::

Nextcloud客製化網頁:插入外部JavaScript腳本 / Nextcloud Customized Webpage: Inserting External JavaScript Scripts

布丁布丁吃布丁

Nextcloud客製化網頁:插入外部JavaScript腳本 / Nextcloud Customized Webpage: Inserting External JavaScript Scripts

2025-0121-132355.png

要大幅度修改Nextcloud的網頁的話,建立主題(theme)可能是最常見的建議。但如果我們是要在Nextcloud的網頁裡面插入外部JavaScript腳本的話,這手續可就麻煩得多了。讓我們應用調整Docker的Nextcloud的技巧,在Nextcloud安裝完後,自動佈署修改後的程式碼吧。

If you want to drastically modify the Nextcloud web interface, creating a theme is probably the most common suggestion. However, if you want to insert external JavaScript scripts into the Nextcloud web pages, the procedure becomes much more complicated. Let's apply the techniques of customizing a Dockerized Nextcloud instance to automatically deploy modified code after Nextcloud is installed.

(more...)

雜談:修正「布丁布丁吃什麼?」部分功能 / TALK: “Pulipuli’s Blog” Feature Improvements

布丁布丁吃布丁

雜談:修正「布丁布丁吃什麼?」部分功能 / TALK: “Pulipuli’s Blog” Feature Improvements

2025-0219-063301.png

每隔一段時間就把累積的問題逐步修正,這次要來修正的是下載跟目錄的問題。

(more...)

讓Docker架設的Nextcloud預設關閉或開啟應用程式 / Enabling or Disabling Apps by Default in a Dockerized Nextcloud Instance

布丁布丁吃布丁

讓Docker架設的Nextcloud預設關閉或開啟應用程式 / Enabling or Disabling Apps by Default in a Dockerized Nextcloud Instance

2025-0121-040807.png

既然談到用Docker架設Nextcloud,那我們就要活用Docker的架構,讓Nextcloud不僅僅是「開箱可用」,而且還是「自訂後」的可用。我們可以客製化的指令放在「/docker-entrypoint-hooks.d/post-installation」資料夾內,這樣就可以讓Nextcloud初次安裝完成後,自動進行我們要的設定。

Since we're talking about setting up Nextcloud with Docker, let's leverage Docker's architecture to make Nextcloud not just "usable out-of-the-box," but usable after customization. We can place custom commands in the /docker-entrypoint-hooks.d/post-installation directory, allowing Nextcloud to automatically perform our desired configurations after the initial installation completes.

(more...)

雜談:有電梯與沒有電梯的大樓 / Talk: Buildings With and Without Elevators

布丁布丁吃布丁

雜談:有電梯與沒有電梯的大樓 / Talk: Buildings With and Without Elevators

2025-0106-001906.png

到底是走很近就能抵達,但沒有電梯的大樓好;還是必須走到山上,但是有電梯的大樓好呢?

(more...)

用Docker建構開箱可用的Nextcloud  / Deploying a Ready-to-Use Nextcloud Instance with Docker

布丁布丁吃布丁

用Docker建構開箱可用的Nextcloud  / Deploying a Ready-to-Use Nextcloud Instance with Docker

2025-0121-032627.png

Nextcloud是一個相當受歡迎的自架雲端硬碟應用程式。過往我都是用LXC的容器形式架設,這次我們要用Docker技術架設Nextcloud。要架設一個開箱可以用的Nextcloud其實還是有點複雜,我把相關參數整理成docker-compose.yml,希望對有需要的人有所幫助。

Nextcloud is a popular self-hosted cloud storage application. Previously, I used LXC containers for setup, but this time we'll use Docker. Setting up a ready-to-use Nextcloud instance can be somewhat complex. I've organized the relevant parameters into a docker-compose.yml file, hoping it will be helpful for those in need.

(more...)

雜談:燈泡不時熄滅,好像還是燈泡的問題 / TALK: The Lightbulb Keeps Going Out; It Seems to Still Be a Problem With the Bulb

布丁布丁吃布丁

雜談:燈泡不時熄滅,好像還是燈泡的問題 / TALK: The Lightbulb Keeps Going Out; It Seems to Still Be a Problem With the Bulb

2025-0214-204110.png

一直搞不懂為什麼燈泡會時常熄滅的我,在調整了很多次熄滅的燈泡後,我忽然意識到這可能還是燈泡的問題,但是卻不是燈泡本身能不能正常運作的問題。

(more...)

不知道怎麼下後設資料?用AI幫你添增索引關鍵字  / Don't Know How to Add Metadata? Use AI to Write Keywords

布丁布丁吃布丁

不知道怎麼下後設資料?用AI幫你添增索引關鍵字  / Don't Know How to Add Metadata? Use AI to Write Keywords

2025-0121-020842.png

我開發了一個家用的倉儲管理系統來記錄家裡物品的收納位置和存量。為了讓我更容易用搜尋找到物品,我使用Google Gemini來解析物品的照片,以此來添增後設資料(metadata),提高它被檢索找到的機會。使用下來意外地好用,但也有些限制。這篇就記錄一下這種用AI識別照片添增物品後設資料的心得吧。

I developed a home inventory management system to track the location and quantity of items in my house. To make searching for items easier, I use Google Gemini to analyze photos of the items, adding metadata to increase their searchability. It's surprisingly effective, but it also has some limitations. This post documents my experience using AI image recognition to enhance item metadata.

(more...)