dante-stories

A self hosted Medium platform built with Ruby on Rails

Stars
390
Forks
47
Open issues
6
Closed issues
9
Last release
over 4 years ago
Last commit
over 4 years ago
Watchers
390
Total releases
3
Total commits
692
Open PRs
1
Closed PRs
5
Repo URL
Platform
License
Category
Usecase
Offers premium version?
NO
Proprietary?
NO
About

Welcome to Dante Stories - a Self hosted Medium like solution

This project is a fork of a Medium clone which began as Ken Hibino's personal side project to learn Ruby on Rails and ReactJS. I've upgraded and refactored some part of the rails app and I've integrated Dante2 wysiwyg editor.

The specific improvements from the original repository: Platform

  • Rails 6.0.0 update!
  • Removed elastisearch-rails , replaced by searchkick
  • Removed carrierwave, replaced by activestorge
  • Webpacker added
  • Updated dependencies
  • Replaced phantomJs by webdrivers
  • Ruby version 2.5.0
  • Works with Elasticsearch 6.3.X

Application Model

  • multiple image support
  • Oembed support
  • A better wysiwyg With Dante2 Draftjs
    • Code blocks with language formatting via Prism-js
    • A video record component to build posts with recorded video
    • Database saves a serialized representation of text
    • And much much more

  • Automatic title detection
  • Lead Text is automatic too. more performant approach , I think
  • Responses are unified as a Post model, so Response model is removed
Installation Heroku

Just push your application. You must add Redis and elasticsearch.

Config ENV vars

AWS_BUCKET:
AWS_KEY:
AWS_SECRET:
BONSAI_URL: provided by bonsai heroku DATABASE_URL: provided by postgres default database ELASTICSEARCH_URL: should be the same as bonsai MAILER_ADDRESS:
MAILER_DOMAIN:
MAILER_PASS:
MAILER_SENDER:
MAILER_USER: REDISTOGO_URL: REDIS_URL: REDISTOGO_URL or any other provider
License

Stories is released under the MIT License

Alternative Projects
No projects found

Subscribe to Open Source Businees Newsletter

Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.

We'll never share your email with anyone else.