An mirror from our Linux repository.

Florian Metz e9b9446026 chore: archive repo 4 mesiacov pred
.github 9b9a19c0b2 chore: update dependabot config 2 rokov pred
@types 7c8edb5e4a ⚡️ Better AppImage detection & linting 4 rokov pred
src 3f2678e231 chore: update socketManager 11 mesiacov pred
.devScript.json f4523bd98b ✨ [REL] Here we go 4 rokov pred
.eslintignore 8384637b06 🚨 ESLint fixes 4 rokov pred
.eslintrc.json dd582d2225 🔥 Clean packages. 3 rokov pred
.gitignore 7789f3ecfd 🚑 Fixes 4 rokov pred
.npmrc f4523bd98b ✨ [REL] Here we go 4 rokov pred
CODE_OF_CONDUCT.md f4523bd98b ✨ [REL] Here we go 4 rokov pred
LICENSE 4b09c0a440 🔄 Synced local 'LICENSE' with remote 'LICENSE' 2 rokov pred
README.md e9b9446026 chore: archive repo 4 mesiacov pred
package.json 2f68cb6280 [REL] Update package.json 11 mesiacov pred
tsconfig.json 7789f3ecfd 🚑 Fixes 4 rokov pred
yarn.lock 0c9e549afe 🔼 Bump electron-builder from 22.4.1 to 23.0.3 (#132) 2 rokov pred

README.md

[!IMPORTANT] Since 2.6.0 there is no need for desktop apps anymore.

PreMiD --linux

Discord Rich Presence for web services!

Table of Contents

About

PreMiD is a simple, configurable utility that uses Discord's RP ( Rich Presence ) library which allows you to show what you're doing on the web ( and a few programs ) in your Discord profile as playing status.

Stats

Deployment Total downloads Latest release
CI All releases Latest release
Github releases

Requirements

Technically every distribution that can run Discord's official app ( not the web or the snap version ) can run PreMiD too;

As you may have noticed in the recent years, some Linux distributions started dropping support for the 32-bit (ia32/i686/i386/x86) architectures, and as a result, we did too. You can, however, try to build the app yourself if you desperately need to use it on a 32-bit distribution.
Since we currently use Electron as an engine (Discord does too!), its requirements also apply to this app :

  • Ubuntu ≥ 12.04
  • Fedora ≥ 21
  • Debian ≥ 8

It is unknown whether older versions of other distributions support it, so just keep your distribution updated and use LTS (Long-Term Support) releases if your distribution offers them, as they're more stable (avoid alpha releases).

Support

License

FOSSA Status

Snapcraft

Probably never, since Snap's nature blocks PreMiD from reaching Discord and the extension properly,

It would be appreciated if someone could do it though, any ideas or PRs are welcome.
P.S.: classic confinement doesn't work either so don't bother making a suggestion about it.

Portable AppImage

The AppImage package is the recommended one if Discord works for you but other PreMiD packages (.deb, .rpm, etc) don't.

Installation instructions

wget https://github.com/PreMiD/Linux/releases/latest/download/PreMiD-Portable.AppImage && chmod a+x PreMiD*.AppImage
# Just double-click it or run
./PreMiD*.AppImage

Additional notes

Either if you want to try PreMiD or just don't want to install it, this one's the best, it's always up to date but DOESN'T AUTO-START WITH THE SYSTEM!

If you get tired of having to open it each time, use the other packages (according to your distribution).

Package managers

PackageCloud

With scripts below you can install our repos to your package manager and install our program and update it from their command! For .deb or .rpm files, please check this link.

  • Ubuntu or Debian:
curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo bash

Then run: sudo apt install premid

If you are getting errors saying that there isn't a package named premid try with this command replacing dist by the actual distribution name.

curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo os=Ubuntu dist=hirsute bash

Note: You can get the value for dist using the following.

cat /etc/os-release | grep "UBUNTU_CODENAME" | cut -d "=" -f2
  • Fedora or CentOS or RedHat:
curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.rpm.sh | sudo bash

Then run: yum install premid or use different package manager than yum.

If command doesn't work, download deb or rpm file from our packagecloud repo or override settings.

Arch Linux based distributions

Uses Arch User Repository;

Supported distributions are itself, Manjaro, Anarchy, Artix, Arco, ArchLabs, Endeavour, Archman, BlackArch, Liri OS and every one that supports installing from AUR.

Installation instructions

# Using yay (recommended)
yay -S premid
# Using pakku
pakku -S premid
# Using trizen
trizen -S premid
# Using pacaur
pacaur -S premid
# ... you get the point

or manually from the Arch User Repository if you know what you're doing.

Additional notes

If your distro uses pacman, then you have to install one of the helpers first. If you don't have any, Yay is recommended, as root run :

pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
yay -S premid

Other AUR/Pacman helpers work as well, although each one's functionality is different so you may face issues while using them.