docs: small readmes for other crates
This commit is contained in:
parent
c08fed6636
commit
002da752c3
7 changed files with 81 additions and 0 deletions
|
@ -1 +1,55 @@
|
|||
# upub cli
|
||||
|
||||
command line interface tools for `upub`
|
||||
|
||||
everything is pretty well documented: just add `--help` to get detailed info
|
||||
|
||||
|
||||
```sh
|
||||
$ upub --help
|
||||
micro social network, federated
|
||||
|
||||
Usage: upub [OPTIONS] <COMMAND>
|
||||
|
||||
Commands:
|
||||
config print current or default configuration
|
||||
migrate apply database migrations
|
||||
cli run maintenance CLI tasks
|
||||
monolith start both api routes and background workers
|
||||
serve start api routes server
|
||||
work start background job worker
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
-c, --config <CONFIG> path to config file, leave empty to not use any
|
||||
--db <DATABASE> database connection uri, overrides config value
|
||||
--domain <DOMAIN> instance base domain, for AP ids, overrides config value
|
||||
--debug run with debug level tracing
|
||||
--threads <THREADS> force set number of worker threads for async runtime, defaults to number of cores
|
||||
-h, --help Print help
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
```sh
|
||||
$ upub cli --help
|
||||
run maintenance CLI tasks
|
||||
|
||||
Usage: upub cli <COMMAND>
|
||||
|
||||
Commands:
|
||||
faker generate fake user, note and activity
|
||||
fetch fetch a single AP object
|
||||
relay act on remote relay actors at instance level
|
||||
count recount object statistics
|
||||
update update remote actors
|
||||
register register a new local user
|
||||
nuke break all user relations so that instance can be shut down
|
||||
thread attempt to fix broken threads and completely gather their context
|
||||
cloak replaces all attachment urls with proxied local versions (only useful for old instances)
|
||||
fix-activities restore activities links, only needed for very old installs
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
-h, --help Print help
|
||||
```
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
# upub core
|
||||
|
||||
core traits, models and extensions for `upub`
|
||||
|
||||
this crate is not very useful on its own
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
# upub migrations
|
||||
|
||||
database migrations for `upub`
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
# upub routes
|
||||
|
||||
all web routes for `upub`: API, web and activitypub
|
||||
|
|
7
utils/mdhtml/README.md
Normal file
7
utils/mdhtml/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# mdhtml
|
||||
|
||||
> batteries-included opinionated html escaping and markdown parsing
|
||||
|
||||
basically anything you may need to sanitize html before displaying it, and converting user generated markdown into safe html
|
||||
|
||||
this is probably only useful for [upub](https://join.upub.social), and it was made a standalone crate to be shared across components
|
7
utils/uriproxy/README.md
Normal file
7
utils/uriproxy/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# uriproxy
|
||||
|
||||
> a way to encode urls in urls
|
||||
|
||||
this is basically probably only useful for [upub](https://join.upub.social), as it needs to encode remote object urls in its urls
|
||||
|
||||
this is made as a tiny standalone crate so it can be shared across upub components
|
5
worker/README.md
Normal file
5
worker/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# upub worker
|
||||
|
||||
background worker for `upub`, processing activities and evolving internal server state
|
||||
|
||||
this handles both remote and local activities: it makes no distinction! local activities just get some pre-processing
|
Loading…
Add table
Reference in a new issue