Giter VIP home page Giter VIP logo

sirireader's Introduction

sirireader

This is the workings of a standalone parser for Siri to use with the Shortcuts application

Shortcuts Links and Usage

  1. Read Me A Story
  2. Read Loop

The shortcut currently works by using Siri to initiate the "Read me a story" shortcut which calls the "Read Loop" shortcut and reads the story.

The 'story' in this case is a prepared folder of text files that is iterated through by the shortcut. The only way to have this work is to store the folder (currently hardcoded to be hp5) in your iCloud shortcuts folder:

iCloud/Shortcuts/read/hp5

So this means the method by which Siri can read you a story is as follows:

  1. Clone the repo to your desired location
  2. Place the desired story in a text file in the /sirireader/input folder (currently hardcoded as hp5.txt)
  3. Run the python3 script. This will put the parsed text files in the /sirireader/output folder
  4. Move the output text files into the iCloud/Shortcuts/read/hp5 folder
  5. Install the shortcuts linked above.
  6. Add the "Read me a story" shortcut to Siri
  7. With your phone unlocked, run the shortcut with siri by saying "Hey Siri, read me a story"

Supported Features

The only supported feature at the moment is to continue where you left off. This is accomplished by saving another text file called init.txt which stores the iterative variable. If the file exists then Siri will ask if you'd like to continue where you left off. If the negative option is chosen the file will be overwritten to contain 1.

sirireader's People

Contributors

claytonsulby avatar

Stargazers

 avatar

Watchers

 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.