Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

rahulsom/ragememes

Repository files navigation

Ragememes

Java library to provide ragememes as classpath resources.

Description

Very often you find yourself needing to express something using a Rage Meme. If you were trying to write Java code to do that, you’ll find that there aren’t any libraries that allow you to do that easily.

This project aims to solve that problem. Now you can use Rage Memes in your code from the comfort of your IDE. You get static compilation too.

Usage

  1. Include Library

dependencies {
  // ...
  implementation 'com.github.rahulsom:ragememes-png-large:+'
}
  1. Get the resource corresponding to the meme you want

import com.github.rahulsom.ragememes.png.large.LargePngRageMemes;
// ...
  InputStream stream = this.getClass().getClassLoader()
        .getResourceAsStream(LargePngRageMemes.cereal_guy_newspaper_guy_l);
  1. Profit

Details

There are 4 subprojects - png-small, png-medium, png-large and svg. You can import all 4 projects using the meta project all.

Releasing a new version

./gradlew uploadArchives
./gradlew closeAndPromoteRepository

About

Memes packaged into a jar for java projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •