yreflow 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yreflow-0.1.0/.gitignore +17 -0
- yreflow-0.1.0/.python-version +1 -0
- yreflow-0.1.0/LICENSE +21 -0
- yreflow-0.1.0/PKG-INFO +83 -0
- yreflow-0.1.0/README.md +53 -0
- yreflow-0.1.0/config.toml.example +8 -0
- yreflow-0.1.0/docs/COMMANDS.md +272 -0
- yreflow-0.1.0/docs/SECURITY.md +49 -0
- yreflow-0.1.0/pyproject.toml +43 -0
- yreflow-0.1.0/uv.lock +274 -0
- yreflow-0.1.0/yreflow/__init__.py +0 -0
- yreflow-0.1.0/yreflow/__main__.py +3 -0
- yreflow-0.1.0/yreflow/commands/__init__.py +0 -0
- yreflow-0.1.0/yreflow/commands/handler.py +767 -0
- yreflow-0.1.0/yreflow/commands/name_resolver.py +53 -0
- yreflow-0.1.0/yreflow/config.py +56 -0
- yreflow-0.1.0/yreflow/controller.py +114 -0
- yreflow-0.1.0/yreflow/formatter.py +134 -0
- yreflow-0.1.0/yreflow/main.py +19 -0
- yreflow-0.1.0/yreflow/protocol/__init__.py +0 -0
- yreflow-0.1.0/yreflow/protocol/connection.py +315 -0
- yreflow-0.1.0/yreflow/protocol/events.py +17 -0
- yreflow-0.1.0/yreflow/protocol/http_auth.py +98 -0
- yreflow-0.1.0/yreflow/protocol/model_store.py +112 -0
- yreflow-0.1.0/yreflow/protocol/state.py +9 -0
- yreflow-0.1.0/yreflow/ui/__init__.py +0 -0
- yreflow-0.1.0/yreflow/ui/app.py +633 -0
- yreflow-0.1.0/yreflow/ui/base.py +55 -0
- yreflow-0.1.0/yreflow/ui/highlighters/__init__.py +7 -0
- yreflow-0.1.0/yreflow/ui/highlighters/composite.py +34 -0
- yreflow-0.1.0/yreflow/ui/highlighters/markup_preview.py +58 -0
- yreflow-0.1.0/yreflow/ui/highlighters/spellcheck.py +115 -0
- yreflow-0.1.0/yreflow/ui/screens/__init__.py +0 -0
- yreflow-0.1.0/yreflow/ui/screens/character_select.py +152 -0
- yreflow-0.1.0/yreflow/ui/screens/login_screen.py +87 -0
- yreflow-0.1.0/yreflow/ui/screens/look_screen.py +209 -0
- yreflow-0.1.0/yreflow/ui/screens/profile_select.py +145 -0
- yreflow-0.1.0/yreflow/ui/widgets/__init__.py +0 -0
- yreflow-0.1.0/yreflow/ui/widgets/character_bar.py +128 -0
- yreflow-0.1.0/yreflow/ui/widgets/input_bar.py +120 -0
- yreflow-0.1.0/yreflow/ui/widgets/message_view.py +23 -0
- yreflow-0.1.0/yreflow/ui/widgets/watch_list.py +182 -0
yreflow-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.11
|
yreflow-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kredden
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
yreflow-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: yreflow
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Wolfery console client
|
|
5
|
+
Project-URL: Homepage, https://github.com/TenjouUtena/yreflow
|
|
6
|
+
Project-URL: Repository, https://github.com/TenjouUtena/yreflow
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/TenjouUtena/yreflow/issues
|
|
8
|
+
Author-email: Kredden <kredden@proactiveapathy.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: client,console,mud,textual,tui,wolfery
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Communications
|
|
23
|
+
Classifier: Topic :: Games/Entertainment :: Role-Playing
|
|
24
|
+
Requires-Python: >=3.11
|
|
25
|
+
Requires-Dist: httpx>=0.27
|
|
26
|
+
Requires-Dist: pyspellchecker>=0.8
|
|
27
|
+
Requires-Dist: textual>=8.0.0
|
|
28
|
+
Requires-Dist: websockets>=16.0
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# yreflow
|
|
32
|
+
|
|
33
|
+
A console client for [Wolfery](https://wolfery.com), built with [Textual](https://textual.textualize.io/).
|
|
34
|
+
|
|
35
|
+
Wolfery is a text-based roleplaying platform. yreflow gives you a terminal UI for connecting to it -- character selection, room navigation, chat commands, spellcheck, and Wolfery markup preview.
|
|
36
|
+
|
|
37
|
+
## Install
|
|
38
|
+
|
|
39
|
+
Requires Python 3.11+.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
uv tool install yreflow
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Then run it:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
yreflow
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Or run it directly without installing:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
uvx yreflow
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Usage
|
|
58
|
+
|
|
59
|
+
On first launch, yreflow shows a login screen. Enter your Wolfery username and password. After authentication, pick a character and you're in.
|
|
60
|
+
|
|
61
|
+
Type commands directly in the input bar. A few examples:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
"Hello there! # say something
|
|
65
|
+
:waves # pose an action
|
|
66
|
+
w Alice=Hey, over here # whisper to someone
|
|
67
|
+
look # examine the room
|
|
68
|
+
go north # move through an exit
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
See [docs/COMMANDS.md](docs/COMMANDS.md) for the full command reference.
|
|
72
|
+
|
|
73
|
+
## Configuration
|
|
74
|
+
|
|
75
|
+
Settings are stored in `~/.config/yreflow/config.toml`. This file is created automatically on first login. See [docs/SECURITY.md](docs/SECURITY.md) for details on how credentials are handled.
|
|
76
|
+
|
|
77
|
+
## AI Disclosure
|
|
78
|
+
|
|
79
|
+
This project was developed with the assistance of [Claude Code](https://claude.ai/), Anthropic's AI programming tool.
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
|
|
83
|
+
[MIT](LICENSE)
|
yreflow-0.1.0/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# yreflow
|
|
2
|
+
|
|
3
|
+
A console client for [Wolfery](https://wolfery.com), built with [Textual](https://textual.textualize.io/).
|
|
4
|
+
|
|
5
|
+
Wolfery is a text-based roleplaying platform. yreflow gives you a terminal UI for connecting to it -- character selection, room navigation, chat commands, spellcheck, and Wolfery markup preview.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
Requires Python 3.11+.
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
uv tool install yreflow
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then run it:
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
yreflow
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or run it directly without installing:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
uvx yreflow
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
On first launch, yreflow shows a login screen. Enter your Wolfery username and password. After authentication, pick a character and you're in.
|
|
30
|
+
|
|
31
|
+
Type commands directly in the input bar. A few examples:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
"Hello there! # say something
|
|
35
|
+
:waves # pose an action
|
|
36
|
+
w Alice=Hey, over here # whisper to someone
|
|
37
|
+
look # examine the room
|
|
38
|
+
go north # move through an exit
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
See [docs/COMMANDS.md](docs/COMMANDS.md) for the full command reference.
|
|
42
|
+
|
|
43
|
+
## Configuration
|
|
44
|
+
|
|
45
|
+
Settings are stored in `~/.config/yreflow/config.toml`. This file is created automatically on first login. See [docs/SECURITY.md](docs/SECURITY.md) for details on how credentials are handled.
|
|
46
|
+
|
|
47
|
+
## AI Disclosure
|
|
48
|
+
|
|
49
|
+
This project was developed with the assistance of [Claude Code](https://claude.ai/), Anthropic's AI programming tool.
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# yreflow configuration
|
|
2
|
+
# Place at ~/.config/yreflow/config.toml
|
|
3
|
+
#
|
|
4
|
+
# All settings are optional. The app works without a config file
|
|
5
|
+
# (you'll be prompted to log in on startup).
|
|
6
|
+
|
|
7
|
+
# Optional: skip the login screen by providing a token.
|
|
8
|
+
# token = "your-wolfery-auth-token-here"
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
# Commands
|
|
2
|
+
|
|
3
|
+
## Communication
|
|
4
|
+
|
|
5
|
+
### say
|
|
6
|
+
|
|
7
|
+
Send dialogue to everyone in the room.
|
|
8
|
+
|
|
9
|
+
| Aliases | `say`, `"`, `\u201c`, `\u201d` |
|
|
10
|
+
|---------|------|
|
|
11
|
+
| Syntax | `say <message>` or `"<message>` |
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
say Hello there!
|
|
15
|
+
"Hello there!
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### pose
|
|
19
|
+
|
|
20
|
+
Perform an action or emote in the room (third-person narrative).
|
|
21
|
+
|
|
22
|
+
| Aliases | `pose`, `:` |
|
|
23
|
+
|---------|------|
|
|
24
|
+
| Syntax | `pose <action>` or `:<action>` |
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
pose waves hello
|
|
28
|
+
:waves hello
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### ooc
|
|
32
|
+
|
|
33
|
+
Send an out-of-character message. Add `:` before the message for pose format.
|
|
34
|
+
|
|
35
|
+
| Aliases | `ooc`, `>:`, `:>`, `>` |
|
|
36
|
+
|---------|------|
|
|
37
|
+
| Syntax | `ooc <message>` or `ooc :<pose>` or `>:<pose>` or `><message>` |
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
ooc This is great!
|
|
41
|
+
ooc :nods
|
|
42
|
+
>:agrees
|
|
43
|
+
>just chatting
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### whisper
|
|
47
|
+
|
|
48
|
+
Send a private message to a character in the room.
|
|
49
|
+
|
|
50
|
+
| Aliases | `w`, `wh` |
|
|
51
|
+
|---------|------|
|
|
52
|
+
| Syntax | `w <name>=<message>` |
|
|
53
|
+
|
|
54
|
+
Modifiers before the message: `:` for pose, `>` for ooc, `:>` for both.
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
w Alice=Hello there!
|
|
58
|
+
wh Bob=:waves
|
|
59
|
+
w Alice=>ooc message
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### page
|
|
63
|
+
|
|
64
|
+
Send a private message (works cross-room).
|
|
65
|
+
|
|
66
|
+
| Aliases | `p`, `m` |
|
|
67
|
+
|---------|------|
|
|
68
|
+
| Syntax | `p <name>=<message>` |
|
|
69
|
+
|
|
70
|
+
Modifiers before the message: `:` for pose, `>` for ooc.
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
p Alice=Can we talk?
|
|
74
|
+
m Bob=:waves from afar
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### address
|
|
78
|
+
|
|
79
|
+
Direct speech to a specific character in the room.
|
|
80
|
+
|
|
81
|
+
| Aliases | `address`, `@` |
|
|
82
|
+
|---------|------|
|
|
83
|
+
| Syntax | `address <name>=<message>` or `@<name>=<message>` |
|
|
84
|
+
|
|
85
|
+
Modifiers before the message: `:` for pose, `>` for ooc.
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
address Alice=This is for you
|
|
89
|
+
@Bob=I'm speaking to you
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Movement
|
|
93
|
+
|
|
94
|
+
### go
|
|
95
|
+
|
|
96
|
+
Move through a named exit.
|
|
97
|
+
|
|
98
|
+
| Aliases | `go` |
|
|
99
|
+
|---------|------|
|
|
100
|
+
| Syntax | `go <exit>` |
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
go north
|
|
104
|
+
go through door
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### home
|
|
108
|
+
|
|
109
|
+
Teleport to your character's home location.
|
|
110
|
+
|
|
111
|
+
| Aliases | `home` |
|
|
112
|
+
|---------|------|
|
|
113
|
+
| Syntax | `home` |
|
|
114
|
+
|
|
115
|
+
### teleport
|
|
116
|
+
|
|
117
|
+
Teleport directly to a named location by its key.
|
|
118
|
+
|
|
119
|
+
| Aliases | `teleport`, `t` |
|
|
120
|
+
|---------|------|
|
|
121
|
+
| Syntax | `teleport <location>` or `t <location>` |
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
t tavern
|
|
125
|
+
teleport village
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Information
|
|
129
|
+
|
|
130
|
+
### look
|
|
131
|
+
|
|
132
|
+
Examine the current room, or a specific character.
|
|
133
|
+
|
|
134
|
+
| Aliases | `look`, `l` |
|
|
135
|
+
|---------|------|
|
|
136
|
+
| Syntax | `look` or `look <name>` |
|
|
137
|
+
|
|
138
|
+
With no argument, shows the room name, description, exits, and area. With a name, shows that character's details (species, gender, description, tags).
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
look
|
|
142
|
+
l Alice
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### laston
|
|
146
|
+
|
|
147
|
+
Check when a character was last online.
|
|
148
|
+
|
|
149
|
+
| Aliases | `laston` |
|
|
150
|
+
|---------|------|
|
|
151
|
+
| Syntax | `laston <name>` |
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
laston Alice
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### whereat
|
|
158
|
+
|
|
159
|
+
Display a tree of population in the current area and sub-areas.
|
|
160
|
+
|
|
161
|
+
| Aliases | `wa`, `whereat` |
|
|
162
|
+
|---------|------|
|
|
163
|
+
| Syntax | `wa` |
|
|
164
|
+
|
|
165
|
+
## Social
|
|
166
|
+
|
|
167
|
+
### lead
|
|
168
|
+
|
|
169
|
+
Start leading a character (they will follow your movements).
|
|
170
|
+
|
|
171
|
+
| Aliases | `lead` |
|
|
172
|
+
|---------|------|
|
|
173
|
+
| Syntax | `lead <name>` |
|
|
174
|
+
|
|
175
|
+
### follow
|
|
176
|
+
|
|
177
|
+
Start following a character.
|
|
178
|
+
|
|
179
|
+
| Aliases | `follow` |
|
|
180
|
+
|---------|------|
|
|
181
|
+
| Syntax | `follow <name>` |
|
|
182
|
+
|
|
183
|
+
### join
|
|
184
|
+
|
|
185
|
+
Join a group led by another character.
|
|
186
|
+
|
|
187
|
+
| Aliases | `join` |
|
|
188
|
+
|---------|------|
|
|
189
|
+
| Syntax | `join <name>` |
|
|
190
|
+
|
|
191
|
+
### summon
|
|
192
|
+
|
|
193
|
+
Request a character to come to your location.
|
|
194
|
+
|
|
195
|
+
| Aliases | `summon` |
|
|
196
|
+
|---------|------|
|
|
197
|
+
| Syntax | `summon <name>` |
|
|
198
|
+
|
|
199
|
+
## Character Management
|
|
200
|
+
|
|
201
|
+
### profile
|
|
202
|
+
|
|
203
|
+
Switch to a different character profile/form. With no argument, opens the profile selector. Matches by keyword first, then by name.
|
|
204
|
+
|
|
205
|
+
| Aliases | `profile`, `morph` |
|
|
206
|
+
|---------|------|
|
|
207
|
+
| Syntax | `profile` or `profile <profile-name>` |
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
profile
|
|
211
|
+
morph wolf
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### focus
|
|
215
|
+
|
|
216
|
+
Highlight a character with a color in the UI.
|
|
217
|
+
|
|
218
|
+
| Aliases | `focus` |
|
|
219
|
+
|---------|------|
|
|
220
|
+
| Syntax | `focus <name>=<color>` |
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
focus Alice=red
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### unfocus
|
|
227
|
+
|
|
228
|
+
Remove a character highlight.
|
|
229
|
+
|
|
230
|
+
| Aliases | `unfocus` |
|
|
231
|
+
|---------|------|
|
|
232
|
+
| Syntax | `unfocus <name>` |
|
|
233
|
+
|
|
234
|
+
## Session
|
|
235
|
+
|
|
236
|
+
### status
|
|
237
|
+
|
|
238
|
+
Set or clear your character's status message. No argument clears it.
|
|
239
|
+
|
|
240
|
+
| Aliases | `status` |
|
|
241
|
+
|---------|------|
|
|
242
|
+
| Syntax | `status` or `status <text>` |
|
|
243
|
+
|
|
244
|
+
```
|
|
245
|
+
status afk for 5 minutes
|
|
246
|
+
status
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### release
|
|
250
|
+
|
|
251
|
+
Release/suspend your character (log them out).
|
|
252
|
+
|
|
253
|
+
| Aliases | `quit`, `sleep` |
|
|
254
|
+
|---------|------|
|
|
255
|
+
| Syntax | `quit` or `sleep` |
|
|
256
|
+
|
|
257
|
+
### sweep
|
|
258
|
+
|
|
259
|
+
Clear the room view.
|
|
260
|
+
|
|
261
|
+
| Aliases | `sweep` |
|
|
262
|
+
|---------|------|
|
|
263
|
+
| Syntax | `sweep` |
|
|
264
|
+
|
|
265
|
+
## Name Matching
|
|
266
|
+
|
|
267
|
+
Commands that target a character (`whisper`, `page`, `address`, `look`, `lead`, `follow`, `join`, `summon`, `focus`, `unfocus`, `laston`) use fuzzy name matching:
|
|
268
|
+
|
|
269
|
+
1. Exact match (case-insensitive)
|
|
270
|
+
2. Prefix match
|
|
271
|
+
|
|
272
|
+
If no match or multiple matches are found, an error is shown.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
How yreflow handles your credentials and connection to Wolfery.
|
|
4
|
+
|
|
5
|
+
## Authentication Flow
|
|
6
|
+
|
|
7
|
+
yreflow uses a two-step process:
|
|
8
|
+
|
|
9
|
+
1. **First login** -- You enter your username and password in the login screen. The password is hashed client-side and sent over HTTPS to Wolfery's auth server. If successful, the server returns an auth token.
|
|
10
|
+
2. **Subsequent launches** -- The token is reused automatically. No password prompt unless the token expires.
|
|
11
|
+
|
|
12
|
+
## Password Handling
|
|
13
|
+
|
|
14
|
+
Your password is **never stored** on disk. When you log in:
|
|
15
|
+
|
|
16
|
+
- The password is hashed with SHA-256 and HMAC-SHA-256 before leaving your machine.
|
|
17
|
+
- The hashes are sent over HTTPS (`https://auth.mucklet.com/login`).
|
|
18
|
+
- The plaintext password exists only briefly in memory during the hashing step.
|
|
19
|
+
|
|
20
|
+
## Token Storage
|
|
21
|
+
|
|
22
|
+
After a successful login, the auth token is saved to:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
~/.config/yreflow/config.toml
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The token is stored as **plaintext** in this file. It is protected only by your operating system's file permissions. Anyone with read access to your home directory could read it.
|
|
29
|
+
|
|
30
|
+
To remove a stored token, delete the `token` line from your config file or delete the file entirely.
|
|
31
|
+
|
|
32
|
+
## Transport Security
|
|
33
|
+
|
|
34
|
+
All network traffic uses TLS:
|
|
35
|
+
|
|
36
|
+
- **Authentication**: HTTPS to `auth.mucklet.com`
|
|
37
|
+
- **WebSocket**: WSS (TLS-encrypted) to `api.wolfery.com`
|
|
38
|
+
|
|
39
|
+
No data is sent over unencrypted connections.
|
|
40
|
+
|
|
41
|
+
## Token Expiry
|
|
42
|
+
|
|
43
|
+
When a token expires, yreflow automatically clears it from the config file and shows the login screen again. No manual intervention is needed.
|
|
44
|
+
|
|
45
|
+
## What Is Not Stored
|
|
46
|
+
|
|
47
|
+
- Passwords (never written to disk)
|
|
48
|
+
- Chat logs or message history
|
|
49
|
+
- Other users' credentials or personal data
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "yreflow"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
authors = [
|
|
5
|
+
{ name="Kredden", email="kredden@proactiveapathy.com" }
|
|
6
|
+
]
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
description = "Wolfery console client"
|
|
9
|
+
requires-python = ">=3.11"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
keywords = ["mud", "textual", "console", "client", "wolfery", "tui"]
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Development Status :: 3 - Alpha",
|
|
14
|
+
"Environment :: Console",
|
|
15
|
+
"Intended Audience :: End Users/Desktop",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Natural Language :: English",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Topic :: Communications",
|
|
24
|
+
"Topic :: Games/Entertainment :: Role-Playing",
|
|
25
|
+
]
|
|
26
|
+
dependencies = [
|
|
27
|
+
"textual>=8.0.0",
|
|
28
|
+
"websockets>=16.0",
|
|
29
|
+
"httpx>=0.27",
|
|
30
|
+
"pyspellchecker>=0.8",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.urls]
|
|
34
|
+
Homepage = "https://github.com/TenjouUtena/yreflow"
|
|
35
|
+
Repository = "https://github.com/TenjouUtena/yreflow"
|
|
36
|
+
"Bug Tracker" = "https://github.com/TenjouUtena/yreflow/issues"
|
|
37
|
+
|
|
38
|
+
[build-system]
|
|
39
|
+
requires = ["hatchling"]
|
|
40
|
+
build-backend = "hatchling.build"
|
|
41
|
+
|
|
42
|
+
[project.scripts]
|
|
43
|
+
yreflow = "yreflow.main:main"
|