[GH-ISSUE #1238] Feature Request: Enhancements and Improvements #795

Open
opened 2026-03-02 16:01:28 +03:00 by kerem · 2 comments
Owner

Originally created by @addy005 on GitHub (Oct 4, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1238

Hello! First of all, I want to say how much I appreciate your work on this tool. It's incredibly useful, and I’ve been using it as a private streaming service due to its fast performance. I have a few suggestions for potential upgrades that would make the tool even better:

1. URL Upload Reliability

The URL upload feature doesn't work consistently for me. It would be great if you could improve its reliability by incorporating tools like curl, requests, or aria2 as alternative methods for handling the uploads.

A "Copy Link" button would be really helpful. This would allow users to select multiple files and copy their direct download links to the clipboard. Additionally, implementing a TinyURL shortener would make large links easier to share.

Here’s an example of how the TinyURL functionality could be added:

function shortenURLs(urls, copyToClipboard) {
    const shortUrls = [];
    let completed = 0;
    urls.forEach(url => {
        // TinyURL API request to shorten each URL
        fetch(`https://tinyurl.com/api-create.php?url=${encodeURIComponent(url)}`)
            .then(response => response.text()) // Parse response as text
            .then(shortUrl => {
                shortUrls.push(shortUrl);  // Collect the shortened URL
                completed++;  // Track how many URLs are shortened
                if (completed === urls.length) {  // Check if all URLs are processed
                    if (copyToClipboard) {
                        copyToClipboard(shortUrls.join('\n'));  // Copy all shortened URLs to clipboard
                    } else {
                        const blob = new Blob([shortUrls.join('\n')], { type: 'text/plain' });
                        const link = document.createElement('a');
                        link.href = URL.createObjectURL(blob);  // Create a downloadable text file
                        link.download = 'short-urls.txt';
                        link.click();  // Trigger file download
                    }
                }
            });
    });
}

3. Video Player Upgrades

I've been using the tool primarily for video streaming, but there are a few issues I'd love to see addressed:

  • 4K and Large Video Playback: Many 4K videos and movies larger than 2GB are not playing showing grey screen—some of them are being downloaded instead of streamed.
  • Shareable Stream Links: It would be helpful if we could generate a stream link that allows others to play the video directly without needing to enter login.
  • Improved Format Support: The player currently struggles with certain formats, particularly larger files and formats like MP4,MKV and TS. Tools like Bhadoo Index for Google Drive support files as large as 90GB+, so having similar support would be fantastic. maybe for that it need encdoing or something im not sure but i guess you know about that.
  • Folder Streaming: Could you add the ability to stream entire folders? This would allow me to share a folder link where others can watch all videos in that folder without needing to log in.

Thanks again for your hard work, and I hope these suggestions are helpful! love your work.😊


Originally created by @addy005 on GitHub (Oct 4, 2024). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1238 Hello! First of all, I want to say how much I appreciate your work on this tool. It's incredibly useful, and I’ve been using it as a private streaming service due to its fast performance. I have a few suggestions for potential upgrades that would make the tool even better: ### 1. URL Upload Reliability The URL upload feature doesn't work consistently for me. It would be great if you could improve its reliability by incorporating tools like `curl`, `requests`, or `aria2` as alternative methods for handling the uploads. ### 2. Copy Link Button with TinyURL Integration A "Copy Link" button would be really helpful. This would allow users to select multiple files and copy their direct download links to the clipboard. Additionally, implementing a TinyURL shortener would make large links easier to share. Here’s an example of how the TinyURL functionality could be added: ```javascript function shortenURLs(urls, copyToClipboard) { const shortUrls = []; let completed = 0; urls.forEach(url => { // TinyURL API request to shorten each URL fetch(`https://tinyurl.com/api-create.php?url=${encodeURIComponent(url)}`) .then(response => response.text()) // Parse response as text .then(shortUrl => { shortUrls.push(shortUrl); // Collect the shortened URL completed++; // Track how many URLs are shortened if (completed === urls.length) { // Check if all URLs are processed if (copyToClipboard) { copyToClipboard(shortUrls.join('\n')); // Copy all shortened URLs to clipboard } else { const blob = new Blob([shortUrls.join('\n')], { type: 'text/plain' }); const link = document.createElement('a'); link.href = URL.createObjectURL(blob); // Create a downloadable text file link.download = 'short-urls.txt'; link.click(); // Trigger file download } } }); }); } ``` ### 3. Video Player Upgrades I've been using the tool primarily for video streaming, but there are a few issues I'd love to see addressed: - **4K and Large Video Playback**: Many 4K videos and movies larger than 2GB are not playing showing grey screen—some of them are being downloaded instead of streamed. - **Shareable Stream Links**: It would be helpful if we could generate a stream link that allows others to play the video directly without needing to enter login. - **Improved Format Support**: The player currently struggles with certain formats, particularly larger files and formats like MP4,MKV and TS. Tools like Bhadoo Index for Google Drive support files as large as 90GB+, so having similar support would be fantastic. maybe for that it need encdoing or something im not sure but i guess you know about that. - **Folder Streaming**: Could you add the ability to stream entire folders? This would allow me to share a folder link where others can watch all videos in that folder without needing to log in. --- Thanks again for your hard work, and I hope these suggestions are helpful! love your work.😊 ---
Author
Owner

@prasathmani commented on GitHub (Oct 4, 2024):

Thank you so much for your kind words and detailed suggestions for enhancing the tool. I truly appreciate your feedback and I’m glad to hear that you find the tool helpful.

<!-- gh-comment-id:2393424667 --> @prasathmani commented on GitHub (Oct 4, 2024): Thank you so much for your kind words and detailed suggestions for enhancing the tool. I truly appreciate your feedback and I’m glad to hear that you find the tool helpful.
Author
Owner

@addy005 commented on GitHub (Oct 25, 2024):

please remind me when you push these updates
also add some options here
image
like (delete) (copy link)
also add add to fav or mark any file button

<!-- gh-comment-id:2437626599 --> @addy005 commented on GitHub (Oct 25, 2024): please remind me when you push these updates also add some options here <img width="435" alt="image" src="https://github.com/user-attachments/assets/5c2482b8-49de-4396-9d6c-a95323429f8c"> like (delete) (copy link) also add add to fav or mark any file button
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#795
No description provided.