Re-wordin and favicon
This commit is contained in:
@@ -7,11 +7,11 @@ You can run your own sync server to keep your data in sync across devices. The s
|
||||
|
||||
## How It Works
|
||||
|
||||
This server is dead simple. It uses a single `ascently.json` file for your data and a directory for images. The last client to upload wins, overwriting the old data. Authentication is just a static bearer token.
|
||||
This server uses a single `ascently.json` file for your data and a directory for images. The last client to upload wins, overwriting the old data. Authentication is just a static bearer token.
|
||||
|
||||
## API
|
||||
|
||||
The API is minimal, just enough for the app to work. All endpoints require an `Authorization: Bearer <your-auth-token>` header.
|
||||
All endpoints require an `Authorization: Bearer <your-auth-token>` header.
|
||||
|
||||
- `GET /sync`: Download `ascently.json`
|
||||
- `POST /sync`: Upload `ascently.json`
|
||||
@@ -28,7 +28,3 @@ You'll need:
|
||||
- A place to store your data
|
||||
|
||||
The server will be available at `http://localhost:8080` by default. Configure your clients with your server URL and auth token to start syncing.
|
||||
|
||||
---
|
||||
|
||||
*For technical details, check out `main.go` in the sync directory.*
|
||||
@@ -59,7 +59,3 @@ For remote access, you'll need to:
|
||||
- Set up port forwarding on your router (port 8080)
|
||||
- Use your public IP address or set up a domain name
|
||||
- Consider using HTTPS with a reverse proxy for security
|
||||
|
||||
---
|
||||
|
||||
*The sync server is designed to be simple and lightweight. Your data stays under your control.*
|
||||
@@ -1,5 +1,3 @@
|
||||
/* Ascently Documentation Styles */
|
||||
|
||||
:root {
|
||||
--sl-color-accent: hsl(45, 100%, 50%);
|
||||
--sl-color-accent-low: hsl(45, 100%, 96%);
|
||||
@@ -13,48 +11,3 @@
|
||||
--sl-color-accent-low: hsl(45, 100%, 10%);
|
||||
--sl-color-accent-high: hsl(45, 100%, 70%);
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
color: var(--climbing-amber);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sidebar nav a[aria-current="page"] {
|
||||
background: var(--sl-color-accent-low);
|
||||
border-left: 3px solid var(--sl-color-accent);
|
||||
}
|
||||
|
||||
.download-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: var(--sl-color-accent);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 0.5rem;
|
||||
font-weight: 600;
|
||||
transition: background 0.2s ease;
|
||||
margin: 0.25rem;
|
||||
}
|
||||
|
||||
.download-button:hover {
|
||||
background: var(--sl-color-accent-high);
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.download-button {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
margin: 0.25rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme="dark"] .feature-callout {
|
||||
background: var(--sl-color-gray-6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user