MediaHut logo

MediaHut

  •  0 ratings
In category: Photo and Video Galleries

About MediaHut

A truly single-file, no-database, drop-in PHP media gallery.

  •   1503  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: N/A  
  •   N/A  
  •   N/A  
  •  Latest commit: N/A  

Self-host this app for $0.99/mo only!

Languages/Platforms/Technologies:
Lincenses:

More about MediaHut

Media Hut

When I went looking, in early 2022, the options for a truly single-file, no-database drop-in PHP media gallery were shockingly small.

Well, there was one really great one, but it kind of cheated by pulling in the guts from a CDN. If the CDN goes down, or the developer decides to take their ball and go home, there goes your gallery.

Everything else wanted a database setup, or was just way, way outside the scope of what I wanted: just cleanly serve images, video, audio, pdf and text assets using the filesystem for organization.

Don't overthink the capabilities of this: you won't find tags, comments, or much of anything outside of directories and filenames. I may add optional features, including markdown directory docs, and thumbnail caching, but that's the primary use case. Just show media.

Problems (or "To Do")

  • Clicking on a file just opens it up directly in the browser, instead of something nicer. Not exactly in a hurry to change that, but it's on my mind.

  • Persistent config data would be nice, but since it's currently just a handfulcouple at the moment, you'll survive.

  • This could probably all be implemented better -- the build process, most especially. build.sh is a real shit-show, but it works.

  • Themes?

Give It To Me

I keep a fresh copy in the /build directory of the master build. Literally just copy/paste, edit the config block pointing to a media path (it defaults to /media), and off you go.

Other Features

  • If a directory has an readme.md file, it will be rendered below the directories and media.

  • Will create and serve basic thumbnail images from the .data directory.

What's it look like?

Comments (0)

Please login to join the discussion on this project.

MediaHut Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

RackNerd Medium Rectangle Banner

Popular Projects

FluxBB

in Social Networks and Forums
 48k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 44k    1    1    0  

Teddit

in Social Networks and Forums
 27k    0    0    0  

Libre Translate

in Miscellaneous
 19k    0    0    0  

Dashboard

in Personal Dashboards
 16k    0    0    0  

RustDesk

in Remote Access
 16k    0    0    0  

Audiobookshelf

in Audio Streaming
 15k    0    1    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 44k    1    1    0  

Tube Archivist

in Automation
 8k    0    1    0  

OneDev

in Project Management
 6k    0    0    0  

iodine

in Proxy
 4k    0    0    0  

Alf.io

in Booking and Scheduling
 5k    0    0    0  

sysPass

in Password Managers
 3k    0    0    0  

Misskey

in Social Networks and Forums
 5k    0    0    0  
pCloud Lifetime

Top Rated Projects

Technitium DNS Server

 1 rating
in DNS

Pydio

 1 rating
in File Transfer & Synchronization

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Gitea

 1 rating
in Project Management

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

Lychee logo
Lychee cover

Lychee

Open source grid and album based photo-management-system.

Mejiro logo
Mejiro cover

Mejiro

An easy-to-use PHP web application for instant photo publis…

UberGallery logo
UberGallery cover

UberGallery

UberGallery is an easy to use, simple to manage, web photo …