https://github.com/bhupeshpr25/memegen
meme generator extension for firefox and chrome
https://github.com/bhupeshpr25/memegen
chrome-extension firefox-addon meme memes svelte vite
Last synced: 9 months ago
JSON representation
meme generator extension for firefox and chrome
- Host: GitHub
- URL: https://github.com/bhupeshpr25/memegen
- Owner: bhupeshpr25
- License: mit
- Created: 2023-08-15T09:51:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T12:26:30.000Z (over 2 years ago)
- Last Synced: 2024-09-27T01:52:53.785Z (almost 2 years ago)
- Topics: chrome-extension, firefox-addon, meme, memes, svelte, vite
- Language: Svelte
- Homepage:
- Size: 807 KB
- Stars: 20
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README

memegen
This is a web extension for Chromium and Firefox browsers that allows users to generate memes using trending templates.
### screenshots
## Build Requirements
- Node.js (v14 or later)
- pnpm (v6 or later)
- Firefox browser
- Git
- [imgflip](https://imgflip.com/) account
## Supported Operating Systems
This project should work on the following operating systems:
- Linux
- Windows
- macOS
## Build Instructions
#### 1. Clone the repository:
```bash
git clone https://github.com/bhupeshpr25/memegen.git
```
#### 2. Navigate to the project directory:
```bash
cd memegen
```
#### 3. Install dependencies
```bash
pnpm install
```
#### 4. Environment Variables
Create a `.env` file in the root directory of your project and add your [imgflip](https://imgflip.com/) credentials
Example `.env` file:
```plaintext
VITE_IMGFLIP_USERNAME=your_username
VITE_IMGFLIP_PASSWORD=your_password
```
#### 5. Run the extension
- Run the development command
```bash
pnpm dev
```
- This wil open the firefox browser in developer mode
- Click on the extension in the extension menu to run
#### 6. Build the extension
- Run the build command
```bash
pnpm build
```
- This will update the `dist` folder in the root directory with the necessary changes
## Troubleshooting
### Copy not working?
#### Reason
On some firefox browsers, this feature might be turned off by default.
#### Fix
1. Visit the `about:config` page
2. Search for `dom.events.asyncClipboard.clipboardItem` flag
3. Set it to true
### License
This software is released under the terms of the [MIT License](https://github.com/bhupeshpr25/memegen/blob/main/LICENSE)

