Git Product home page Git Product logo

sayori's Introduction

Sayori

Sayori - render your prose/poems like it's Doki Doki Literature Club!

ko-fi

Sayori allows you to add more flair to your poems or proses and render them in Doki Doki Literature Club's style, using Python's PIL module to generate images for you to share!

Sayori can generate images with the following parameters:

  • The text (can be uploaded as a plaintext file as well if you fancy that!)
  • Background Type (Normal, or Yuri (Obsession Level from 2-3))
  • The characters' writing styles (Monika (by default), Sayori, Natsuki, Yuri (and her obsessed variants))

Try it for yourself!

Sayori is hosted on Streamlit!

However, if you want to integrate the project to your application, a hosted API is available as well! You can find it here. Documentation for the API version can be found here.

Installation

Sayori requires a modern Python installation to work. It is recommended to use Python 3.6 or above. As for the dependencies, don't worry about that! It's provided in the requirements.txt file, so you can just run:

    $ pip install -r requirements.txt

To run the web application, simply run

   $ streamlit run streamlit_main.py

Development

Sayori takes advantage of the Virtual Environments feature in Python. To develop for Sayori, you must make a venv first:

   $ python -m venv $(pwd)/.venv

Then finally activate your virtual environment

   $ source $(pwd)/.venv/bin/activate

This ensures a consistent environment regardless of your development environment settings. After switching to the new virtual environment, simply follow the Installation instructions.

Copyright

Copyright © 2023 Ayase Minori. All Rights Reserved. Licensed under the MIT License. See LICENSE for more information.

Assets used in this project are property of Team Salvato and are used for educational purposes only. No infringement intended.

sayori's People

Contributors

daijobudes avatar dependabot[bot] avatar kaidenfrizu avatar mookth789 avatar sr229 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.