Meh Logo Meh…

…another comment system

Meh…

Overview

Meh is a commenting system with a client-server architecture:

Quick Start

A quick and dirty way to get started is to use the built-in PHP server on your local machine.

cd backend
composer install
cd ../frontend
npm install
npm run build
cd ..
cp .env.example .env
$EDITOR .env
./meh migrate
php -S localhost:8000 -t public

You can now browse this documentation at http://localhost:8000. It will also serve the Meh components and the API.

In your blog, add the following to your HTML:

<!-- Add a comment form -->
<script type="module" src="http://localhost:8000/meh/meh.esm.js"></script>

<meh-form>
    <meh-mastodon></meh-mastodon>
    <meh-login></meh-login>
</meh-form>
<meh-comments></meh-comments>

This should give you a rough idea how Meh works. For a production setup, you should point your web server at the public directory.

More details on how to set up the server can be found in the Server Setup section.

Server Setup

Client Setup and Usage (on your blog)

Alternatives

Check out open-source self-hosted comments for a static website for a big list of similar projects.