Coder Social home page Coder Social logo

n-ameless / element-web-patches Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 34 KB

Mirror of my repo at supernets

Home Page: https://git.supernets.org/nameless/element-web-patches

License: Do What The F*ck You Want To Public License

element element-web matrix element-desktop

element-web-patches's Introduction

A collection of various patches I've created or modified for the Element client. For now there's only a greentext patch.

Greentext command

Greentext demo

Instructions

  1. git clone https://github.com/element-hq/element-web.git
  2. cd element-web
  3. yarn install
  4. git clone https://git.supernets.org/nameless/element-web-patches
  5. patch node_modules/matrix-react-sdk/src/SlashCommands.tsx element-web-patches/greentext.patch
  6. yarn dist

Nix

You can automatically apply this patch to Element Desktop on Nix with the use of an overlay.

self: super:
{
  element-web = super.element-web.overrideAttrs (oldAttrs: rec {
    greentext = super.fetchpatch {
      url = "https://git.supernets.org/nameless/element-web-patches/raw/branch/main/greentext.patch";
      sha256 = ""; # Replace this with the hash provided by Nix.
    };
    configurePhase = oldAttrs.configurePhase + ''
      patch node_modules/matrix-react-sdk/src/SlashCommands.tsx ${greentext}
    '';
  });
}

Credits to Ren Tatsumoto for the original greentext patch.

element-web-patches's People

Watchers

 avatar

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.