Skip to content

Repository files navigation

Melon's Gallery Maker

A little static HTML gallery generator for self hosted and Neocities sites!

How to build:

  • Ensure Node.js 18+ is installed on your system
  • Linux Depends: sudo apt install -y build-essential python3 libvips-dev fakeroot dpkg
  • Clone the repository and open a Git Bash/Terminal within the repo root
  • Run: corepack enable as admin
  • Run: yarn install
  • Run: yarn run start to open a test build
  • AND/OR Run: yarn run dist to build an final executable for your system
  • Check the "dist" folder for your new exe/app

NOTE: Some Node installers (like MacPorts) don't have corepack if that's the case do node .yarn/releases/yarn-3.6.3.cjs start etc instead

Legacy Build Notes

Newer node builds for legacy systems:

Edit package.json versions to these numbers for legacy builds:

  • Mac OSX 10.13 (NodeJS 24.6.0) - electron 26.6.10, sharp 0.32.6 - dmg will fail, zip build works - run "install/dist" as sudo (for some reason)
  • Windows 7 (NodeJS 20.19.2) - electron 22.3.27, sharp 0.32.6, electron-builder 24.13.3 - run as Admin NodeJS command prompt

Nekoweb Node

Basic nekoweb support exists in this project, but their API is just not developed enough to make it easy to finish, plus I dont use nekoweb! So if anyone wants to finish support for NW, feel free to do it and issue a pull request!

Troubleshooting:

JavaScript Error related to the "sharp" package:

  • Linux users: Run apt install libvips before trying to run the AppImage

About

A little static HTML gallery generator!

Resources

Stars

25 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages