Coder Social home page Coder Social logo

hans5958 / premid-presences-personal-old Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 22.17 MB

๐Ÿ›’ Storage for my Presences located at the Presence Store. (archived, moved to https://github.com/Hans5958/PreMiD-Presences-Personal)

Home Page: https://premid.app/users/279855717203050496

License: Mozilla Public License 2.0

TypeScript 94.78% Batchfile 1.01% Shell 2.71% JavaScript 1.49%
discord rich presence rich-presence store service typescript premid

premid-presences-personal-old's Introduction

Hans5958's Personal PreMiD Presences

This repository contains the source code of my presences that are created for PreMiD/Presences (and the store)
If you want to use one of my presence, please go to here.
You can report issues related to my presence on either this repository or the main repository.

Info for starters:

PreMiD is an application that uses the Discord Rich Presence feature to show activities that you do on your browser to Discord. It consists of an extension/addon and an application. The extension/addon has a good support on Chrome and Chromium-based browsers, and works 90% on Firefox. The application works on Windows and Mac. There's also a Linux version which is in development.

The way PreMiD works is as follows.

  1. PreMiD detects the website domain you visited, and loads the related script code, which is called a "presence".
  2. The script take essential informations related to the visited page.
  3. The script sends the information to be displayed to the extension.
  4. The extension forwards the information to the application.
  5. The application beams the information to your Discord application, specifically the Rich Presence part of Discord.
  6. The information is displayed on your "playing" section.

Keep in mind that there are a thousand ways this app could be broken, or at least that's what would a presence developer (like me) said. Let me tell you, one way to break PreMiD is to remove all of the default presences.

Before you ask, no, PreMiD is not against the ToS.

Info for people coming from PreMiD:

If you look closely to the files, it is quite different than the rest of the main repository. Here are the list of differences on the script.

  1. I use tabs for indentations instead of two spaces.
  2. I don't use semicolons.
  3. I built my own structure/base for my presences. See the base collection and my explanation of how it is built.
  4. There are no limits for the width.
  5. All presence are built with TypeScript. (may not relevant since all presences are now built with TS)
  6. The folder structure differs, since, for now, I only support websites and I only have a few presences.
  7. Prettier are only used when needed. (only for TS files)

Because of this, I need to adjust my presences before making pull requests to the main repository. I used multiple scripts so I could do the adjustments easier.

I also made other projects related to PreMiD, such as the metadata test suite.

Folder structure

/presences
โ””โ”€ /(presence - If coded with TypeScript, make sure to include `presence.ts`, and `tsconfig.json`)
   โ””โ”€ /dist (contains code that will be used in store, must have `metadata.json` and `presence.js` in it.)

premid-presences-personal-old's People

Contributors

hans5958 avatar

Stargazers

 avatar

Watchers

 avatar

premid-presences-personal-old's Issues

Project Wikimedia - Create all wikis on Wikimedia

Preface

Project Wikimedia is a project to create all presence for all Wikimedia/Wikimedia Foundation projects/wikis, along with other subdomains that is not a wiki.

Progress

Presence List

Based on https://meta.wikimedia.org/wiki/Wikimedia_projects and https://meta.wikimedia.org/wiki/Complete_list_of_Wikimedia_projects.

Overview

  • Phase 1 - Completing Wikipedia
  • Phase 2 - All The Wikis
  • Phase 3 - Wikimedia Presence

Phase 1 - Completing Wikipedia

  • Add support for test and the "10" subdomains
  • Add language on the state field
  • Test and screenshot for PR
  • Prepare PR body
  • Do final changes
  • Submit pull request
  • Do requested changes (if necessary)
  • Merge branch

Phase 2 - All The Wikis

  • Prepare files and folders
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Prepare assets
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Set Discord application and Imgur links
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Set metadata
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Change necessary code based on Wikipedia
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Test and screenshot for PR
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Prepare PR body
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Do final changes
  • Submit pull request
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata
  • Do requested changes (if necessary)
  • Merge branch
    • Wikitionary
    • Wikiquote
    • Wikibooks
    • Wikisource
    • Wikinews
    • Wikiversity
    • Wikivoyage
    • Wikispecies
    • Wikimedia Commons
    • Wikidata

Phase 3 - Wikimedia Presence

  • Prepare files and folders
  • Prepare assets
  • Set Discord application and Imgur links
  • Set metadata
  • Code the presence
    • Change necessary code based on Wikipedia
      • Incubator
      • Meta-wiki
      • Wikitech
      • Foundation
      • MediaWiki
      • Wikimedia Outreach
      • Wikimania
      • Wikimedia Strategic Planning
      • Wikimedia Usability
      • Login Wiki
    • Start from scratch
      • www
      • Wikimedia Foundation
      • Maliling List
      • Wikistats
      • Phabricator
      • Wikimedia Downloads
  • Test and screenshot for PR
  • Prepare PR body
  • Do final changes
  • Submit pull request
  • Do requested changes (if necessary)
  • Merge branch

Create ManiaExchange presence

Progress

Create Wikiwand presence

See also: PreMiD/Presences#1735

Progress

  • Add pages and subdomains
    • Index
    • news
    • about
    • press
    • terms
    • privacy
    • Wiki pages
  • Prepare assets
  • Test and screenshot for PR
  • Do final changes
  • Submit pull request
  • Merge branch

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.