Giter VIP home page Giter VIP logo

smashcut's Introduction

smashcut

Build Status

This project helps convert Fountain-formatted screenplays to PDF. It's a work in progress. The plan is to release it via RubyGems (and maybe homebrew???) when it's more useful.

smashcut uses parslet to help parse the fountain input and transform it into a rich Screenplay object. That object can be used to produce a PDF (using prawn to produce the PDF). It can also be used to produce a Fountain document, and in theory could be taught to produce other formats like HTML or FDX. I'm not currently interested in implementing those, but can imagine it would be useful.

Installation

Because this is not useful yet I haven't pushed it to the rubygems site. If you'd like to try it, you can follow these steps:

  • git clone [email protected]:maxjacobson/smashcut.git
  • cd smashcut
  • bundle install
  • rake install

At this point, the gem is installed on your system and you can require it from your ruby programs or from within irb.

tests and style

If you'd like to run the tests and linter, just run bundle exec rake. Another option you have is to run bundle exec guard, which will auto-run tests when you edit files.

docs

If you'd like to browse the docs, run bundle exec yard server -r which spins up a server you can visit in your browser at http://localhost:8808. When adding inline documentation (comments above classes, methods, etc) please use the yard syntax.

release process

(Haven't actually done this yet, but) to release a new version of the gem, you will need to:

  • decide what is the new version number
  • edit the version.rb file with a new version number
  • edit the CHANGELOG.md file to describe the new release, and make sure there's an "unreleased" section at the top for future unreleased changes.
  • The commit these changes
  • run bundle exec rake release, which will generate a git tag, push the tag to GitHub, create a new .gem file under the pkg folder, and release that pkg to rubygems.org
  • create a new GitHub release (https://github.com/maxjacobson/smashcut/releases) describing the changes in the new version

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/maxjacobson/smashcut. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

smashcut's People

Contributors

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