https://github.com/ravgeetdhillon/komments
A Flask Web App to manage comments for a blog.
https://github.com/ravgeetdhillon/komments
blog comments comments-with-blog dropbox flask-web jekyll-blog jekyll-comments komments
Last synced: about 1 year ago
JSON representation
A Flask Web App to manage comments for a blog.
- Host: GitHub
- URL: https://github.com/ravgeetdhillon/komments
- Owner: ravgeetdhillon
- Created: 2019-10-12T08:08:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T22:30:34.000Z (about 3 years ago)
- Last Synced: 2025-04-14T12:03:23.692Z (about 1 year ago)
- Topics: blog, comments, comments-with-blog, dropbox, flask-web, jekyll-blog, jekyll-comments, komments
- Language: Python
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Komments
A Flask Web App to manage comments for a blog.
## Basics
#### Installation
1. Create a personal app in your Dropbox.
2. Create an `ACCESS TOKEN` for your app. (Don't share it with anyone!)
3. Clone this repository locally, install all the pip dependencies and adjust the `SITE_NAME` variable in the `app.py` file to your blog site.
4. Deploy the web app on any Python hosting platform like Heroku.
5. Create a `DROPBOX_ACCESS_TOKEN` environment key on your platform and add your Dropbox access token to this key.
6. You are ready to go.
#### Adding comments
From your app, send a **POST** request to `/add` URL with `name`, `content`, `blog` as parameters. The comments are saved to the `comments.json` file in your Dropbox app.
#### Getting comments
From your app, send a **POST** request to `/get` URL with `blog` as a parameter. The comments are then fetched from the `comments.json` file in your Dropbox app.
## Support
In case of any anomalies, please file an issue [here](https://github.com/ravgeetdhillon/komments/issues).