Skip to content

Instantly share code, notes, and snippets.

View thanhtantran's full-sized avatar

Orange Pi Vietnam thanhtantran

View GitHub Profile
@thanhtantran
thanhtantran / FacebookArchiveSearchSkill.md
Created July 9, 2026 03:27
This skill allows Hermes to search, analyze, and retrieve information from a user's exported Facebook archive.

Facebook Archive Search Skill

Purpose

This skill allows Hermes to search, analyze, and retrieve information from a user's exported Facebook archive.

The archive is expected to be exported from Facebook Account Center using:

  • Format: JSON
  • Date Range: All Time
@thanhtantran
thanhtantran / headless-kiosk-chromium.md
Created January 14, 2026 13:57
Headless Kiosk Chromium + X11VNC trên Orange Pi

Headless Kiosk Chromium + X11VNC trên Orange Pi CM4 / 3B (RK3566)

Ubuntu 22.04.5 Server – Không HDMI – Xorg Dummy

Mục tiêu

  • Không cần HDMI / màn hình vật lý
  • Xorg chạy headless bằng dummy driver
  • Chromium chạy fullscreen (kiosk mode)
  • Mở cố định: http://localhost:5000
  • Điều khiển từ xa bằng x11vnc trong LAN
  • Tự động chạy sau reboot
@thanhtantran
thanhtantran / japan_travel_guide.md
Created April 6, 2025 16:37
Japan travel 10-Day Trip to Kyoto, Osaka, and Tokyo (Shibuya) - June 2025
@thanhtantran
thanhtantran / docker-compose.yml
Created January 16, 2025 10:44
paperless-ngx Orange PI 5
# Author : Tran Thanh Tan
# To install and update paperless with this file, do the following:
#
# - Copy this file as 'docker-compose.yml' and the files 'docker-compose.env'
# and '.env' into a folder.
# - Run 'docker compose pull'.
# - Run 'docker compose run --rm webserver createsuperuser' to create a user.
# - Run 'docker compose up -d'.
#
# For more extensive installation and update instructions, refer to the
@thanhtantran
thanhtantran / docker-compose.yml
Created January 12, 2025 07:31
excalidraw arm64 docker compose
services:
excalidraw:
container_name: excalidraw
ports:
- "80:80"
restart: on-failure
stdin_open: true
healthcheck:
disable: true
environment:
@thanhtantran
thanhtantran / load_balancer.conf
Created December 15, 2024 15:03
Nginx load_balancer exampls
http {
upstream backend_servers {
server 192.168.100.101;
server 192.168.100.102;
server 192.168.100.103;
}
server {
listen 80;
@thanhtantran
thanhtantran / docker-compose.yaml
Created December 3, 2024 06:12
ShinobiPro docker compose
services:
shinobi-image:
container_name: shinobi-pro
ports:
- 8081:8080/tcp
volumes:
- $HOME/shinobi-docker/streams:/dev/shm/streams:rw
- $HOME/shinobi-docker/config:/config:rw
- $HOME/shinobi-docker/customAutoLoad:/home/Shinobi/libs/customAutoLoad:rw
- $HOME/shinobi-docker/database:/var/lib/mysql:rw
@thanhtantran
thanhtantran / config.yaml
Last active November 25, 2024 10:29
frigate sample config
mqtt:
enabled: false
cameras:
Office1: # <------ Name the camera
enabled: true
ffmpeg:
inputs:
- path: rtsp://username:password@192.168.10.29:554/11 # <----- The stream you want to use for detection
roles:
@thanhtantran
thanhtantran / docker-compose.yaml
Created November 25, 2024 10:06
frigate docker compose template
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable-rk
shm_size: "128mb" # update for your cameras based on calculation above
devices:
- /dev/dri
- /dev/dma_heap
@thanhtantran
thanhtantran / aapanel-install.sh
Created October 21, 2022 04:03
aapanel orange pi 3 lts and orange pi 4 lts install
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
LANG=en_US.UTF-8
panelPort="7800"
if [ $(whoami) != "root" ]; then
echo "Please use the [root] user to execute the aapanel installation script!"
exit 1
fi