|
| 1 | +# Karesansui Architecture |
| 2 | + |
| 3 | +*A design philosophy for Git ID Switcher* |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## Placing Stones |
| 8 | + |
| 9 | +The gardener asks: |
| 10 | + |
| 11 | +"Why is this stone here?" |
| 12 | + |
| 13 | +A stone that cannot answer should not be placed. |
| 14 | + |
| 15 | +This garden called Git ID Switcher faces the same question. |
| 16 | + |
| 17 | +--- |
| 18 | + |
| 19 | +## The Core |
| 20 | + |
| 21 | +"Who am I?" — that's what we switch. |
| 22 | + |
| 23 | +Nothing more. |
| 24 | + |
| 25 | +```bash |
| 26 | +git config user.name |
| 27 | +git config user.email |
| 28 | +``` |
| 29 | + |
| 30 | +It could be written in 100 lines. |
| 31 | + |
| 32 | +That's precisely why we can spend everything else on *how* to place it. |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +## The Stone |
| 37 | + |
| 38 | +Immovable. The center of the garden. |
| 39 | + |
| 40 | +Create a profile. Select it. Write to git config. |
| 41 | + |
| 42 | +This is the stone. Everything else exists to make this stone shine. |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +## Sand Patterns |
| 47 | + |
| 48 | +Ripples raked around the stone. |
| 49 | + |
| 50 | +Not the stone itself, but what makes the stone a stone. |
| 51 | + |
| 52 | +90% test coverage. Structured logging. Timeout handling. Input validation. |
| 53 | + |
| 54 | +Sand patterns go unnoticed. But a garden without them is just barren land. |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +## Accents |
| 59 | + |
| 60 | +Small presences that give the garden its story. |
| 61 | + |
| 62 | +26 language support. Icons. SSH/GPG key association. |
| 63 | + |
| 64 | +The garden could exist without them. But with accents, the garden becomes *someone's* garden. |
| 65 | + |
| 66 | +--- |
| 67 | + |
| 68 | +## Stones We Don't Place |
| 69 | + |
| 70 | +The most important decision is what *not* to place. |
| 71 | + |
| 72 | +GitHub API integration. Token management. Authentication wizards. |
| 73 | + |
| 74 | +They might be convenient. But the moment you place them, it becomes a different garden. |
| 75 | + |
| 76 | +The essence of karesansui lies in *empty space*. |
| 77 | + |
| 78 | +--- |
| 79 | + |
| 80 | +## On Over-Engineering |
| 81 | + |
| 82 | +"That's excessive," they say. |
| 83 | + |
| 84 | +They're right. |
| 85 | + |
| 86 | +But no one questions ROI in a hobby garden. |
| 87 | + |
| 88 | +Lining up coverage badges is like hanging a scroll. They're there because they're beautiful. |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +## Origin |
| 93 | + |
| 94 | +2003\. CSS Zen Garden. |
| 95 | + |
| 96 | +The same HTML held infinite styles. |
| 97 | + |
| 98 | +Freedom exists within constraints. |
| 99 | + |
| 100 | +What I learned in that garden became the seed of this one. |
| 101 | + |
| 102 | +--- |
| 103 | + |
| 104 | +## Coda |
| 105 | + |
| 106 | +Git ID Switcher is art wearing the mask of open source. |
| 107 | + |
| 108 | +To users, it functions as a tool. |
| 109 | +To the maker, it exists as a garden. |
| 110 | + |
| 111 | +Both are true. Both are real. |
| 112 | + |
| 113 | +And so the gardener is satisfied. |
0 commit comments