Skip to content

fuzzywalrus/cssfilter.com

Repository files navigation

CSS Filter Generator - CSSFilter.com

A modern, interactive CSS filter generator built with Next.js. Create stunning CSS filters with drag-and-drop reordering and real-time preview.

This was once CSSFiltergenerator.com but I let the domain name lapse after many years and of course someoene else scooped it up. I decided to bring it back as I noticed the other CSS filter generators still didn't offer filter reordering.

CSS Filter Generator

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Generate static export
npm run build && npx next export

Technology Stack

  • Next.js 14
  • TypeScript
  • Tailwind CSS
  • @dnd-kit
  • Static Export

After building, the static files will be in the out/ directory.

SFTP Deploy Script

This repo includes deploy.sh for SFTP deploys with lftp.

Required .env keys:

SFTP_HOST=...
SFTP_PORT=22
SFTP_USER=...
SFTP_PASS=...
SFTP_REMOTE_DIR=...

Usage:

# Test SFTP connectivity
./deploy.sh test

# Build + upload out/ to SFTP_REMOTE_DIR
./deploy.sh

CSS Filters Supported

  • Blur
  • Brightness
  • Contrast
  • Grayscale
  • Hue-Rotate
  • Invert
  • Opacity
  • Saturate
  • Sepia

Migrated from Legacy Version

This is a complete rewrite of the original jQuery-based CSS Filter Generator, now built with modern React/Next.js for better performance, maintainability, and user experience.

Key Improvements

  • Modern React architecture with TypeScript
  • Smooth drag-and-drop with @dnd-kit
  • Better mobile responsiveness
  • Improved accessibility
  • Static export for easy deployment
  • Simple deployment script
  • New more friendly UI

License

This project is open source. Feel free to use the generated CSS in your projects without attribution.


Created by Greg Gant | View on GitHub

About

A simple static site that lets users create CSS filters in realtime with a simple interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors