Giter Site home page Giter Site logo

photos-site's Introduction

photos-site

A lightweight photos website, written in Node. Check it out a preview at photos.znepb.me, my personal photos that use a modified version of this software.

Setup

Prerequisites

Just node and npm (which comes with node afaik). nginx is reccomended for reverse proxy.

Main Setup

npm install
npm run prod

Make sure to change authToken.txt to a (recomended 16 character) random string, and change password.txt to a valid SHA256 hash of a passowrd. Also, it is reccomended to change all occourences of me in index-admin.html and index.html to your name. Just graze over the doccuments, you'll find the locations. Also, add a license type thing to them as well, so people can't steal your photos without permission. As of now, there's not much configuration.

IF USING CLOUDFLARE, DISABLE CACHING ON PHOTOS PAGE!!!

What It Does

You'll log in with your passowrd, and you can upload, delete, and change photos, from any device. Photos will automaticly be resized to be a good size for a website.

Known Bugs

For whatever reason, dates are always one day ahead of what you actually set them to. Set them to the day before to rememdy this. If I figure out what's causing this some time, I'll fix it.

Issues

If you find any problems, please make an issue. If you find a critical security issue, please email me at (soon) contact.znepb.me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.