Compare commits

..
1 Commits
6 changed files with 2531 additions and 3425 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
node_modules/ node_modules/
docs/
*.log *.log
.DS_Store .DS_Store
dist/
-4
View File
@@ -1,4 +0,0 @@
docs/
*.log
.git
.github
+133 -1022
View File
File diff suppressed because it is too large Load Diff
+121
View File
@@ -0,0 +1,121 @@
# NLnet Foundation / NGI Zero Grant Application Dossier
## Project: YakTube (Accessible & Lightweight ActivityPub Media Engine)
> **Belge Amacı:** Bu dosya, 3 Eylül 2026 tarihinde açılacak olan **NLnet NGI Zero Commons Trust / Digital Accessibility** hibe çağrısı için hazırlanmış resmi İngilizce başvuru taslağıdır. Formdaki sorulara göre kopyala-yapıştır yapmaya hazır şekilde yapılandırılmıştır.
---
### 1. General & Contact Information / Genel ve İletişim Bilgileri
* **Project Name (Proje Adı):**
`YakTube: Accessible, Lightweight & Decentralized ActivityPub Media Engine`
* **Applicant / Contact Person (Başvuran Kişi):**
`Enes Yakıştır`
* **Email Address (E-posta):**
`[email protected]`
* **Country (Ülke):**
`Turkey`
* **Organization / Community (Organizasyon):**
`YakNet (YakHub Open Source Accessibility Initiative)`
* **Website / Live Demo URL (Canlı Demo):**
`https://yaktube.yakhub.com.tr`
* **Source Code Repositories (Açık Kaynak Kod Depoları):**
* **On-Demand & A11y Plugin (Primary):** `https://yakhub.com.tr/YakNet/peertube-plugin-yaktube-ondemand`
* **On-Demand & A11y Plugin (GitHub Mirror):** `https://github.com/yakistir98/peertube-plugin-yaktube-ondemand`
* **YakNet SSO Auth Plugin (Primary):** `https://yakhub.com.tr/YakNet/peertube-plugin-auth-yaknet`
* **YakNet SSO Auth Plugin (GitHub Mirror):** `https://github.com/yakistir98/peertube-plugin-auth-yaknet`
* **Project License (Açık Kaynak Lisansı):**
`AGPLv3 / MIT (OSI-Approved Free & Open Source Licenses)`
---
### 1.1 Verified Banking Details / Resmi Banka ve Ödeme Bilgileri (Hakediş İçin Hazır)
* **Bank Name (Banka):** `Yapı ve Kredi Bankası A.Ş. (Yapı Kredi)`
* **Account Holder (Hesap Sahibi):** `Enes Yakıştır`
* **Currency (Para Birimi):** `EUR (Euro Vadesiz Hesap)`
* **IBAN (Euro IBAN):** `TR350006701000000319490793`
* **SWIFT / BIC Code:** `YAPITRIS`
* **Country:** `Turkey`
---
### 2. Short Project Summary (Abstract) / Proje Kısa Özeti
*(Formda "Explain the project in simple terms" kısmına yapıştırılacak İngilizce metin)*
**English Text:**
> "YakTube is a lightweight, screen-reader-first media syndication engine and client built on top of the open-source PeerTube/ActivityPub ecosystem. While commercial video platforms (like YouTube) and existing alternative frontends suffer from heavy JavaScript bloat, dynamic DOM instability, intrusive tracking, and poor screen-reader accessibility, YakTube provides a 100% WCAG 2.1 AAA-compliant, ad-free streaming and on-demand caching bridge. Developed directly by visually impaired engineers, YakTube includes a specialized PeerTube plugin, an on-demand ingestion bridge, and a sub-5MB native mobile client designed for seamless TalkBack and NVDA screen-reader navigation."
**Türkçe Açıklaması:**
YakTube, PeerTube ve ActivityPub ekosistemi üzerinde inşa edilmiş, ekran okuyucu odaklı, hafif bir medya platformu ve istemcisidir. Ticari platformların reklam ve erişilebilirlik engellerini ortadan kaldırarak; görme engelli yazılımcılar tarafından geliştirilmiş %100 WCAG 2.1 AAA uyumlu, reklamsız, 4.5 MB hafif mobil istemcili bir açık kaynak çözümü sunar.
---
### 3. The Challenge / Problem ve Çözülmek İstenen Zorluk
*(Formda "What is the problem you are trying to solve?" kısmına yapıştırılacak metin)*
**English Text:**
> "Access to digital multimedia remains one of the greatest barriers for visually impaired, blind, and assistive-technology users worldwide.
> 1. **Commercial Monopolies:** Mainstream platforms prioritize visual advertising algorithms, dynamic popups, and non-semantic DOM trees that severely degrade screen-reader experiences (TalkBack, NVDA, VoiceOver).
> 2. **Fragility of Scraper Frontends:** Public proxy instances (such as Invidious or Piped) regularly break due to upstream bot-guard countermeasures, lack decentralized ActivityPub federation, and offer zero specialized accessibility audits.
> 3. **The Fediverse Accessibility Void:** While PeerTube is the gold standard for decentralized video federation, vanilla instances lack built-in screen-reader ARIA live regions, simplified audio/podcast streaming layouts, and ultra-lightweight mobile clients for low-end devices.
>
> YakTube directly tackles these issues by engineering an upstream-compatible accessibility layer that empowers blind users to search, cache, stream, and federate media freely without surveillance or assistive barriers."
---
### 4. Technical Architecture & Innovation / Teknik Çözüm ve İnovasyon
*(Formda "What is the proposed solution and technical approach?" kısmına yapıştırılacak metin)*
**English Text:**
> "YakTube delivers a three-tier technical innovation:
> 1. **WCAG 2.1 AAA Screen-Reader & Pro Video Player Engine:** Re-architecting the web and client interface with strict semantic HTML5, explicit ARIA live regions, natural hands-free voice search (`Web Speech API`), full-featured YouTube keyboard navigation (`Space/K` play-pause, `J/L` 10s seek, `Left/Right` 5s seek, `T` Theater Mode, `I` Instant Video Stats, `C` Subtitles, `0-9` percentage jumps, `>/<` playback speed steps, `Shift+V`, `/`, `Escape`), and distraction-free audio playback modes.
> 2. **On-Demand ActivityPub Syndication Bridge:** A custom Node.js and PeerTube plugin controller that accepts search queries, validates media availability, performs automated channel routing (Music, Podcasts, Tech), and caches streams with an automated pruning lifecycle to conserve bandwidth and storage.
> 3. **Sub-5MB Native Mobile Client:** A zero-telemetry, lightweight Android client (`tr.com.yaknet.yaktube`) engineered specifically for TalkBack gesture control, eliminating background memory overhead and providing offline cached listening."
---
### 5. Upstream Ecosystem Benefit / Ekosisteme ve Açık İnternete Faydası
*(Formda "How will this contribute to the open internet / NGI ecosystem?" kısmına yapıştırılacak metin)*
**English Text:**
> "YakTube is not a private silo; all core components are packaged as reusable open-source modules:
> - Any existing PeerTube administrator in the global Fediverse can install the `peertube-plugin-yaktube-ondemand` package with a single click to instantly make their instance 100% accessible to visually impaired communities.
> - The native Android client source code will be published as an accessible open-source template for ActivityPub media clients.
> - Full compliance with the **European Accessibility Act (EAA)** guidelines, providing a reference implementation for inclusive Fediverse software."
---
### 6. Work Plan, Milestones & Budget Breakdown / Çalışma Planı ve Bütçe
*(Talep Edilen Toplam Hibe: **5.000 €** - Geliştirici Ar-Ge Emeği / Developer Labor)*
#### 📍 Milestone 1: Advanced Screen-Reader Accessibility & WCAG 2.1 AAA Compliance
* **Estimated Labor:** 50 Hours (Developer R&D / A11y Engineering)
* **Budget Allocation:** **2.000 €**
* **Deliverables:**
- Full keyboard-only and screen-reader audit (NVDA, TalkBack, Orca).
- ARIA live region announcements for player states (buffering, playing, volume, subtitles).
- High-contrast accessible theme and automated accessibility regression test suite.
#### 📍 Milestone 2: Native Lightweight Android Client & Upstream Plugin Packaging
* **Estimated Labor:** 50 Hours (Mobile Client & API Integration)
* **Budget Allocation:** **2.000 €**
* **Deliverables:**
- Open-source release of the sub-5MB native Android client on YakHub and GitHub with APK builds.
- Complete TalkBack gesture optimization and background playback support.
- NPM packaging of `peertube-plugin-yaktube-ondemand` for standard PeerTube installations.
#### 📍 Milestone 3: Documentation, Fediverse CI/CD & Production Testing
* **Estimated Labor:** 25 Hours (DevOps, Documentation & Auditing)
* **Budget Allocation:** **1.000 €**
* **Deliverables:**
- Comprehensive English & Turkish installation and developer documentation on YakHub/GitHub.
- Multi-instance ActivityPub federation testing and automated containerized deployment scripts.
- Public final milestone report and live release validation.
* **TOTAL REQUESTED GRANT:** **5.000 €**
---
### 7. Why We Are Uniquely Qualified / Neden Bu Projeyi Biz Başarabiliriz?
**English Text:**
> "The project lead is a passionate visually impaired software engineer who lives with assistive technology daily. Rather than treating accessibility as an external afterthought, YakTube is built from the ground up through lived experience, practical engineering, and deep commitment to open-source digital sovereignty. A fully functioning live prototype (`yaktube.yakhub.com.tr`) and working APK are already operational, demonstrating technical capability and guaranteed milestone delivery."
+4 -8
View File
@@ -1,17 +1,14 @@
{ {
"name": "peertube-plugin-yaktube-ondemand", "name": "peertube-plugin-yaktube-ondemand",
"version": "1.4.27", "version": "1.4.0",
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube", "description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
"main": "main.js", "main": "main.js",
"library": "./main.js",
"staticDirs": {},
"translations": {},
"clientScripts": [ "clientScripts": [
{ {
"script": "client.js",
"scopes": [ "scopes": [
"common" "common"
] ],
"script": "client.js"
} }
], ],
"css": [ "css": [
@@ -39,9 +36,8 @@
"author": "Enes Yakıştır <[email protected]>", "author": "Enes Yakıştır <[email protected]>",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand.git" "url": "https://github.com/enesyakistir/peertube-plugin-yaktube-ondemand.git"
}, },
"homepage": "https://yaktube.yakhub.com.tr", "homepage": "https://yaktube.yakhub.com.tr",
"bugs": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand/issues",
"license": "AGPL-3.0-or-later" "license": "AGPL-3.0-or-later"
} }
-118
View File
@@ -1,55 +1,3 @@
/* 100% Elimination of PeerTube Mobile Open-in-App & Incompatible Browser Banners */
#incompatible-browser,
.alert-light#incompatible-browser,
div[id="incompatible-browser"],
.incompatible-browser,
.mobile-msg,
my-header .mobile-msg,
[class*='mobile-msg'],
button[title*='Bu mesajı kapat'],
button[aria-label*='Bu mesajı kapat'],
button[title*='Dismiss'],
.msg.ellipsis,
.peertube-button-link.secondary-button {
display: none !important;
visibility: hidden !important;
height: 0 !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
pointer-events: none !important;
opacity: 0 !important;
position: absolute !important;
z-index: -999999 !important;
clip: rect(0, 0, 0, 0) !important;
}
/* Permanent Aggressive Suppression of Generic JoinPeerTube / Framasoft Open-in-App Banners */
my-open-app,
my-open-in-app,
my-client-app-banner,
.open-app-container,
.app-banner,
[class*='open-app'],
[class*='open-in-app'],
.mobile-app-banner,
.app-promotion,
.client-app-banner,
a[href*='play.google.com/store/apps/details?id=app.joinpeertube'],
a[href*='f-droid.org'],
a[href*='joinpeertube'] {
display: none !important;
visibility: hidden !important;
height: 0 !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
pointer-events: none !important;
opacity: 0 !important;
position: absolute !important;
z-index: -99999 !important;
}
/* YakTube Accessibility & On-Demand CSS */ /* YakTube Accessibility & On-Demand CSS */
:focus-visible { :focus-visible {
@@ -895,69 +843,3 @@ body.yaktube-theater-mode .video-js {
.yaktube-info-toast-row b { .yaktube-info-toast-row b {
color: #fff !important; color: #fff !important;
} }
/* -------------------------------------------------------------------------- */
/* ACCESSIBLE PLAYER ACTION BAR & SHORTCUTS (v1.4.1) */
/* -------------------------------------------------------------------------- */
.yaktube-player-action-bar {
display: flex !important;
flex-wrap: wrap !important;
gap: 8px !important;
align-items: center !important;
background: #181820 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 12px !important;
padding: 10px 14px !important;
margin: 12px 0 16px 0 !important;
width: 100% !important;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}
.yaktube-player-bar-label {
font-size: 13px !important;
font-weight: 700 !important;
color: #ff8f37 !important;
margin-right: 6px !important;
display: flex !important;
align-items: center !important;
gap: 4px !important;
}
.yaktube-player-action-btn {
background: #252530 !important;
color: #f1f1f1 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 8px !important;
padding: 6px 12px !important;
font-size: 13px !important;
font-weight: 600 !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
transition: all 0.2s ease !important;
}
.yaktube-player-action-btn:hover,
.yaktube-player-action-btn:focus {
background: rgba(255, 143, 55, 0.2) !important;
border-color: #ff8f37 !important;
color: #fff !important;
outline: none !important;
}
/* Suppress 404 Mascot and Error Page on Search results */
body:has(#yaktube-ondemand-container) my-error-page,
#yaktube-ondemand-container ~ my-error-page,
my-error-page:has(~ #yaktube-ondemand-container),
my-error-page {
/* Only hide if search param is active */
}
body:has(#yaktube-ondemand-container) my-error-page {
display: none !important;
visibility: hidden !important;
height: 0 !important;
overflow: hidden !important;
}