Categories
blog

Self confession: Image & video formats!!!!!!!

Changing PNG to WebP and MP4 to newer codecs barely changes the feeling of the modern web.

Everything is still heavy, bloated, autoplaying, and endlessly loading.

The problem was never only the file format.

Stop the madness!!!!!!!

Categories
blog bookmark

signup – don’t forgot you do have account setup wizard :D

Screenshot 2026 05 25 at 14.47.48
Categories
bash blog SSH

tail

tail -n +1 *.js

Categories
blog mero.live

mero.live filter

Categories
blog mero.live officialstupid

talk.mero.live 24 hours

found more interesting things about Go lang, so ๐Ÿ˜ƒ why not start boiling my brain hard.

Same loop โ€” tiny CMS practice with an open tiny community style.

“Stay hungry, stay foolishโ€ย – Steve Jobs

Categories
blog mero.live officialstupid

mero.live Day 4 – done part!!!

Success Log

  • Grid refined the layout so the wall 1000 to 50 now.
  • Hardened Gestures wipe-to-camera logic for a much smoother
  • Fix Time-Stamping
  • Added new security layers to protect user videos and prevent unauthorized saving.
  • Locked the UI zoom and added custom brand icons for a professional, finished look.

Todo

  • still not happy with video quality and size.
  • camera overlay
  • more beter Gestures
Categories
blog VIDEO

video encoding drama

firefox drama!

cmd := exec.Command("/usr/bin/ffmpeg",
	"-y",
	"-i", temp,

	// LIMIT DURATION
	"-t", "4.0",

	// VIDEO SIZE (stable + no distortion)
	"-vf", "scale=720:720:force_original_aspect_ratio=increase,crop=720:720",

	// VIDEO ENCODING (balanced)
	"-c:v", "libx264",
	"-profile:v", "baseline",
	"-level", "3.1",

	"-crf", "23",
	"-preset", "fast", // โšก better than medium for server load

	// KEYFRAMES (CRITICAL for Firefox + scrolling)
	"-g", "30",
	"-keyint_min", "30",
	"-sc_threshold", "0",

	// PIXEL FORMAT (browser compatibility)
	"-pix_fmt", "yuv420p",

	// AUDIO (light + stable)
	"-c:a", "aac",
	"-b:a", "64k",
	"-ac", "2",

	// FAST START (important for streaming feel)
	"-movflags", "+faststart",

	fPath,
)

ok but not happy!

Categories
blog cms

surf

GOLD-backup-2026-04-23-1606.tar.gz

Categories
blog cms

joke of the day!

Screenshot 2026 04 22 at 13.37.01

A frustrating morning with madenp.com (Three.js and the CMS) had my head goingย ring-a-ring oโ€™ roses. Then, somehow, a spam email made me happy, which helped me get over the frustration ๐Ÿ˜„

Categories
blog cms threejs

Yes – Iโ€™m happy!!

After 5 days of digging, I finally stopped my madness over the text editorโ€”dragging, cloning, sorting, blah blah blahโ€”and got back to the core part.

Three.js cross-origin โ€˜Russian dollโ€™ effect at the end.

Categories
blog Nginx

best – till this date!!

server {
    listen 80 default_server;
    listen [::]:80 default_server;
    listen 443 ssl default_server;
    listen [::]:443 ssl default_server;
    
    root /var/www/html;
    index index.php index.html;
    
    server_name tikme.space *.tikme.space;
    
    ssl_certificate /etc/letsencrypt/live/tikme.space/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/tikme.space/privkey.pem;
    
    set $subdomain "";
    if ($host ~* ^([a-z0-9-]+)\.tikme\.space$) {
        set $subdomain $1;
    }
    
    location /template/ {
        alias /var/www/html/templates/;
        expires 30d;
        add_header Cache-Control "public, immutable";
        add_header Access-Control-Allow-Origin "*";
    }
    
    location / {
        try_files /sites/$subdomain$uri $uri $uri/ /index.php?$args;
    }
    
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php8.3-fpm.sock;
    }
    
    location ~ \.sqlite$ { deny all; }
    location ~ /\.ht { deny all; }
}