All Projects → Hack23 → cia

Hack23 / cia

Licence: Apache-2.0 license
Citizen Intelligence Agency, open-source intelligence (OSINT) project

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects
shell
77523 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to cia

Nosdeputes.fr
Repository of NosDéputés.fr : the french parliamentary monitoring website
Stars: ✭ 69 (-12.66%)
Mutual labels:  politics, open-data, civic-tech
Querido Diario
📰 Brazilian government gazettes, accessible to everyone.
Stars: ✭ 681 (+762.03%)
Mutual labels:  politics, open-data, civic-tech
Serenata De Amor
🕵 Artificial Intelligence for social control of public administration
Stars: ✭ 4,367 (+5427.85%)
Mutual labels:  politics, open-data, civic-tech
Everypolitician Data
data for national legislatures worldwide
Stars: ✭ 174 (+120.25%)
Mutual labels:  politics, civic-tech
howlonguntilprayuthleaves.com
นับเวลาถอยหลังถึงวันที่พลเอกประยุทธ์ จันทร์โอชา หมดวาระการเป็นนายกรัฐมนตรี
Stars: ✭ 29 (-63.29%)
Mutual labels:  politics, politicians
Dados Abertos
Repositório do serviço de Dados Abertos da Câmara. Consulte as "Issues" para atendimento a dúvidas e sugestões.
Stars: ✭ 153 (+93.67%)
Mutual labels:  politics, open-data
5calls
Frontend for the 5calls.org site
Stars: ✭ 369 (+367.09%)
Mutual labels:  politics, civic-tech
CityScoreToolkit
Open-source version of Boston's CityScore performance dashboard
Stars: ✭ 42 (-46.84%)
Mutual labels:  open-data, civic-tech
Digital Privacy
一个关于数字隐私搜集、保护、清理集一体的方案,外加开源信息收集(OSINT)对抗
Stars: ✭ 1,231 (+1458.23%)
Mutual labels:  osint, surveillance
wbstats
wbstats: An R package for searching and downloading data from the World Bank API
Stars: ✭ 106 (+34.18%)
Mutual labels:  open-data, worldbank
impeachment-timeline
Timeline of events that lead to the impeachment of Donald J. Trump →
Stars: ✭ 14 (-82.28%)
Mutual labels:  politics, civic-tech
egov
eGov España - API abierto de acceso a datos púbicos
Stars: ✭ 21 (-73.42%)
Mutual labels:  open-data, help-wanted
data.gouv.fr
Ce dépôt rassemble les tickets techniques qui portent sur data.gouv.fr.
Stars: ✭ 50 (-36.71%)
Mutual labels:  open-data, government-data
Theyworkforyou
Keeping tabs on the UK's parliaments and assemblies
Stars: ✭ 173 (+118.99%)
Mutual labels:  politics, civic-tech
openkamer
Insight into the Dutch parliament
Stars: ✭ 43 (-45.57%)
Mutual labels:  politics, open-data
friendly-plans
Supporting system of behavioral therapy of people with autism. Check starter kit:
Stars: ✭ 24 (-69.62%)
Mutual labels:  civic-tech, help-wanted
Openciviwiki
Building a Better Democracy for the Internet Age
Stars: ✭ 275 (+248.1%)
Mutual labels:  politics, civic-tech
Trumptracker.github.io
Open source for http://trumptracker.github.io/
Stars: ✭ 338 (+327.85%)
Mutual labels:  politics, open-data
nyt-first-said
Tweets when words are published for the first time in the NYT
Stars: ✭ 222 (+181.01%)
Mutual labels:  politics, civic-tech
yournextrepresentative
A website for crowd-sourcing structured election candidate data
Stars: ✭ 56 (-29.11%)
Mutual labels:  politics, civic-tech

Citizen Intelligence Agency

Tracking politicians like bugs. Citizen Intelligence Agency is independent and non-partisan voluntary project.

Using Statistical Machine Intelligence and Learning Engine and Business Rules Management System to track politicians.

license FOSSA Status CLA assistant Maven Central Jenkins Jenkins tests Build Status Coverage Lines of Code Technical Debt CII Best Practices CodeFactor Maintainability BCH compliance codebeat badge Black Duck Security Risk DepShield Badge Average time to resolve an issue Percentage of issues still open Quality Gate Quality gate SourceSpy Dashboard OpenSSF Scorecard

Runtime

[JDK-17 or higher] [JDK-18] [JDK-19] [JDK-20]

Goal

Visualize political activity in Sweden, present key performance indicators and metadata for the actors on national level.

