Photo Sharing Server on private network?

I need an application to make a photo sharing server on my private home network only. Please send me the code or how to do it in script maker or automator, or tell me what I need to do without making this app.