# Discourse-Blöcke

**URL:** <https://meta.discourse.org/t/discourse-blocks/57193>\
**Category:** Plugin\
**Tags:** broken\
**Created:** [10. Februar 2017 um 08:02 UTC](https://meta.discourse.org/t/discourse-blocks/57193 "2017-02-10T08:02:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jgujgu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jgujgu/32/64012_2.png) [@jgujgu](https://meta.discourse.org/u/jgujgu)\
**Post date:** [10. Februar 2017 um 08:02 UTC](https://meta.discourse.org/t/discourse-blocks/57193/1 "2017-02-10T08:02:55Z")

</div>

If you’d like to display interactive data visualizations in your Discourse’s posts, do I have the plugin for you. :dosequis:

###Introducing…  
#[📈 discourse-blocks 📉] ([https://graphme.io/t/how-does-life-expectancy-correlate-with-a-countrys-gdp-per-capita/204/3](https://graphme.io/t/how-does-life-expectancy-correlate-with-a-countrys-gdp-per-capita/204/3)) 👈 Live demo

To install, add this, as normal, to `app.yml`:

```plaintext
- git clone https://github.com/jgujgu/discourse-blocks.git

```

❗ But also please add these under `env` by the other variables in `app.yml`. You can generate them if you have a Github account:

```
GITHUB_CLIENT_ID: "a_github_client_id"
GITHUB_SECRET_KEY: "a_longer_github_secret_key"

```

Visit Github for a full list of screenshots:  
[https://github.com/jgujgu/discourse-blocks](https://github.com/jgujgu/discourse-blocks)

I am currently running `1.8+`, but it worked just fine on `~1.6` as well.

What does this plugin really do? (since you didn’t click the live demo :yuno:)

If a poster inserts a link to a Github Gist with an `index.html` file, this plugin will render it and any code + files that run alongside it. Essentially, anything that [bl.ocks](https://bl.ocks.org/) made famous and [blockbuilder](http://blockbuilder.org/) makes convenient to create will render through this plugin. The bulk of examples are data visualizations, but a `block` need not be.

If you have a question or feedback, feel free to post it here or [here](https://graphme.io/c/site-feedback).

![](https://global.discourse-cdn.com/meta/original/3X/2/0/2017ff00da6844c05eec6359ef74a9f0879f0a49.gif)

Alongside this plugin, I would also like to invite you to join [graphme](https://graphme.io), **answers that show not tell**  
📈📈📈|📈📈📈|📄📈📈|📈📈📈|📈📄📄|📄📉📉|📉📉📉  
📈📄📈|📈📄📄|📈📄📈|📈📄📈|📈📄📄|📉📄📄|📉📄📄  
📈📈📈|📈📄📄|📄📈📈|📈📈📈|📈📈📈|📄📉📉|📉📉📉  
📄📄📈|📄📄📄|📄📄📄|📈📄📄|📈📄📈|📉📄📄|📉📄📄  
📈📈📈|📄📄📄|📄📄📄|📈📄📄|📈📄📈|📄📉📉|📉📉📉

This is ( **ahem** _will be_) a Q&A site that welcomes interactive graphs, diagrams, and infographics as answers. If you have a potentially graphical question needling you in the back, please do ask it there. I’m sure it is interesting if it’s doing that.

---

_[View the full topic](https://meta.discourse.org/t/discourse-blocks/57193)._
