Notes on Self-Hosted Web Bookmark Service

Notes on Self-Hosted Bookmark Service I mainly tried Karakeep, ArchiveBox and linkding, but in the end I chose the forked linkding-cn. My Requirements Required Features Provide a browser extension for quickly saving webpage bookmarks Be able to tag bookmarks and search by tag Support importing/exporting Netscape HTML Optional Features Support webpage snapshots, and try to store them locally to avoid wasting archive.org resources Support browser extension snapshot capture, to avoid triggering CAPTCHA and firewall page issues Support recursive bookmarks, making it convenient to split and organize bookmarks by major category Support AI auto-tagging Karakeep It satisfies the following features: ...

2026-08-13 · 5 mins · 3rd

Notes on Self-Hosted Chat Service

Notes on Self-Hosted Chat Service I tried Stoat (formerly Revolt), Tailchat and Matrix, and found that there is no perfect solution. Background When playing online games, for the sake of convenient communication, a chat software that supports the following features is needed: Support multi-platform clients including the Web client At least support voice chat Besides satisfying basic chat needs, the operation should be user-friendly without too much learning cost Be able to complete self-hosting quickly, with clean and simple software library dependencies, without frequent forks or destructive updates Solution Selection After searching, the following three open source projects were settled on: ...

2026-07-05 · 6 mins · 3rd

Analyzing Why UDP Broadcasts Are Not Received

Analyzing Why UDP Broadcasts Are Not Received Due to business requirements, UDP broadcast and message reception were needed. However, testing revealed that UDP broadcast messages could be received using the nc command but not from within the program. This post documents the analysis process. Root Cause Searching on Stack Overflow, I found a similar question: Python UDP Broadcast not sending, where Adam Rosenfield noted: connect is fine with UDP, though it’s not standard practice. All it does is set the default destination address for all future send calls, and it limits the allowed source addresses from all future recv calls on the socket. It doesn’t actually do any sort of network connection. ...

2024-01-23 · 1 min · 3rd

Adding Filesystem Access Permissions for Specific Paths to Flatpak Applications

Adding Filesystem Access Permissions for Specific Paths to Flatpak Applications Flatpak uses a sandbox to ensure security, but as a result some folders and paths cannot be accessed inside applications. After consulting the documentation, I found that this problem can be solved by setting access permissions. Steps See the “Filesystem access” section of the official documentation. You can use the following option to add access permissions for a specific path: ...

2023-09-03 · 1 min · 3rd

Resolving the Issue of Restart Getting Stuck at A0 Self-Test while Shutdown Works Normally

Resolving the Issue of Restart Getting Stuck at A0 Self-Test while Shutdown Works Normally This had been bothering me for a very long time. Shutting down and then powering on works fine, but a direct restart gets stuck at the BIOS self-test, showing A0. Analysis I found that the machine could restart normally without the mechanical hard drive installed, but the problem appeared once it was installed. My suspicion was that the hard drive was partitioned into only a single partition like /dev/sdx, without partitioned entries such as /dev/sdx1. As a result, the BIOS self-test would misidentify the boot drive, preventing a normal boot. ...

2023-09-02 · 2 mins · 3rd

Restoring WindTerm's Disappeared Menu Bar

Restoring WindTerm’s Disappeared Menu Bar WindTerm’s menu bar mysteriously disappeared. Is this a collapse of morality, or a distortion of human nature? Steps First press Alt+W, then press Alt+M. Also note the program’s permissions. If the permissions do not match the current user, the menu bar also seems to disappear. References windTerm menu bar disappeared and how to bring it back

2023-09-02 · 1 min · 3rd

Fixing the Issue of VMware Shared Folder Failing After Reboot

Fixing the Issue of VMware Shared Folder Failing After Reboot Although the mechanism of the failure is unknown, from the system logs there are no errors. Maybe it was not executed? But as long as it can be solved, that is fine. Steps Just add a boot-time scheduled task: 1 crontab -e Add one line: 1 @reboot sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other -o uid=1000 -o gid=1000 -o umask=022 References Resolving the Issue of VMware Shared File Failure Between Linux and Windows Solution to Shared Folders Not Showing Under /mnt/hgfs/ in Ubuntu 16.04

2023-09-02 · 1 min · 3rd

Handling an Ubuntu update-notifier Error

update-notifier reports an AttributeError E: Unknown error: “<class ‘AttributeError’>” (module ‘apt_pkg’ has no attribute ‘Error’). Analysis First I found that the service has some scripts under /usr/lib/update-notifier/, and apt-check -> apt_check.py among them is the culprit. In my system, the erroring code looks like this: 1 2 3 4 5 6 7 8 9 10 11 import apt_pkg ... def get_apt_pkg_esm_cache(): ... try: esm_cache = apt_pkg.Cache(progress=None) except apt_pkg.Error: esm_cache = None The apt_pkg.Error attribute does not exist, but according to python-apt Navigation, it should, and: ...

2023-08-29 · 1 min · 3rd

Using a USB WiFi Adapter with Kali for Penetration Testing

Using a USB WiFi Adapter with Kali for Penetration Testing I found a driver-free USB WiFi adapter. Although it can access the internet without a driver, you still need to install the driver to unlock all its features. Steps 1. Buy a USB WiFi Adapter Search Taobao for kali and driver-free and just pick one you like. I used the 2.4G adapter from the Qiwei Huaqing shop that looks like a receiver. ...

2022-10-08 · 1 min · 3rd