The participatory democracy framework. A generator and multiple gems made with Ruby on Rails.
Ruby HTML CSS TypeScript JavaScript
Switch branches/tags
Permalink
Failed to load latest commit information.
.circleci Bump to latest rails and pg (#2747) Feb 19, 2018
.github Go serious (#2577) Jan 25, 2018
bin Fix rubocop issues Sep 14, 2016
config Log actions on newsletters (#2763) Feb 20, 2018
decidim-accountability Remove non-working binstubs from source control (#2756) Feb 19, 2018
decidim-admin Log actions on moderations (#2803) Feb 23, 2018
decidim-api ParticipatorySpace and Component base types and interface (#2734) Feb 23, 2018
decidim-assemblies Add Area and AreaType classes and functionality to assign areas to as… Feb 23, 2018
decidim-budgets Remove non-working binstubs from source control (#2756) Feb 19, 2018
decidim-comments ParticipatorySpace and Component base types and interface (#2734) Feb 23, 2018
decidim-core Log actions on moderations (#2803) Feb 23, 2018
decidim-debates Remove non-working binstubs from source control (#2756) Feb 19, 2018
decidim-dev ParticipatorySpace and Component base types and interface (#2734) Feb 23, 2018
decidim-meetings Add meetings to process and process group home (#2713) Feb 22, 2018
decidim-pages Remove non-working binstubs from source control (#2756) Feb 19, 2018
decidim-participatory_processes Log actions on process users (#2793) Feb 23, 2018
decidim-proposals Remove some unintentional stuff from template (#2816) Feb 24, 2018
decidim-surveys Remove non-working binstubs from source control (#2756) Feb 19, 2018
decidim-system Do not wrap static pages default content in `<p>` tags (#2804) Feb 23, 2018
decidim-verifications Proposal wizard (3 steps) (#2697) Feb 22, 2018
decidim_app-design Consultations feature (#2667) Feb 22, 2018
docs Update and rename authorizations.md to verifications.md (#2784) Feb 21, 2018
lib Fix nickname uniqueness validation & generate when inviting (#2783) Feb 21, 2018
spec Generator improvements for external modules (#2699) Feb 13, 2018
.babelrc Update js dependencies (another take) (#2156) Nov 13, 2017
.codeclimate.yml Remove deprectaed keys (#2716) Feb 14, 2018
.csslintrc Add CodeClimate config Sep 14, 2016
.decidim-version Version bump Feb 5, 2018
.editorconfig Normalizing final new lines (#1744) Aug 16, 2017
.eslintignore Extract a component manager class (#2427) Jan 12, 2018
.eslintrc.json Fix admin navigation for mobile devices (#1251) Apr 11, 2017
.gitattributes Normalizing final new lines (#1744) Aug 16, 2017
.gitignore Mentions / Content parsers (#2491) Jan 31, 2018
.inch.yml Add inch CI for tracking inline code docs (#472) Jan 10, 2017
.mdl_style.rb Lint markdown (#2158) Nov 6, 2017
.mdlrc Lint markdown (#2158) Nov 6, 2017
.rubocop.yml ParticipatorySpace and Component base types and interface (#2734) Feb 23, 2018
.ruby-version Use ruby 2.5.0 (#2550) Jan 25, 2018
.simplecov Enhance coverage tracking (#1686) Aug 4, 2017
.yardopts Normalizing final new lines (#1744) Aug 16, 2017
CHANGELOG.md Log actions on moderations (#2803) Feb 23, 2018
CODE_OF_CONDUCT.md Cache bundler dependencies on TravisCI (#167) Nov 2, 2016
CONTRIBUTING.md Rationalizing markdown usage on headers (#2148) Nov 2, 2017
Dockerfile.design Fix decidim design (#2766) Feb 19, 2018
Gemfile Generator improvements for external modules (#2699) Feb 13, 2018
Gemfile.lock Update rubocop-rspec (#2774) Feb 20, 2018
LICENSE-AGPLv3.txt Improve and rename license (#200) Nov 11, 2016
README.md Documentation general improvements (#2656) Feb 7, 2018
Rakefile Generator improvements for external modules (#2699) Feb 13, 2018
codecov.yml Remove unnecessary codecov ignores (#2424) Dec 23, 2017
crowdin.yaml Fix Crowdin locale mapping (#2449) Jan 8, 2018
decidim.gemspec Use ruby 2.5.0 (#2550) Jan 25, 2018
docker-compose.yml Docker enhancements for linux users. (#2553) Jan 25, 2018
jsconfig.json Normalizing final new lines (#1744) Aug 16, 2017
logo.svg Lint stylesheets (#2425) Jan 8, 2018
package.json Update JS dependencies (#2773) Feb 20, 2018
tsconfig.json Update JS dependencies (#1930) Oct 17, 2017
tslint.json Circle CI improvements (#1316) May 2, 2017
webpack.config.js Update js dependencies (another take) (#2156) Nov 13, 2017
webpack.d.ts Use Typescript instead of Javascript for React components (#1001) Mar 27, 2017
yarn.lock Update JS dependencies (#2773) Feb 20, 2018

README.md

Decidim Logo

The participatory democracy framework.

Democracy never felt so real.

Decidim is a participatory democracy framework, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website. Installing these libraries will provide you a generator and gems to help you develop web applications like the ones found on example applications or like our demo application.

All members of the Decidim community agree with Decidim Social Contract or Code of Democratic Guarantees.


Gem Gem GitHub contributors Yard Docs Gitter

Code quality

Build Status Maintainability codecov Dependency Status Crowdin Inline docs Accessibility issues HTML issues

Project management [See on Waffle.io]

Stories in Discussion Stories in Planned Bugs In Progress In Review


What do you need to do?


Getting started with Decidim

TLDR: install gem, generate a Ruby on Rails app, enjoy.

gem install decidim
decidim decidim_application

We've set up a guide on how to install, set up and upgrade Decidim. See the Getting started guide.

How to contribute

See Contributing.

Browse Decidim

After you create a development app (bundle exec decidim decidim_application):

Optionally, you can log in as: user@example.org | decidim123456

Also, if you want to verify yourself against the default authorization handler use a document number ended with "X".

Browse Admin Interface

After you create a development app (bundle exec rake decidim_application):

Modules

Official (stable)

Module Description
Accountability Adds an accountability section to any participatory space so users can follow along the state of the accepted proposals.
Admin Adds an administration dashboard so users can manage their organization and all other entities.
API Exposes a GraphQL API to programatically interact with the Decidim platform via HTTP.
Assemblies Permanent participatory spaces.
Budgets Adds a participatory budgets system to any participatory space.
Comments The Comments module adds the ability to include comments to any resource which can be commentable by users.
Core The basics of Decidim: users, organizations, etc. This is the only required engine to run Decidim, all the others are optional.
Participatory Processes The main concept of a Decidim installation: participatory processes.
Dev Aids the local development of Decidim's features.
Meeting The Meeting module adds meeting to any participatory space. It adds a CRUD engine to the admin and public view scoped inside the participatory space.
Pages The Pages module adds static page capabilities to any participatory space. It basically provides an interface to include arbitrary HTML content to any step.
Proposals The Proposals module adds one of the main features of Decidim: allows users to contribute to a participatory space by creating proposals.
Surveys Adds the ability for admins to create arbitrary surveys.
System Multitenant Admin to manage multiple organizations in a single installation.

Official (on development)

Module Description
Blogs This component makes possible to add posts ordered by publication time to spaces.
Consultations This module creates a new space for decidim to host consultations: debates around critical questions and a proxy for eVoting
Initiatives Initiatives is the place on Decidim's where citizens can promote a civic initiative. Unlike participatory processes that must be created by an administrator, Civic initiatives can be created by any user of the platform.
Sortitions This component makes possible to select randomly a number of proposals among a set of proposals (or a category of proposals within a set) maximizing guarantees of randomness and avoiding manipulation of results by the administrator.

Community

Module Description
Census Allows to upload a census CSV file to perform authorizations against real users parameterised by their age.
Crowdfunding This rails engine implements a Decidim feature that allows to the administrators to configure crowfunding campaigns for a participatory space.
DataViz The Dataviz module adds the PAM data visualizations to any participatory process but it is intended to be used just for the PAM participatory process.
Members Members list and search plugin for Decidim
Pol.is Pol.is integration on Decidim
User Export Allow user export
Verification DIBA Census API A decidim package to provice user authorizations agains the Diputació of Barcelona census API
Verification Podemos Census API A decidim package to provice user authorizations against the Podemos census API
Votings An administrator can add one or more votings to a participatory process or assambly

Following our license

If you plan to release your application you'll need to publish it using the same license: GPL Affero 3. We recommend doing that on GitHub before publishing, you can read more on "Being Open Source From Day One is Especially Important for Government Projects". If you have any trouble you can contact us on Gitter.

Example applications

Since Decidim is a ruby gem, you can check out the dependent repositories to see how many applications are on the wild or tests that other developers have made. Here's a partial list with some of the projects that have used Decidim: