hebbot: add initial configuration proposal
This commit is contained in:
parent
202bafbce8
commit
e83078e06a
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Do not commit hebbot's state
|
||||
store.json
|
242
hebbot/config.toml
Normal file
242
hebbot/config.toml
Normal file
|
@ -0,0 +1,242 @@
|
|||
# TODO: setup definitive rooms and bot on eXO's server
|
||||
bot_user_id = '@bot_exo:unchat.cat'
|
||||
# bot password is specified via the BOT_PASSWORD environment variable
|
||||
reporting_room_id = '!hpnyGxAwuNxXIwuBrv:unchat.cat'
|
||||
admin_room_id = '!ddhJlZpTNIuWWctmFj:unchat.cat'
|
||||
notice_emoji = '⭕'
|
||||
restrict_notice = true
|
||||
image_markdown = '> ![]({{file}})'
|
||||
video_markdown = '> {{< video src="{{file}}" >}}'
|
||||
# A verb is randomly selected out of these
|
||||
verbs = ["reporta", "diu", "anuncia", "comenta", "informa"]
|
||||
min_length = 30
|
||||
# Set to '' to disable text response
|
||||
ack_text = "✅ Gràcies {{user}}, hem desat la teva resposta per eXOfàsia!"
|
||||
update_config_command = "sh /data/update_config.sh"
|
||||
editors = [
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
#
|
||||
# Sections
|
||||
#
|
||||
[[sections]]
|
||||
emoji = '✅'
|
||||
name = 'todo'
|
||||
title = 'TODO UNKNOWN SECTION'
|
||||
order = 1000
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '🌡️'
|
||||
name = 'status'
|
||||
title = 'Estat eXO 🌡️'
|
||||
order = 1010
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '📜'
|
||||
name = 'legal'
|
||||
title = 'Qüestions legals o formals 📜'
|
||||
order = 1011
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '🫂'
|
||||
name = 'comunitat'
|
||||
title = 'Comunitat 🫂'
|
||||
order = 1020
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '📖'
|
||||
name = 'docs'
|
||||
title = 'Documentació'
|
||||
order = 1030
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '🛠️'
|
||||
name = 'ops'
|
||||
title = 'Operacions eXO 🛠'
|
||||
order = 1150
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '🛰️'
|
||||
name = 'projectes'
|
||||
title = 'Altres projectes 🛰️'
|
||||
order = 1210
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '🗣️'
|
||||
name = 'events'
|
||||
title = 'Esdeveniments i xerrades 🗣️'
|
||||
order = 1200
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '🧭'
|
||||
name = 'comesfa'
|
||||
title = 'Com es fa - Guies 🧭'
|
||||
order = 1240
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '📰'
|
||||
name = 'news'
|
||||
title = 'eXO als mitjans de comunicació 📰'
|
||||
order = 1270
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '⚪️'
|
||||
name = 'misc'
|
||||
title = 'Miscel·lani'
|
||||
order = 1280
|
||||
usual_reporters = []
|
||||
|
||||
[[sections]]
|
||||
emoji = '💭'
|
||||
name = 'comentaris'
|
||||
title = 'Comentaris finals 💭'
|
||||
order = 2000
|
||||
usual_reporters = []
|
||||
|
||||
|
||||
#
|
||||
## Projects
|
||||
#
|
||||
##
|
||||
### Qüestions core
|
||||
##
|
||||
[[projects]]
|
||||
emoji = '🧡'
|
||||
name = 'junta'
|
||||
title = 'Junta eXO'
|
||||
description = "La Junta eXO, a part de ser la representació legal de l'associació, treballa amb un grup més estès de persones per portar el dia a dia en la direcció marcada per les Assembles Generals."
|
||||
website = 'https://agora.exo.cat/t/exotemp-p10-estatuts/113#captol-iv-la-junta-directiva-18'
|
||||
default_section = 'status'
|
||||
usual_reporters = [
|
||||
'@dyangol:matrix.guifi.net',
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '💰️'
|
||||
name = 'Tresoreria'
|
||||
title = 'Tresoreria eXO 💰️'
|
||||
description = "La Tresoreria eXO treballa en tàndem amb la Secretaria eXO per facilitar l'activitat pròpia de l'associació i l'execució de projectes"
|
||||
website = 'https://agora.exo.cat/t/exotemp-p10-estatuts/113#captol-vi-la-tresoreria-i-la-secretaria-28'
|
||||
default_section = 'legal'
|
||||
usual_reporters = [
|
||||
'@dyangol:matrix.guifi.net',
|
||||
'@evilham:unchat.cat',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '🧙'
|
||||
name = 'eXO-servers'
|
||||
title = 'Comissió tècnica eXO-servers'
|
||||
description = "La comissió tènica eXO-servers centralitza tot el que té a veure amb la part tècnica de l'associació."
|
||||
website = 'https://agora.exo.cat/t/exotemp-p6-grup-de-treball-exo-servers/108'
|
||||
default_section = 'ops'
|
||||
usual_reporters = [
|
||||
'@dyangol:matrix.guifi.net',
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '🎁'
|
||||
name = 'Donatius'
|
||||
title = 'Donatius 🎁'
|
||||
description = "Des del 2022, l'[eXO](https://eXO.cat) dedica una partida econòmica a fer donatius dintre de les seves possibilitats."
|
||||
website = 'https://agora.exo.cat/t/donatius-programari-lliure-2023/132'
|
||||
default_section = 'comunitat'
|
||||
usual_reporters = [
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '📢'
|
||||
name = 'Guifilab - Taller'
|
||||
title = 'Guifilab - Taller'
|
||||
description = "Els guifilabs de tipus taller són per fer divulgació i compartir conèixement."
|
||||
website = 'https://exo.cat/guifilab/'
|
||||
default_section = 'events'
|
||||
usual_reporters = [
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '✨'
|
||||
name = 'Guifilab - Social'
|
||||
title = 'Guifilab - Social'
|
||||
description = "Els guifilabs socials són punt de trobada per persones nouvingudes i recurrents."
|
||||
website = 'https://exo.cat/guifilab/'
|
||||
default_section = 'comunitat'
|
||||
usual_reporters = [
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
##
|
||||
### Projectes eXO
|
||||
##
|
||||
[[projects]]
|
||||
emoji = '📡'
|
||||
name = 'Comunitat guifi'
|
||||
title = 'Comunitat guifi 📡'
|
||||
description = "guifi.net és un projecte tecnològic, social i econòmic que té per objectiu la construcció d'una Xarxa de Telecomunicacions de Comuns, oberta, lliure i neutra."
|
||||
website = 'https://guifi.net'
|
||||
default_section = 'comunitat'
|
||||
usual_reporters = [
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '🎙️'
|
||||
name = 'XRCB'
|
||||
title = 'XRCB 🎙️'
|
||||
description = "La Xarxa de Ràdios Comunitàries de Barcelona (XRCB) és una plataforma digital per a ràdio, podcasting i streaming de codi obert per al bé comú. És un projecte públic-comunitari, no comercial, dissenyat i gestionat per la comunitat guifi.net / eXO.cat de Barcelona amb el suport del programa Cultura Viva."
|
||||
website = 'https://xrcb.cat'
|
||||
default_section = 'comunitat'
|
||||
|
||||
[[projects]]
|
||||
emoji = '🏘️'
|
||||
name = 'XOB'
|
||||
title = 'Xarxa Oberta de Barris'
|
||||
description = "L'objectiu del projecte és ajudar a les persones a tenir una connexió a Internet de qualitat, amb una base social i comunitària, assegurant l'accés a la xarxa com a dret universal."
|
||||
website = 'https://exo.cat/xo9b/'
|
||||
default_section = 'comunitat'
|
||||
|
||||
[[projects]]
|
||||
emoji = '🗼'
|
||||
name = 'Wireless Battle Mesh'
|
||||
title = 'Battle Mesh'
|
||||
description = 'The Wireless Battle Mesh is a non-commercial, volunteer-organized annual convention. The purpose of the event is to further topics such as right to connectivity, community-owned infrastructure and related free open source projects.'
|
||||
website = 'https://battlemesh.org'
|
||||
default_section = 'comunitat'
|
||||
usual_reporters = [
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
[[projects]]
|
||||
emoji = '📋️'
|
||||
name = 'LiberaForms - Formularis ètics'
|
||||
title = 'LiberaForms'
|
||||
description = 'LiberaForms és una eina de programari lliure pensada i desenvolupada com a infraestructura comunitària, lliure i ètica que permet crear i gestionar formularis que respecten els drets digitals de les persones que en fan ús.'
|
||||
website = 'https://liberaforms.org'
|
||||
default_section = 'projectes'
|
||||
usual_reporters = [
|
||||
'@evilham:unchat.cat',
|
||||
'@guifipedro:matrix.guifi.net',
|
||||
]
|
||||
|
||||
#
|
6
hebbot/project_template.md
Normal file
6
hebbot/project_template.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
### {{project.title}} [🔗]({{project.website}})
|
||||
|
||||
{{project.description}}
|
||||
|
||||
{{project.news}}
|
||||
|
16
hebbot/report_template.md
Normal file
16
hebbot/report_template.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title: "eXOfàsia #1"
|
||||
author: {{author}}
|
||||
date: {{today}}
|
||||
tags: [{{projects}}]
|
||||
categories: ["eXOfasia"]
|
||||
draft: false
|
||||
---
|
||||
|
||||
Això és el que ha passat a l'[eXO](https://eXO.cat) des de {{timestamp}}.<!--more-->
|
||||
|
||||
{{sections}}
|
||||
|
||||
# Fins la propera!
|
||||
|
||||
Participeu i informeu dels vostres projectes a [#eXOfasia:matrix.guifi.net](https://matrix.to/#/#eXOfasia:matrix.guifi.net)!
|
5
hebbot/section_template.md
Normal file
5
hebbot/section_template.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# {{section.title}}
|
||||
|
||||
{{section.news}}
|
||||
|
||||
{{section.projects}}
|
Loading…
Reference in a new issue