Kumi
8e421abb76
Introduces a basic framework for Matrix Redactor Bot, including .gitignore for environment files and compiled Python files. Adds LICENSE with MIT license terms and a README for project overview. Configures a sample YAML file for bot setup. Sets up a Python package with pyproject.toml, specifying dependencies and entry points. Implements basic redactor bot function to redact media and links sent by low-privileged users in Matrix rooms.
26 lines
895 B
TOML
26 lines
895 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "matrix_redactorbot"
|
|
version = "0.1.5"
|
|
authors = [{ name = "Private.coffee Team", email = "support@private.coffee" }]
|
|
description = "A simple bot to redact media and links sent by unprivileged users in Matrix rooms."
|
|
readme = "README.md"
|
|
license = { file = "LICENSE" }
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = ["matrix-nio", "pyyaml"]
|
|
|
|
[project.scripts]
|
|
redactorbot = "matrix_redactorbot.main:main"
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.private.coffee/privatecoffee/matrix-redactorbot"
|
|
"Bug Tracker" = "https://git.private.coffee/privatecoffee/matrix-redactorbot/issues"
|
|
"Source Code" = "https://git.private.coffee/privatecoffee/matrix-redactorbot"
|