Added: 3 years ago by Gay HD
Categories: Asian gay sex
# Hydrax Dashboard & Short Link Update ## New Dashboard Update - There's a new dashboard available now, you might want to try it out! --- ## Short Link Domain Issue > **short.ink** domain is temporarily down. > Please use **short.icu** instead. ### **Automatic Replace Script** We have released a small JavaScript file that will automatically find and replace all `short.ink` domains with `short.icu` on your website. **How to use:** Embed this script anywhere after the `
` tag, or anywhere JavaScript can be executed. ```html ``` **Note:** You must turn off AdBlock to use Abyss features like Upload. --- ## Hydrax Upload & Remote Features - **Upload:** Direct file upload up to **10GB**. - **Remote Drive:** Remote from Google Drive file ID. - **Remote URL:** (MP4 direct remote not supported currently) - **Add Queue:** You can add multiple links (one per line) for sequential processing. _Remote HLS support is in the queue and will be released soon!_ **Example link queue:** ``` https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4 ``` --- ## Example Code Snippets ### cURL ```bash curl -X POST -F "file=@demo.mp4" "http://up.hydrax.net/YOUR_API_KEY" ``` ### Python ```python import requests url = 'http://up.hydrax.net/YOUR_API_KEY' file_name = 'demo.mp4' file_type = 'video/mp4' file_path = './demo.mp4' files = { 'file': (file_name, open(file_path, 'rb'), file_type) } r = requests.post(url, files=files) print(r.text) ``` ### PHP ```php bool(false) ``` ### NodeJs ```javascript const request = require('request'); const fs = require('fs'); var file_name = 'demo.mp4'; var file_type = 'video/mp4'; var file_path = './demo.mp4'; var formData = { file: { value: fs.createReadStream(file_path), options: { filename: file_name, contentType: file_type } } }; var options = { url: 'http://up.hydrax.net/YOUR_API_KEY', method: 'POST', formData: formData }; request(options, function (err, resp, body) { if (err) throw err; console.log(body); }); ``` --- ## Remote Upload Queue Example (Python) ```python import requests api_url = "http://up.hydrax.net/YOUR_API_KEY" def upload_file(file_path): with open(file_path, "rb") as f: files = {'file': (file_path, f, 'video/mp4')} response = requests.post(api_url, files=files) print(f"Upload result for {file_path}: {response.text}") # List of files to upload (queue) file_list = [ "BigBuckBunny.mp4", "ElephantsDream.mp4", # Add more files here ] for file_path in file_list: upload_file(file_path) ``` --- ## Note - Turn off AdBlock for full features. - Remote HLS support coming soon. - For support, visit the new dashboard or contact admin.