Demo https://www.hack23.com/cia/

Still prototype, live demo running at https:/www.hack23.com/cia/ and https://riksdagsmonitor.com/

Using open data from http://data.riksdagen.se/ , http://www.val.se/ and http://data.worldbank.org/ .

Currently the application displays data, metadata and charts for data related to Swedish parliament and government. Covering parliament members, committees, documents, ballots, decisions, ministries, government members and political parties.

Limited functionality proper navigation, descriptions,content, ui and styling are still not in place.

Roadmap

Plan to make it public some time after 2022.04, running Ubuntu 22.04, Postgresql 14.x, JDK17+, Spring framework 6.x , Hibernate 6.x, Vaadin 8.x

#Resources

Project documentation http://hack23.github.io/cia/

Project Architecture http://hack23.github.io/cia/architecture.html

Project Architecture(old) https://structurizr.com/share/37264#Enterprise

3D project view https://www.hack23.com/sonar/project/extension/softvis3d/overview_page?id=com.hack23.cia:cia-all&qualifier=TRK&metricFootprint=complexity&metricHeight=ncloc&metricColor=coverage&layout=district&scale=logarithmic&cameraX=0&cameraY=1551&cameraZ=1570&colorTheme=default

Github source code location https://github.com/Hack23/cia

Build server, jenkins https://www.hack23.com/jenkins/

QA report, sonarqube https://www.hack23.com/sonar/

Repository manager, nexus https://www.hack23.com/nexus/

Reporting Security Issues

Follow instructions

Parlimentary informatics

https://en.wikipedia.org/wiki/Parliamentary_informatics list many good examples of other projects in the domain around the world.

USA https://www.govtrack.us/

Canada http://OpenParliament.ca

European Union http://www.votewatch.eu/

Sweden http://govdata.se/api

http://riksdagsskolket.se/

http://www.demokratikollen.se

Denmark http://www.hvemstemmerhvad.dk/

Finland http://kansanmuisti.fi/

Norway https://www.holderdeord.no/

UK https://www.theyworkforyou.com/

http://www.publicwhip.org.uk/

Germany http://offenesparlament.de

Italy http://parlamento17.openpolis.it/

France https://www.nosdeputes.fr/

https://www.projetarcadie.fr

Colombia http://www.congresovisible.org/

Jordanian http://www.jpm.jo/

South Korea http://pokr.kr/

Israel https://oknesset.org/

Running docker image

Docker repository : https://hub.docker.com/r/hack23/cia/

  1. docker run hack23/cia:2022.10.9 -p 28443:8443

  2. Access server at https://localhost:28443/cia/ , register new user to get admin access

Installing Debian/Ubuntu package

Currently only build a debian package, works with debian and ubuntu 20.4+

  1. Installing database(postgres) and openjdk
$ sudo apt-get install openjdk-16-jdk postgresql-13 pgadmin3
  1. Installing Postgresql on Ubuntu
$ sudo apt-get install postgresql-13 postgresql-contrib postgresql-13-pgaudit
  1. Create empty database

Below description set the default username/password and database name used for development, recommend using custom credentials and update the configuration at /opt/cia/webapps/cia/WEB-INF/database.properties to define your own username/password and database name.

$ sudo su - postgres
$ psql
postgres=# CREATE USER eris WITH password 'discord';
postgres=# CREATE DATABASE cia_dev;
postgres=# GRANT ALL PRIVILEGES ON DATABASE cia_dev to eris;
  1. Modify postgres setting, enable prepared transactions and extensions used pg_stat_statements, pgaudit, pgcrypto

Edit file "/etc/postgresql/13/main/postgresql.conf" set

max_prepared_transactions = 100
shared_preload_libraries = 'pg_stat_statements, pgaudit, pgcrypto'
pgaudit.log = ddl
pg_stat_statements.track = all
pg_stat_statements.max = 10000
  1. Modify postgres setting Edit file "/etc/postgresql/13/main/pg_hba.conf" add line
host all all ::1/128 md5
  1. Restart postgres
$ service postgresql restart
  1. Get cia debian package and
$ wget https://oss.sonatype.org/content/repositories/releases/com/hack23/cia/cia-dist-deb/2022.10.9/cia-dist-deb-2022.10.9.deb
  1. Install debian package
$ sudo dpkg -i cia-dist-deb-2022.10.9.deb
  1. Access the server at https://localhost:28443/cia/ .

Application package diagram overview

Package overview diagram Api docs

Cloudformation template diagram

Cloudformation

FOSSA Status

Get more details at codescene.io.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].