Fix bugs and make the readme better

This commit is contained in:
2026-01-29 16:40:33 -06:00
parent 8007eeb043
commit 02b10131f9
4 changed files with 41 additions and 20 deletions

View File

@@ -1,39 +1,58 @@
# TYTD 2025
A YouTube downloader writen in [CrossLang](https://crosslang.tesseslanguage.com/)
My web based YouTube downloader that I created in 2025 writen in [CrossLang](https://crosslang.tesseslanguage.com/), my own language
![The Image](https://crosslang.tesseslanguage.com/images/tytdscreenshot.jpg)
[Website](https://crosslang.tesseslanguage.com/software/webapps/tytd2025/)
# Features
- Uses [SQLite3](https://www.sqlite.org/) for it's database (embedded into TessesFramework)
- Can download videos, playlists and channels (you need a channel url like this [https://www.youtube.com/channel/UCBa659QWEk1AI4Tg--mrJ2A](https://www.youtube.com/channel/UCBa659QWEk1AI4Tg--mrJ2A))
- Can subscribe to channels
- Can create playlists (that are stored on the server)
- Search and browse your downloaded videos, playlists, or channels (the search is very basic though)
- User accounts
- Videos can be tagged based on your downloader's TYTD tag (to determine which instance downloaded it)
- Plugins from [CPKG](https://cpkg.tesseslangauge.com/) or any CPKG compliant server
- Can download YouTube videos either Low quality (but doesn't) require [ffmpeg](https://ffmpeg.org/), you can also download individual streams (also doesn't need [ffmpeg](https://ffmpeg.org/)), or to MP4 (doesn't work on wii due to libx264 having illegal instruction), MKV (so no transcode), MP3 or FLAC (these do need [ffmpeg](https://ffmpeg.org/) in your PATH however)
- Runs on the Wii using the [Wii Linux Continuation Project](https://wiibrew.org/wiki/Wii-Linux#Wii_Linux_Continuation_Project) (albeit extremely slowly, despite this that's where I run it)
## To Install
Install [crosslang](https://crosslang.tesseslanguage.com/downloads/index.html)
from source:
```bash
cd Tesses.YouTubeDownloader.Server
git clone https://onedev.site.tesses.net/tytd2025
cd tytd2025/Tesses.YouTubeDownloader.Server
crosslang install-webapp
# Save to Videos
crosslang webapp tytd2025 --port=3255
# Save anywhere (unix, replace /path/to/tytd with the folder you want)
export TYTDDIR=/path/to/tytd
crosslang webapp tytd2025 --port=3255
# Save anywhere (windows, replace C:\path\to\tytd with the folder you want)
SET TYTDDIR=/path/to/tytd
crosslang webapp tytd2025 --port=3255
```
from package manager:
```bash
crosslang install-webapp Tesses.YouTubeDownloader.Server
```
# Save to Videos
## To Run
Save to videos:
```bash
crosslang webapp tytd2025 --port=3255
```
# Save anywhere (unix, replace /path/to/tytd with the folder you want)
Save to a folder (unix):
```bash
# Replace /path/to/tytd with the folder you want
export TYTDDIR=/path/to/tytd
crosslang webapp tytd2025 --port=3255
```
# Save anywhere (windows, replace C:\path\to\tytd with the folder you want)
SET TYTDDIR=/path/to/tytd
Save to a folder (windows):
```batch
REM Replace C:\path\to\tytd with the folder you want
SET TYTDDIR=C:\path\to\tytd
crosslang webapp tytd2025 --port=3255
```

View File

@@ -151,7 +151,7 @@ class TYTDApp {
case 3:
{
const createUser = ctx.QueryParams.GetFirstBoolean("user");
const createUser = (ctx.QueryParams.TryGetFirst("user") ?? "no")=="yes";
var seconds = this.OOBE_STATE.pollSeconds;
seconds += this.OOBE_STATE.pollMinutes * 60;

View File

@@ -12,7 +12,9 @@ func Pages.OobePage3()
</div>
<hr class="max">
<div class="center-align">
<a href="./oobe?page=2" class="button circle small">2</a>
<a href="./oobe?page=2" class="button circle small">
<i>done</i>
</a>
<div class="small-margin">Plugins</div>
</div>
<hr class="max">

View File

@@ -3,7 +3,7 @@ func Pages.Welcome(redirect)
const html = <null>
<h1>You are all set</h1>
<p>
This is Tesses YouTube Downloader 2025, a YouTube Downloader created in <a href="https://crosslang.tesseslanguage.com/">CrossLang</a>
This is Tesses YouTube Downloader 2025, a YouTube Downloader created in <a target="_blank" href="https://crosslang.tesseslanguage.com/">CrossLang</a>
<h4><i>home</i> Home</h4>
Once you click the <b>{"I'm Done"}</b> button, you will be able to add YouTube videos to the downloader by using <i>add</i>, you can download the video from the server using <i>download</i> or view metadata/watch the video using <i>info</i> (this also will allow you to view playlist/channel contents)