Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yash094/memer-api
An awesome module that allows you to manipulate images very easily
https://github.com/yash094/memer-api
api djs image-manipulation manipulate-images memer-api memes
Last synced: 3 months ago
JSON representation
An awesome module that allows you to manipulate images very easily
- Host: GitHub
- URL: https://github.com/yash094/memer-api
- Owner: Yash094
- License: other
- Created: 2021-04-06T15:59:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T20:45:51.000Z (almost 2 years ago)
- Last Synced: 2024-09-28T09:03:33.835Z (3 months ago)
- Topics: api, djs, image-manipulation, manipulate-images, memer-api, memes
- Language: JavaScript
- Homepage: https://memer-api.js.org
- Size: 304 KB
- Stars: 22
- Watchers: 1
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
An awesome module that allows you to manipulate images very easily, based on Memer API
Explore the docs »
Report Bug
Table of Contents
## About The Project
[![Product Name Screen Shot][product-screenshot]]()
There are many great image API's available on internet, however, I didn't find one that really suit my needs so I created this enhanced one. I want to create the API so amazing that it'll be the last one you ever need for image manipulation
Here's why:
* Easy to use
* Fast & Easy Support
* Well Documented
* Frequently updated### Installation
1. Get a free API Key at our
2. Install the package
```sh
npm install memer-api@latest
```
3. Enter your API
```JS
const Meme = require("memer-api");
const memer = new Meme('Your Cool API Key'); // From Memer API Server :)
memer.(); //returns -> Promise ->
```## Usage
```JS
const Meme = require("memer-api")
const Discord = require("discord.js")
const memer = new Meme('Your Cool API Token'); // From Memer API Server :)const avatar = "https://imgur.com/I5DmdNR.png"; // Only static images are supported :)
const text = "Memer API is awesome!"memer.youtube(avatar, 'Memer Api', text).then(image => {
// This gives you a 'Buffer', for Discord to create an attachment
var attachment = new Discord.MessageAttachment(image, "youtube.png");
.send(attachment)
})
```
_For more examples, please refer to the [Documentation](https://memer-api.js.org)_## Ratelimits
Memer API limits each Request for 5 seconds i.e you can request 1 image every 5 seconds.
If you want to remove the limit you can get premium## Roadmap
See the [open issues](https://github.com/Yash094/Memer-API/issues) for a list of proposed features (and known issues).
## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## License
Distributed under the CC-BY-NC-ND 4.0 License. See `LICENSE` for more information.
## Contact
Project Link: [https://github.com/Yash094/Memer-API](https://github.com/Yash094/Memer-API)
## Credits
* [Base Images](https://github.com/DankMemer/imgen)
* [Wrapper base](https://github.com/DevSnowflake/dankmemer.js#readme)[license-shield]: https://img.shields.io/github/license/Yash094/Memer-API.svg?style=for-the-badge
[license-url]: https://github.com/Yash094/Memer-API/blob/master/LICENSE.txt
[product-screenshot]: https://camo.githubusercontent.com/ad3c11a758f25c906f2eb2aa0283c467ba3a26ef837be2605ec8e427b6a0c42e/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3830363735303835333934373731393736302f3834333537393031393832333534363336382f6d656d65722d6170695f707265766965772e706e67