What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

1
1
1
1
1
0

김강훈 | 金江訓 Kim Kanghun shared the below article:

ActivityPub 서버에서 YouTube 추적 링크 방지하기

고남현 @gnh1201@hackers.pub

ActivityPub 서버에서 YouTube 추적 링크 방지하기

ActivityPub 서버에 공유되는 YouTube 링크는 종종 사용자들 사이에서 개인정보 보호 측면의 우려 사항으로 언급됩니다. 이는 공유된 URL에 포함된 si 파라미터나, YouTube 웹사이트 자체에 내장된 다양한 추적 기술 등 방문자를 추적하는 데 사용될 수 있는 여러 기술적 메커니즘 때문입니다.

현실적으로 볼 때, ActivityPub 프로토콜을 구현하는 프로젝트들이 이 문제에 대해 기본 제공 해결책을 제시할 가능성은 낮습니다. 이는 YouTube라는 특정 서비스에 국한된 문제가 아니라, 보다 광범위한 웹 추적 문제에 해당하기 때문입니다.

그럼에도 불구하고, 서버 관리자는 서버 차원에서 이러한 우려를 완화하기 위한 실질적인 조치를 취할 수 있습니다.

1. 대체 YouTube 프론트엔드 사용

YouTube로 직접 연결하는 대신, 개인정보 보호에 더 우호적인 대체 프론트엔드 사용을 권장할 수 있습니다.

  • DNT-YT (권장 — 이 시나리오를 위해 특별히 설계됨)
  • Piped
  • Invidious

이러한 프론트엔드들은 영상 접근성을 유지하면서도 추적을 줄이거나 제거하는 데 도움을 줍니다.

2. Nginx sub_filter를 사용한 링크 재작성

대체 프론트엔드를 설정한 이후에는, Nginx의 sub_filter 기능을 사용하여 YouTube 링크를 투명하게 재작성할 수 있습니다. 이를 통해 사용자가 원본 YouTube URL에 직접 접근하는 것을 방지하고, 대신 대체 프론트엔드를 통해 영상을 보도록 유도할 수 있습니다.

예시 설정은 다음과 같습니다.

sub_filter 'www.youtube.com/' 'dnt-yt.catswords.net/';
sub_filter 'youtube.com/' 'dnt-yt.catswords.net/';
sub_filter 'www.youtu.be/' 'dnt-yt.catswords.net/';
sub_filter 'youtu.be/' 'dnt-yt.catswords.net/';

결과

youtube.com 또는 youtu.be로 연결되는 링크가 일관되게 대체 프론트엔드 주소로 변경되는 것이 확인되면, 설정은 완료된 것입니다.

이 접근 방식을 실제로 적용한 사례는 아래 링크에서 확인할 수 있습니다.

https://catswords.social/@gnh1201/115801692643125819

Read more →
5
1
1
1
2
2
0
0
0
0
1
0
1
0
1
0
1
0
0
0
0

오늘을 빛내는 작은 도전들

1. 작은 성공도 축하한다
2. 실수는 배움의 기회로 여긴다
3. 긍정적인 마음가짐을 유지한다
4. 한 걸음씩 앞으로 나아간다
5. 스스로를 믿고 응원한다
6. 새로운 경험을 두려워하지 않는다
7. 감사함을 일상에 담는다

0
0
0
0
0
1
1
0
0
1
0
0
0
0
0

Annoucing git-pkgs, explore the dependency history of your git repositories.

git pkgs init
git pkgs blame
git pkgs history rails
git pkgs diff --from=v2.0
git pkgs stats
git pkgs why rails
git pkgs diff --from=HEAD~10
git pkgs diff --from=main --to=feature

nesbitt.io/2026/01/01/git-pkgs

0
0
0
0
2
1

"HAI共同ディレクターで計算機科学教授のJames Landay氏は、2026年に汎用人工知能(AGI)が実現することはないと明言した。その上で、各国が自国のデータや計算資源を管理する「AI主権(AI Sovereignty)」への関心が急速に高まると予測している。"
https://ledge.ai/articles/stanford_hai_ai_2026_evaluation_phase

0
0

So here i am - sorry to be annoying - but like, i don't want to be here to be annoying- trust me. I just wanna be leftalone to make art, but that aint happening anytime soon, so guess yoire stuck wigh me, linux peeps. And there will be more of me, seeing how censorship is going

So figure ojt how to deal with people like me if you are serious about spreading linux

How do you make linux approachable for peeps who DON'T HAVE a @feff in their lives?

0
0
0
0
0
1

I was asked by a family member why it was taking so long to paste something large into a new Microsoft Word document on their computer, I sarcastically replied it was because it takes a while to upload it all to the copilot AI nonense first. And then I realized accidentally I might be right...I disabled copilot in Word and it went back to being instant again

So that's cool that Microsoft seems uploading everything you paste into a new Word doc to their servers now.

0
0
0
1