Giter Club home page Giter Club logo

galaxy-life-rpc's Introduction

Galaxy Life - Discord Rich Presence

Hi there, I thought I would make a quick rich presence to check the status of the galaxy life servers.

Usage

To run this project you'll need a few things.

  1. You'll need to install Node.JS (from here)

Which Node.JS version to download

  • If you are familiar with git clone, you can skip steps 2 and 3.
  1. You'll need to download this repository as a zip file. You can do so by clicking here or by using the buttons provided by GitHub as shown in the image.

Showing where to download the repository as a zip file

  1. You'll need to unzip the downloaded file.

Showing how to unzip the file

  1. Open the unzipped folder.

The contents of the unzipped folder

  1. Copy the .env.example file and rename it to .env

The new .env file

  1. Visit the developer portal by clicking this link

The developer portal

  1. Create a new application by clicking the "New Application" button. Give it any name you like.

Creating a new application

  1. Open your newly created application

Open the new application

  1. Copy the application id. This should match with the number shown in the address bar of your browser.

Where to find your application id

  1. Open the .env file and replace YOUR_CLIENT_ID_HERE with the application id you just copied. Make sure that this is still prefixed with CLIENT_ID= after you have pasted your application id. So it would end up looking something like this: CLIENT_ID=1011101101110111011

  2. Save the .env file

  3. Go back to the developer portal (see step 5)

  4. Open the rich presence page.

  1. Add the images of your choice, but make sure to give them the same names as shown in the example. gl-logo-offline, gl-logo-online, starling-happy and starling-scared. The images have to be at least 512x512 pixels.

    If you want to use the images I used, you can download them here:

  1. Open a terminal in the folder you have extracted. (see step 3) A simple way to to do this, is by typing cmd in this bar and pressing the Enter/Return key on your keyboard.

How to open a terminal

Your terminal might look something like this:

A cmd terminal

  1. Run npm install in the terminal to install all required packages.

Installing npm packages

  1. Make sure that discord is open.

  2. Run npm start in your terminal to start the rich presence.

galaxy-life-rpc's People

Contributors

auxority avatar jacuniadev avatar

Stargazers

Bartosz Dokurno avatar Corentin avatar

Watchers

 avatar

galaxy-life-rpc's Issues

Why not just create a bot account?

I was wondering is there any reason why you are using RCP instead of just making a bot? You are just hosting a real discord account that has this thing running. I'm quite sure that the setup that you have here is first off all against tos. Second of all, I can not really invite this account to my server? If I want to have server status showing up on my server I need to go thought the pain of setting this up instead of just simply inviting the bot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.