A Disqus alternative https://posativ.org/isso/
Go to file
2013-11-25 16:57:18 +01:00
docs use sphinx for documentation 2013-11-25 16:57:18 +01:00
isso Merge branch 'feature/info' 2013-11-21 11:17:24 +01:00
specs fix unittest for werkzeug==0.8 2013-11-18 12:40:27 +01:00
.gitignore
.travis.yml add Travis CI configuration 2013-11-18 12:41:45 +01:00
CHANGES.rst Back to development: 0.6 2013-11-17 15:54:51 +01:00
CONTRIBUTING.md
dispatch.py add X-Origin to GET requests, so isso.dispatch works on a single host 2013-11-17 11:16:46 +01:00
LICENSE
Makefile use sphinx for documentation 2013-11-25 16:57:18 +01:00
MANIFEST.in remove static/post.html from MANIFEST.in 2013-10-31 17:39:45 +01:00
README.md use sphinx for documentation 2013-11-25 16:57:18 +01:00
setup.py Back to development: 0.6 2013-11-17 15:54:51 +01:00
tox.ini remove indexserver from tox.ini (use PyPi instead) 2013-11-18 12:12:26 +01:00
uwsgi.ini increase uWSGI's hash cache to 10240 items (=320kb) 2013-11-03 12:55:31 +01:00

Isso Ich schrei sonst

Build Status

You love static blog generators (especially Acrylamid cough) and the only option to interact with your community is Disqus. There's nothing wrong with it, but if you care about the privacy of your audience you are better off with a comment system that is under your control. This is, where Isso comes into play.

Try Yourself!

Features

  • CRUD comments written in Markdown
  • SQLite backend, Disqus import
  • client-side JS (currently 54kb minified, 18kb gzipped)
  • I18N, available in german and english (also fallback)

Installation

  • Python 2.6, 2.7 or 3.3
  • a working C compiler

Install Isso with:

~> pip install isso

Set your database location and website:

~> cat my.cfg
[general]
dbpath = /var/lib/isso/comments.db
host = http://example.tld/

Optional: you can import your comments from Disqus.com:

~> isso -c my.cfg import ~/Downloads/user-2013-09-02T11_39_22.971478-all.xml
[100%]  53 threads, 192 comments

Now start the server:

~> isso -c my.cfg run
2013-10-30 09:32:48,369 WARNING: unable to connect to SMTP server
2013-10-30 09:32:48,408 INFO: connected to HTTP server

Make sure, Isso can connect to the server that hosts your blog, otherwise you are not able to post comments.

Website Integration

You can run Isso on a dedicated domain or behind a sub URI like /isso. It makes actually no difference except for the webserver configuration (see below).

Whatever method you prefer (just change the URL), to embed comments add

<script src="http://example.tld/js/embed.min.js"></script>

to your HTML (presumedly into <head>) and

<div id="isso-thread"></div>

below your post. That's all. The JavaScript client will automatically detect the API endpoint.

To show the comment count for posts (but no comments), add

<script src="http://example.tld/js/count.min.js"></script>

to your header and all links ending with #isso-thread are updated with the current comment count.

This functionality is already included when you embed embed.min.js, do not mix embed.min.js and count.min.js in a single document.

Client Configuration

Webserver configuration

  • nginx configuration to run Isso on /isso:

    server {
        listen       [::]:80;
        listen       [::]:443 ssl;
        server_name  example.tld;
        root         /var/www/example.tld;
    
        location /isso {
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Script-Name /isso;
            proxy_pass http://localhost:8080;
        }
    }
    
  • nginx configuration to run Isso on a dedicated domain:

    server {
        listen       [::]:8080;
        server_name  comments.example.tld;
    
        location / {
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_pass http://localhost:8080;
        }
    }
    

Init Scripts

Documentation

For further help, join #isso on Freenode!

Alternatives