Coder Social home page Coder Social logo

maiwann / squs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elegaanz/squs

0.0 1.0 0.0 8.39 MB

Federated comment system for static blogs

License: GNU Affero General Public License v3.0

Dockerfile 0.61% Shell 0.77% Rust 74.38% TSQL 7.95% PLpgSQL 0.27% Python 0.23% CSS 9.32% JavaScript 0.35% HTML 6.10%

squs's Introduction

Squs

A service to bring federated comments to static websites.

Based on Plume (but a lot of the original source have been removed or adapted).

When you build your static website, you have to run a command to tell Squs a new article was published. It will then look for your Atom feed and federate it too the rest of the Fediverse. If someone comments it from Mastodon/Pleroma/Plume/whatever, Squs will save these comments, and allow you to display them on your blog with a little JavaScript snippet.

(only French speaking people with a very good sense of humor may understand the name)

CSS classes for your comments

The Squs script does not style your comments, to let you write your own CSS and to integrate them the best with the rest of your blog.

Here are the CSS classes that you can use to style the comments:

  • error: an error message
  • comments: the whole comment section
  • info: an information message
  • comment: a single comment
  • date: the date of publication of a comment
  • replies: the replies to a comment
  • author: the author's name and @

And if you want to style avatars, you can use the .comment > header > img selector.

squs's People

Contributors

elegaanz avatar trinity-1686a avatar marek-lach avatar madeorsk avatar igalic avatar zanfib avatar stephenburgess8 avatar bitkeks avatar ilphrin avatar gled-rs avatar zcdunn avatar xmgz avatar mcrosson avatar atul9 avatar banjofox avatar dfeyer avatar kokakiwi avatar mkljczk avatar vbrandl avatar silkevicious avatar sorin-davidoi avatar ryonakano avatar rfwatson avatar kedoia avatar gnoxr avatar midzer avatar dblugeon avatar yannicka avatar lthms avatar rhonda avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.