GitXplorerGitXplorer
r

nts-desktop

public
14 stars
2 forks
3 issues

Commits

List of commits on branch main.
Verified
42a4e7208b4661e795d77d0742c34cd3a818218d

Render login on top of normal app

rromeovs committed 2 months ago
Verified
2f9c6fe503c2bce688a3f6fdf19f69bab5481439

Remove load when opening

rromeovs committed 2 months ago
Verified
2212cac91fb832658a7df09aaaaa30cba8a47a79

Extract router

rromeovs committed 2 months ago
Verified
3c8b13727db34c0426a6a826f15a61d57f6af24c

Show log in or log out conditionally

rromeovs committed 2 months ago
Verified
a5bcf2f149709d2ba4304f89538f972cbfa7e112

Improve login styling

rromeovs committed 2 months ago
Verified
5b9c31593c13ae73367f808210992427c8b58581

Improve notification styles

rromeovs committed 2 months ago

README

The README file for this repository.

NTS Desktop

CI/CD

An unofficial desktop app for NTS built in Electron.

Usage

  • Click the NTS logo in the menubar to open the player.
  • Use the left and right buttons on the player to navigate between channels. You can also use the arrow keys.
  • Click the play/stop button on the live streams to play them. Spacebar works too.
  • On the live streams click the tracklist button in to top right corner to open the live tracklist in the browser. (This will only work if you are an NTS Supporter).
  • Drop the link from the browser to an archive show on the menubar icon to play it, .webloc files work too.
  • On the archive screen, you can scroll down to reveal the controls and tracklist.
  • Click on a tracklist item to copy the information.
  • Press ⌘Q when the window is open.
  • You can refresh the app with ⌘R
  • ctrl + N will open NTS Desktop
  • Pressing T when the window is open will open the tracklist
  • Pressing C when the window is open will open the chat window for that channel
  • Pressing 1 or 2 when the window is open will start playing the corresponding channel
  • Pressing - and + will control the volume of the player

Installation

Go to the Releases Page and fetch the .dmg file from the latest release.

Open the disk image and drag the NTS Desktop app to Applications and open it.

The first time you open the app, it will show an erro because the app isn't signed. I do not have a Mac Developer license.

To open the app anyway, you can:

System Preferences > Security & Privacy > General > Open Anyway

I have only tested this app on macOS, so I can't guarantee it works on Linux or Windows. If people want to help me port it over, shoot me a message, PR's are welcome!

Local Development

The project is structured as follows:

./
  src/
    main.ts     # The electron main file
    preload.js  # A setup file for the browser context
    client/     # The electron renderer files
      main.ts
      ...

To start the app in developement mode, run:

make dev

You can now start editing the renderer files, changes will automatically take effect on save.

Note that changes to the main process (src/main.ts and src/preload.js) require a restart to take effect.

To build the application run:

make build app

The app will now be in bundle/mac-universal/NTS Desktop.app.

Acknowledgement

The main idea for the app came from the excellent nts-desktop-app, the implementation of which is way simpler and more elegant, but lacks some of the features I wanted.