Plugin: The Konami Code

(Claus Strasburger) #1

I’ll just drop this here:

It’s built on Konami-JS, which made this really easy :)

To install, just open your Docker container’s app.yml and be sure to have the following:

    - exec:
        cd: $home/plugins
          - mkdir -p plugins
          - git clone
          # other plugins...
          - git clone

Now, ./launcher rebuild and off we go!

Open Discourse and BAEnter!

Suggestions and patches are highly welcome.

(J. Bruni) #2

Nice as a small sample of what is necessary to build and install an extension.

(Jeff Atwood) #3

I agree with @jbruni this is a great idea for a sample plugin or extension. Fun and actually somewhat useful!

(Claus Strasburger) #4

I based it off of Tutorial: Your first Discourse plugin, so thanks to @danneu for that!

Every site should have the Konami Code

(Raffaele Di Fazio) #5

Pretty cool! I wanted to do something like that… do you have an idea for something similar to this to implement? I wanted to implement a simple plugin just to start with discourse…

(Jeff Atwood) #6

Someone needs to update this to work with Discourse 1.3!

(Claus Strasburger) #7

Done! was a quick fix.

Just ensure to put
- git clone
in the plugins section of your app.yml.

(Sadly, I can’t edit my first post…)

(dosch) #8

Great! I activated it :slight_smile:

Now, is there a way to award a badge when a user does the konami code ?


Doesn’t look like it straight off. It would probably need to be modified in order to trigger a badge grant api call or an entry into the database and a badge query from that.