Code Monkey home page Code Monkey logo

dante-stories's Introduction

Welcome to Dante Stories - a Self hosted Medium like solution

Build Status

Maintainability

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 5.2.1 update!
  • Removed elastisearch-rails , replaced by searchkick
  • Removed carrierwave, replaced by activestorge
  • Webpacker added
  • Updated dependencies
  • Replaced phantomJs by chrome-webdriver
  • Ruby version 2.4.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

dante-stories's People

Contributors

hibiken avatar michelson avatar ajaybarot avatar 0xflotus avatar daveomcd avatar shuklaneerajdev avatar

Watchers

James Cloos avatar Brandon Brown 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.