Skip to content

Commit aa53729

Browse files
committed
added a glorious logo
1 parent 72f85f6 commit aa53729

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Meh... another comment system
1+
# ![Meh Logo](meh.svg) Meh…
2+
## …another comment system
3+
4+
25

36
* simple, no-frills commenting system
47
* self-hosted
@@ -15,16 +18,6 @@ Meh is a commenting system with a client-server architecture:
1518

1619
- **Client Components**: A set of web components (custom HTML elements) that can be embedded in any website to display and submit comments. These components communicate with the server via a REST API.
1720

18-
This architecture provides several advantages:
19-
20-
- **Simple Integration**: Add comments to any website by including a JavaScript file and using custom HTML tags
21-
- **Static Site Compatibility**: Works with static site generators like Hugo, Jekyll, or Eleventy
22-
- **Multi-Site Support**: Host comments for multiple websites from a single Meh installation
23-
- **Customizable**: Style components to match your site's design using CSS variables
24-
- **Privacy-Focused**: Self-hosted solution that gives you full control over your data
25-
26-
The web components handle all the user interface aspects (comment display, form submission, admin login), while the server manages data storage, authentication, and business logic.
27-
2821
## Devel Quick Start
2922

3023
You can use this to get a development environment up and running quickly. This is not suitable for production use. But should answer all your questions about how Meh works.

backend/src/FileController.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ public function home()
1414
$this->doc('index');
1515
}
1616

17+
public function logo()
18+
{
19+
header('Content-Type: image/svg+xml');
20+
readfile(__DIR__ . '/../../meh.svg');
21+
}
22+
1723
/**
1824
* Serve a file from the dist directory
1925
*

backend/src/FileRouter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public function __construct()
1414
protected function registerRoutes(): void
1515
{
1616
$this->alto->map('GET', '/', [FileController::class, 'home']);
17+
$this->alto->map('GET', '/meh.svg', [FileController::class, 'logo']);
1718

1819
$this->alto->map('GET', '/meh/[f:file]', [FileController::class, 'dist']);
1920
$this->alto->map('GET', '/meh/i18n/[f:file]', [FileController::class, 'i18n']);

meh.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)