Skip to content

🤖 (WIP) Blogging and creative writing with a touch of AI.

Notifications You must be signed in to change notification settings

lucianbc/fairytale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fairytale Gone Bad (WIP)

Build Status

Fairytale is a blogging platform that features an AI powered editor to help the creators write their posts.

This is a university project developed for the Software Engineering Course at the University of Bucharest.

Features

  • Smart editor that generates a customizable number of sentences based on the content already written. The text generation is implemented character based LSTM model insbired by Andrej Karpathy's The Unreasonable Effectiveness of Recurrent Neural Networks. At the moment there are 3 models trained on Adventure, Horror and Mistery story genres.
  • RTF formatting powered by DraftJS
  • Social capabilities including the ability to search and follow users and a feed of the stories written by the ones you follow.

Technologies

  • Front end: React, Redux
  • Back end: Django for the main application, Flask for the AI service
  • AI: Tensorflow

Installation

# First, activate Pipenv:
pipenv shell

# Install python dependencies
pipenv install

# Then install the npm dependencies:
npm install

Development

# Build and frontend app and watch for changes:
npm run dev

# (Optional) Start the django livereload server:
./app/manage.py livereload

# Start the django server:
./app/manage.py runserver

# Start the AI service
python ./ml_service/src/app.py