ferro/README.md

69 lines
2.1 KiB
Markdown
Raw Normal View History

2025-01-11 13:20:47 +00:00
# Ferro
A rust base llm wrapper for generating git commits and descriptions
2024-12-10 13:20:22 +00:00
2025-01-11 13:20:47 +00:00
## How to read
This readme can be read _As-Is_ but youll be missing some nice visuals. If you want to see those, you need two tools:
1. [graph-easy](http://bloodgate.com/perl/graph/manual/overview.html)
2. [slides](https://github.com/maaslalani/slides)
2024-12-10 13:20:22 +00:00
2025-01-11 13:20:47 +00:00
figure out how to get those installed on your OS and then come back, otherwise, continue on...
2024-12-10 13:20:22 +00:00
2025-01-11 13:20:47 +00:00
## Fun Facts
### Scientific Roots
2024-12-10 13:20:22 +00:00
1. Ferrum: Latin for iron, reflecting Rust's iron/oxidation themes.
2. Ferro-: Greek prefix meaning iron or iron-containing.
2025-01-11 13:20:47 +00:00
### Relevant Connections
2024-12-10 13:20:22 +00:00
1. Ferrocene: An iron-containing compound.
2. Ferroelectric: Materials exhibiting iron-like electrical properties.
2025-01-11 13:20:47 +00:00
### Simple, Modern Sound
"Ferro" is concise, memorable and has a technical feel, fitting for a Rust CLI tool.
2024-12-10 13:20:22 +00:00
2025-01-11 13:20:47 +00:00
*continue to architecture on next page*
---
## Architecture
I just wanted to split things up in a cohesive way. Where one node is resposible for its own thing and returns whatever
data, it creates, to its caller
```
this is a graph demonstrating the mvp architecture
~~~graph-easy --as=boxart
graph { flow: east; }
[main]->{start:front; end:back}[arg parser]
[arg parser] -> {start:front,0; end:back;} [pr handler]
[arg parser] -> {start:front,0; end:back;} [commit handler]
[pr handler], [commit handler] -> {start:front; end:back,0;} [ml interface]
[ml interface] -> [out]
[commit handler] <=> [banana]
[pr handler] <=> [apple]
~~~
```
*continue to next slide to see mvp v2 architecture*
---
```
this is a graph demonstrating the mvp (v2) architecture
~~~graph-easy --as=boxart
graph { flow: east; }
[main]->{start:front; end:back}[arg parser]
[arg parser] -> {start:front,0; end:back;} [pr handler]
[arg parser] -> {start:front,0; end:back;} [commit handler]
[pr handler], [commit handler] -> {start:front; end:back,0;} [ml interface]
[ml interface] -> [out]
[commit handler] <=> [banana]
[pr handler] <=> [apple]
[config loader]{ origin: main; offset: 0,-2; } -> {start:right; end:left} [main]
[interactive] { origin: arg parser; offset: 0,-2; } <== no args ==> {start:right; end:left}[arg parser]
~~~
```
2024-12-10 13:20:22 +00:00