GlitchCraft is a Ruby on Rails application allowing users to glitch images. Users can search for a keyword which then returns an image from two APIs via the GlitchService Microservice. One of these images is then chosen to be glitched.
The first image returned is generated from scratch by DeepAI, and the second is returned based on human image tags from Pixabay. This gives users the unique option to glitch an image that is either what an AI thinks the search term represents or what humans think.
Despite the limitations of Ruby as it relates to visual media, the GlitchCraft team has been able to glitch images using only that language. We employ Google OAuth to authenticate users and images are stored with a mixture of Amazon Web Services’ S3 and Ruby on Rails’ ActiveStorage.
Ruby 2.5.3 Rails 5.2.4.4
- Run
git clone [email protected]:sciencefixion/glitch_craft.git
cd glitch_craft
bundle install
rake db:{create,migrate}
bundle exec figaro install
- Add your google client secret and ID to the application.yml file
rails s
- Run
bundle exec rspec
This app depends on the GlitchService microservice. GlitchService works in hand with GlitchCraft to consolidate two images that users can choose from to glitch.
Jane Greene's Github & Linkedin
- We wanted a user’s personal gallery
- A community gallery of all user’s glitches
- A way to favorite someone else’s glitches to show up on user’s dashboard
- A way to upvote glitches user’s liked that could show up in a spotlight gallery
- More glitching functions: different glitches, maybe have a button to randomly select a glitch, and another button to select a certain glitch
- A way to let users upload their own images
- Our production site isn't confiugred to use S3 yet, so it is not up and running
- Our app is not optimized for safari; images may not render