forked from janek/mostr
release: 0.2.0
This commit is contained in:
parent
e7bfc720db
commit
18fca1d0f3
|
@ -898,7 +898,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mostr"
|
name = "mostr"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"colog",
|
"colog",
|
||||||
"itertools",
|
"itertools",
|
||||||
|
|
|
@ -5,7 +5,7 @@ repository = "https://forge.ftt.gmbh/janek/mostr"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "GPL 3.0"
|
license = "GPL 3.0"
|
||||||
authors = ["melonion"]
|
authors = ["melonion"]
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
default-run = "mostr"
|
default-run = "mostr"
|
||||||
|
|
||||||
|
|
16
README.md
16
README.md
|
@ -6,11 +6,18 @@ A nested task chat, powered by nostr!
|
||||||
|
|
||||||
First, start a nostr relay, such as
|
First, start a nostr relay, such as
|
||||||
- https://github.com/coracle-social/bucket for local development
|
- https://github.com/coracle-social/bucket for local development
|
||||||
- rnostr for production use
|
- https://github.com/rnostr/rnostr for production use
|
||||||
|
|
||||||
|
Run development build with:
|
||||||
|
|
||||||
cargo run
|
cargo run
|
||||||
|
|
||||||
Creating a test task: nostril --envelope --content "test task" --kind 1630 | websocat ws://localhost:4736
|
Creating a test task:
|
||||||
|
`nostril --envelope --content "test task" --kind 1621 | websocat ws://localhost:4736`
|
||||||
|
|
||||||
|
Install latest build:
|
||||||
|
|
||||||
|
cargo install --path . --offline
|
||||||
|
|
||||||
## Principles
|
## Principles
|
||||||
|
|
||||||
|
@ -66,7 +73,7 @@ An active tag or state filter will also set that attribute for newly created tas
|
||||||
- TBI: `progress` - how many subtasks are complete
|
- TBI: `progress` - how many subtasks are complete
|
||||||
- TBI: `progressp` - subtask completion in percent
|
- TBI: `progressp` - subtask completion in percent
|
||||||
|
|
||||||
For debugging: `props` - Task Property Events
|
For debugging: `props`, `alltags`
|
||||||
|
|
||||||
## Plans
|
## Plans
|
||||||
|
|
||||||
|
@ -76,7 +83,8 @@ For debugging: `props` - Task Property Events
|
||||||
- Unified Filter object
|
- Unified Filter object
|
||||||
-> include sub
|
-> include sub
|
||||||
- Time tracking: Active not as task state, ability to postpone task and add planned timestamps (calendar entry)
|
- Time tracking: Active not as task state, ability to postpone task and add planned timestamps (calendar entry)
|
||||||
- Web Interface, Messenger integrations
|
|
||||||
- TUI - Clear terminal?
|
- TUI - Clear terminal?
|
||||||
- Expiry (no need to fetch potential years of history)
|
- Expiry (no need to fetch potential years of history)
|
||||||
|
- Offline caching
|
||||||
|
- Web Interface, Messenger integrations
|
||||||
- Relay: filter out task state updates within few seconds, also on client side
|
- Relay: filter out task state updates within few seconds, also on client side
|
||||||
|
|
|
@ -352,6 +352,7 @@ async fn main() {
|
||||||
}
|
}
|
||||||
println!();
|
println!();
|
||||||
|
|
||||||
|
// TODO optionally continue
|
||||||
tasks.update_state("", |t| {
|
tasks.update_state("", |t| {
|
||||||
if t.pure_state() == State::Active {
|
if t.pure_state() == State::Active {
|
||||||
Some(State::Open)
|
Some(State::Open)
|
||||||
|
|
Loading…
Reference in New Issue