Helper for Discord Video Sharing video captured by NVidia Shadowplay
Find a file
2023-11-11 14:39:49 +01:00
css theming 2023-08-01 11:07:29 +02:00
image Add icon 2023-08-01 10:18:08 +02:00
pages resolve security issue raised in the console 2023-08-01 15:21:24 +02:00
src add nitro flag 2023-11-11 14:03:53 +01:00
.gitignore ignore log files 2023-07-30 14:05:17 +02:00
LICENSE Add LICENSE file 2023-08-01 10:20:02 +02:00
package-lock.json bump version to 1.4.0 2023-08-24 16:13:38 +02:00
package.json bump version to 1.4.0 2023-08-24 16:13:38 +02:00
README.md Add script snippet to download/install DSR 2023-11-11 14:39:49 +01:00
tsconfig.json support multiple files at once (#3) 2023-08-24 15:59:46 +02:00

Discord Video Sharing

Helper for sharing video captured by NVidia Shadowplay in Discord.

Download/Install

2 choices :

  • Manually head to the release page.

  • Download it via command lines

    Copy and paste this snippet into the windows command prompt:

    PowerShell -Command "" ^
      "$releases = 'https://git.mylloon.fr/api/v1/repos/Anri/dsr/releases/latest';" ^
      "$link = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].assets.browser_download_url;" ^
      "$archive = 'dsr.zip';" ^
      "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^
      "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
      "cd $env:TEMP;" ^
      "Expand-Archive -Path $archive -DestinationPath '%LOCALAPPDATA%\DSR' -Force;" ^
      "Move-Item -Path '%LOCALAPPDATA%\DSR\dsr-win32-x64\*' -Destination '%LOCALAPPDATA%\DSR' -Force;" ^
      "Remove-Item '%LOCALAPPDATA%\DSR\dsr-win32-x64';'" ^
      "$WshShell = New-Object -comObject WScript.Shell;" ^
      "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^
      "$Shortcut.TargetPath = '%LOCALAPPDATA%\DSR\dsr.exe';" ^
      "$Shortcut.Save();" ^
      "REG ADD 'HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\dsr' /f /v DisplayName /t REG_SZ /d 'DSR';" ^
      "REG ADD 'HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\dsr' /f /v InstallLocation /t REG_SZ /d '%LOCALAPPDATA%\DSR'"
    

    If you have nitro, add /nitro flag when running DSR.

More info

  • KISS interface
    • Support drag&drop
  • Keep the video under 25mb (discord limitation)
    • If already under the limit, the file won't be compressed
    • Nitro suppport via /nitro flag
  • Merge all audio files into one track, while keeping the original ones (keeping track's title too)
  • Support multiples files

Package the app for Windows

npm i --platform=win32
npm run make -- --platform=win32

It will create a ZIP folder in ./out/make.