Go to file
2025-01-30 11:47:38 +05:30
src Use backend cache for getting quotes during payment verification 2025-01-30 11:47:38 +05:30
.env.example Display decimals in UI 2025-01-28 19:18:13 +05:30
.gitignore Add custom server for storing quotes in cache 2025-01-29 19:09:48 +05:30
index.html Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
next-env.d.ts Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
next.config.mjs build fixes 2024-12-20 18:24:44 -05:00
package-lock.json Add custom server for storing quotes in cache 2025-01-29 19:09:48 +05:30
package.json Add custom server for storing quotes in cache 2025-01-29 19:09:48 +05:30
postcss.config.js cool 2024-12-19 19:10:08 -05:00
quotes-service.ts Use backend cache for getting quotes during payment verification 2025-01-30 11:47:38 +05:30
README.md Add readme with setup steps (#2) 2025-01-27 10:11:57 +00:00
server.ts Create class for quotes service 2025-01-30 10:43:52 +05:30
styles.css Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
tailwind.config.ts cool 2024-12-19 19:10:08 -05:00
tsconfig.json Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
tsconfig.server.json Add custom server for storing quotes in cache 2025-01-29 19:09:48 +05:30

sol-mem-gen

This project is a Solana-based meme generator that allows users to connect their wallets, pay with MTM tokens, and generate memes using AI models.

Features

  • Connect to Solflare and Phantom wallets
  • Pay with MTM tokens
  • Generate memes using various AI models

Prerequisites

  • Node.js
  • npm
  • Solflare or Phantom wallet

Setup

  1. Install dependencies:

    npm install
    
  2. Copy the .env.example file to .env.local and add your FAL AI key:

    cp .env.example .env.local
    
  3. Add your FAL AI key to the .env.local file:

    # Get key from https://fal.ai/
    FAL_AI_KEY=your_fal_ai_key
    
  4. Run the development server:

    npm run dev
    
  5. Open your browser and navigate to http://localhost:3000.

Usage

  1. Connect your Solflare or Phantom wallet using the "Connect Wallet" button.
  2. Select an AI model and enter a prompt to generate a meme.
  3. Pay the required MTM tokens and wait for the meme to be generated.