Giter Site home page Giter Site logo

teekay / jcomments Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 4.14 MB

A headless commenting platform for publishers. Usable with any CMS that is capable of custom integrations using REST APIs. Suitable for integration with statically built websites (JAM stack).

License: MIT License

Shell 2.45% JavaScript 3.01% TypeScript 56.38% Handlebars 19.82% HTML 0.46% SCSS 17.75% Dockerfile 0.12%
comment-system jamstack static-site-generator

jcomments's People

Contributors

dependabot[bot] avatar teekay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jcomments's Issues

Give a grace period before an old API key stops working

Once a key is revoked, the API calls to the comments API will start failing. If a client wants a new key, maybe the old one should keep working for a while longer?

Or, let clients issue more than 1 key, and then they can get a new token, integrate it, and revoke the old token later.

Filter out any markup from name, email

We have content filtering for the comment text. Currently, commenter's name and email are not filtered at all, leaving the door open to a XSS attack.

Support for different formatting

I think we have to care about how the comments might be formatted.

The easy way out would be to allow arbitrary content and leave it up to the API client to apply any content filtering, if only to prevent XSS attacks.

The clients still are ultimately responsible for enforcing sane & safe markup on their website. Still, could we help them?

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.