···2222 <body>
2323 <div class="container" x-data="app" x-init="init()">
2424 <header>
2525- <h1>KnotView</h1>
2525+ <div class="header-top">
2626+ <h1>KnotView</h1>
2727+ <button class="theme-toggle" @click="toggleTheme">
2828+ <span x-show="!darkTheme">🌙</span>
2929+ <span x-show="darkTheme">☀️</span>
3030+ <span x-text="darkTheme ? 'Light' : 'Dark'"></span>
3131+ </button>
3232+ </div>
2633 <div class="connection-panel">
2734 <input
2835 type="text"
···129136 <!-- Empty State -->
130137 <div
131138 x-show="!loading && !error && !state.currentRepo && view === 'empty'"
132132- class="empty-state"
139139+ class="welcome-hero"
133140 >
134141 <svg
135142 xmlns="http://www.w3.org/2000/svg"
···144151 d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"
145152 />
146153 </svg>
147147- <h3>No Repository Selected</h3>
148148- <p>
149149- Connect to a server and select a repository to
150150- browse its contents.
154154+ <h2>Welcome to KnotView</h2>
155155+ <p class="subtitle">
156156+ A web-based repository browser for AT Protocol
157157+ repositories. Browse, explore, and download content
158158+ from Knot servers.
151159 </p>
160160+161161+ <div class="feature-list">
162162+ <div class="feature-item">
163163+ <h4>🗂️ Browse Repositories</h4>
164164+ <p>
165165+ Navigate through files and folders with an
166166+ intuitive interface
167167+ </p>
168168+ </div>
169169+ <div class="feature-item">
170170+ <h4>🌿 Branch Support</h4>
171171+ <p>
172172+ Switch between different branches seamlessly
173173+ </p>
174174+ </div>
175175+ <div class="feature-item">
176176+ <h4>📄 File Viewer</h4>
177177+ <p>
178178+ View files with syntax highlighting and
179179+ markdown rendering
180180+ </p>
181181+ </div>
182182+ <div class="feature-item">
183183+ <h4>📦 Download Archives</h4>
184184+ <p>Download entire repositories as archives</p>
185185+ </div>
186186+ </div>
187187+188188+ <div class="getting-started">
189189+ <h3>Getting Started</h3>
190190+ <ol>
191191+ <li>
192192+ Enter your Knot server URL in the input
193193+ above
194194+ </li>
195195+ <li>
196196+ Click "Connect" to connect to the server
197197+ </li>
198198+ <li>Select a repository from the list</li>
199199+ <li>
200200+ Browse files, switch branches, and explore!
201201+ </li>
202202+ </ol>
203203+ </div>
152204 </div>
153205154206 <!-- Users/Repos List -->
+2
readme.md
···99Once PR [#903](https://tangled.org/tangled.org/core/pulls/903) is merged in tangled/core, the UX of browsing a knot will be better.
1010In the meantime, you need to know the did and the repo name of the repository you want to browse.
11111212+In case of CORS issues, configure the Knot server to allow CORS requests from the domain hosting KnotView. Or simply use a browser extension to disable CORS check on the domain.
1313+1214## License
13151416[MIT](license)