|
1 |
| -<div align="center"> |
2 |
| - <img src="https://avatars3.githubusercontent.com/u/46326568" width="128px" style="max-width:100%;"> |
3 |
| - <h1>PreMiD <code>--linux</code></h1> |
4 |
| -</div> |
| 1 | +<img src=".github/mLogo.png" width="150" height="150" align="left"></img> |
| 2 | +<h1>PreMiD <code>--linux</code></h1> |
| 3 | +Discord Rich Presence for web services! |
| 4 | +<br><br> |
| 5 | + |
| 6 | +## Table of Contents |
| 7 | + |
| 8 | +- **[About](#about)** |
| 9 | + - [Stats](#stats) |
| 10 | + - [Requirements](#requirements) |
| 11 | + - Examples (soon) |
| 12 | + - Building (soon) |
| 13 | + - [Support](#support) |
| 14 | + - [Credits](#credits) |
| 15 | + - [License](#license) |
| 16 | +- **[Snapcraft](#snapcraft)** (TL;DR : _never_ ™️) |
| 17 | +- **[Portable AppImage](#appimage)** (_RECOMMENDED_) |
| 18 | + - [Installation instructions](#appimageinstall) |
| 19 | + - [Additional notes](#appimagenotes) |
| 20 | +- **Red Hat Enterprise Linux (RHEL) based distributions** (soon, use [this](#appimage) for now) |
| 21 | +- **Debian and Ubuntu based distributions** (soon, use [this](#appimage) for now) |
| 22 | +- **[Arch Linux based distributions](#arch)** |
| 23 | + - [Installation instructions](#archinstall) |
| 24 | + - [Additional notes](#archnotes) |
| 25 | +- **[Gentoo Linux](#gentoo)** |
| 26 | + - [Installation instructions](#gentooinstall) |
| 27 | + - [Additional notes](#gentoonotes) |
| 28 | + |
| 29 | +<a name="about"></a> |
| 30 | + |
| 31 | +## About |
5 | 32 |
|
6 |
| -# Discord Rich Presence for web services! |
| 33 | +**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**. |
| 34 | + |
| 35 | +<a name="stats"></a> |
| 36 | + |
| 37 | +### Stats |
7 | 38 |
|
8 | 39 | <table>
|
9 | 40 | <tr>
|
|
18 | 49 | </tr>
|
19 | 50 | </table>
|
20 | 51 |
|
21 |
| -## Installing |
| 52 | +<a name="requirements"></a> |
22 | 53 |
|
23 |
| -<table> |
24 |
| - <tr> |
25 |
| - <th>Supported Linux Distribution</th> |
26 |
| - <th>Method</th> |
27 |
| - <th>Installing</th> |
28 |
| - <th>Additional Notes</th> |
29 |
| - </tr> |
30 |
| - <tr> |
31 |
| - <td>All</td> |
32 |
| - <td>Portable <a href="https://github.com/PreMiD/Linux/releases/latest">AppImage</a></td> |
33 |
| - <td> |
34 |
| - <code>wget https://github.com/PreMiD/Linux/releases/latest/download/PreMiD-Portable.AppImage && chmod +x PreMiD*.AppImage</code><br>run <code>./PreMiD*.AppImage</code> afterwards or just double-click it |
35 |
| - </td> |
36 |
| - <td><b>This is the recommended package</b> to use, either if you want to try PreMiD or just don't want to install it ( or maybe put it in a USB stick ), it's always up to date but <i>doesn't auto-launch at the system startup</i>, so if you get tired of having to open it each time, use the other methods bellow ( according to your Linux distribution )</td> |
37 |
| - </tr> |
38 |
| - <tr> |
39 |
| - <td rowspan="5">Arch Linux</td> |
40 |
| - <td rowspan="5"><a href="https://aur.archlinux.org/packages/premid">Arch User Repository</a></td> |
41 |
| - <td>Using yay :<br><code>yay -S premid</code><br></td> |
42 |
| - <td rowspan="4">If your distro uses pacman, then you have to install one of the helpers first. If you don't have any, Yay is recommended, run :<br><code>git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si</code><br>then <code>yay -S premid</code>, as instructed in the previous column.<br><br>Other AUR/Pacman helpers work as well, although each one's functionality is different so you may face issues while using them.</td> |
43 |
| - </tr> |
44 |
| - <tr> |
45 |
| - <td>Using pakku :<br><code>pakku -S premid</code></td> |
46 |
| - </tr> |
47 |
| - <tr> |
48 |
| - <td>Using pacaur :<br><code>pacaur -S premid</code></td> |
49 |
| - </tr> |
50 |
| - <tr> |
51 |
| - <td>Using trizen :<br><code>trizen -S premid</code></td> |
52 |
| - </tr> |
53 |
| - <tr> |
54 |
| - <td><a href="https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages">Manually</a></td> |
55 |
| - <td>Not recommended, not beginner-friendly and doesn't auto update.</td> |
56 |
| - </tr> |
57 |
| - <tr> |
58 |
| - <td>Gentoo</td> |
59 |
| - <td>Overlays</td> |
60 |
| - <td>Add the overlay using layman:<br><code>layman -S && layman -a apriluwu</code><br><br>Install via portage:<br><code>emerge -av app-misc/premid</code></td> |
61 |
| - <td>The install showen uses layman, it is in the official repositories through <code>app-portage/layman</code><br><br>Note: to get updates you will have to sync the overlay every one and a while, you can do this with: <code>layman -S</code></td> |
62 |
| - </tr> |
63 |
| - <tr> |
64 |
| - <td>Others</td> |
65 |
| - <td>-</td> |
66 |
| - <td>-</td> |
67 |
| - <td>Soon (TM), use the AppImage for now</td> |
68 |
| - </tr> |
69 |
| -</table> |
| 54 | +### Requirements |
| 55 | + |
| 56 | +Technically every distribution that can run Discord's [official](https://discordapp.com/download) **app** ( not the web or the snap version ) can run PreMiD too;</br> |
| 57 | +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.</br> |
| 58 | +Since we currently use Electron as an engine (Discord does too!), its requirements also apply to this app : |
| 59 | + |
| 60 | +- Ubuntu ≥ 12.04 |
| 61 | +- Fedora ≥ 21 |
| 62 | +- Debian ≥ 8 |
70 | 63 |
|
71 |
| -## Troubleshooting |
| 64 | +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). |
72 | 65 |
|
73 |
| -Create a #support ticket in our Discord server : |
| 66 | +<a name="support"></a> |
| 67 | + |
| 68 | +### Support |
74 | 69 |
|
75 | 70 | <div>
|
76 | 71 | <a target="_blank" href="https://discord.gg/WvfVZ8T" title="Join our Discord!">
|
77 | 72 | <img height="75px" draggable="false" src="https://discordapp.com/api/guilds/493130730549805057/widget.png?style=banner2" alt="Join our Discord!">
|
78 | 73 | </a>
|
79 | 74 | </div>
|
80 | 75 |
|
81 |
| -## License |
| 76 | +<a name="credits"></a> |
| 77 | + |
| 78 | +### Credits |
| 79 | + |
| 80 | +Thanks to : |
| 81 | + |
| 82 | +- @nattadasu, @Rubensei, @Cairo2k18, zany130, Immanuel D, Friskytrash, Alexandre (and few other guys whom I forgot their names) for providing feedback on nightly releases. |
| 83 | +- @apriluwu for maintaining the Gentoo builds |
| 84 | +- @SlimShadyIAm and naka for formerly maintaining the Arch User Repository packages |
| 85 | +- The Electron community for various packages |
| 86 | +- Anyone else who has ever contributed to the project in any way. |
| 87 | + |
| 88 | +<a name="license"></a> |
| 89 | + |
| 90 | +### License |
82 | 91 |
|
83 | 92 | [](https://app.fossa.io/projects/git%2Bgithub.com%2FPreMiD%2FLinux?ref=badge_large)
|
| 93 | + |
| 94 | +<img src=".github/snapcraft.png" width="130" height="130" align="right"></img> |
| 95 | +<a name="snapcraft"></a> |
| 96 | + |
| 97 | +## Snapcraft |
| 98 | + |
| 99 | +Probably never, for technical reasons... Unless someone makes a PR for it. |
| 100 | + |
| 101 | +<img src=".github/appimage.png" width="130" height="130" align="right"></img> |
| 102 | +<a name="appimage"></a> |
| 103 | + |
| 104 | +## Portable AppImage |
| 105 | + |
| 106 | +The AppImage package is the recommended one if Discord works for you but other PreMiD packages (.deb, .rpm, etc) don't. |
| 107 | + |
| 108 | +<a name="appimageinstall"></a> |
| 109 | + |
| 110 | +### Installation instructions |
| 111 | + |
| 112 | +```bash |
| 113 | +wget https://git.io/JvAse && chmod a+x PreMiD*.AppImage |
| 114 | +``` |
| 115 | + |
| 116 | +```bash |
| 117 | +# Just double-click it or run |
| 118 | +./PreMiD*.AppImage |
| 119 | +``` |
| 120 | + |
| 121 | +<a name="appimagenotes"></a> |
| 122 | + |
| 123 | +### Additional notes |
| 124 | + |
| 125 | +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!_</br>If you get tired of having to open it each time, use the other packages (according to your distribution). |
| 126 | + |
| 127 | +<a name="arch"></a> |
| 128 | +<img src=".github/iusearchbtw.svg" width="130" height="130" align="right"></img> |
| 129 | + |
| 130 | +## Arch Linux based distributions |
| 131 | + |
| 132 | +Uses [Arch User Repository](https://aur.archlinux.org/packages/premid);</br> |
| 133 | +Supported distributions are _itself_, Manjaro, Anarchy, Artix, Arco, ArchLabs, Endeavour, Archman, BlackArch, Liri OS and [every one that supports installing from AUR](https://wiki.archlinux.org/index.php/Arch-based_distributions#Active). |
| 134 | + |
| 135 | +<a name="archinstall"></a> |
| 136 | + |
| 137 | +### Installation instructions |
| 138 | + |
| 139 | +```bash |
| 140 | +# Using yay (recommended) |
| 141 | +yay -S premid |
| 142 | +``` |
| 143 | + |
| 144 | +```bash |
| 145 | +# Using pakku |
| 146 | +pakku -S premid |
| 147 | +``` |
| 148 | + |
| 149 | +```bash |
| 150 | +# Using trizen |
| 151 | +trizen -S premid |
| 152 | +``` |
| 153 | + |
| 154 | +```bash |
| 155 | +# Using pacaur |
| 156 | +pacaur -S premid |
| 157 | +``` |
| 158 | + |
| 159 | +```bash |
| 160 | +# ... you get the point |
| 161 | +``` |
| 162 | + |
| 163 | +or manually from the [Arch User Repository](https://aur.archlinux.org/packages/premid) if you know what you're doing. |
| 164 | + |
| 165 | +<a name="archnotes"></a> |
| 166 | + |
| 167 | +### Additional notes |
| 168 | + |
| 169 | +If your distro uses pacman, then you have to install one of the helpers first. If you don't have any, Yay is recommended, run : |
| 170 | + |
| 171 | +```bash |
| 172 | +git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si |
| 173 | +``` |
| 174 | + |
| 175 | +```bash |
| 176 | +yay -S premid |
| 177 | +``` |
| 178 | + |
| 179 | +Other AUR/Pacman helpers work as well, although each one's functionality is different so you may face issues while using them. |
| 180 | + |
| 181 | +<img src=".github/gentoo.svg" width="130" height="130" align="right"></img> |
| 182 | +<a name="gentoo"></a> |
| 183 | + |
| 184 | +## Gentoo Linux |
| 185 | + |
| 186 | +Same applies to its derivatives, such as ColverOS, Clip-OS, Sabayon, Bicom Systems PBXware, [etc](https://wiki.gentoo.org/wiki/Distributions_based_on_Gentoo#Active_projects). |
| 187 | + |
| 188 | +<a name="gentooinstall"></a> |
| 189 | + |
| 190 | +### Installation instructions |
| 191 | + |
| 192 | +```bash |
| 193 | +# Add the overlay using layman |
| 194 | +layman -S && layman -a apriluwu |
| 195 | +``` |
| 196 | + |
| 197 | +```bash |
| 198 | +# Install via portage |
| 199 | +emerge -av app-misc/premid |
| 200 | +``` |
| 201 | + |
| 202 | +<a name="gentoonotes"></a> |
| 203 | + |
| 204 | +### Additional notes |
| 205 | + |
| 206 | +The shown install command uses layman, it is in the official repositories through `app-portage/layman`.<br> |
| 207 | +To get updates you will have to sync the overlay from time to time, you can do this with |
| 208 | + |
| 209 | +```bash |
| 210 | +layman -S |
| 211 | +``` |
0 commit comments