diamkil / screenshots

A webpage to see your screen shots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screenshots

CI/CD Code Size Issues Pull Requests

A webpage to see your screenshots, similar to prnt.sc

Docker (recommended)

docker run -d \
  -p 8757:8757/tcp \
  -v /path/to/images:/app/public/raw \
  -e KEY=(API Key of your choosing) \
  -e TITLE=(site title) \
  ghcr.io/diamkil/screenshots:main

Node.JS

This app uses Node.JS, TypeScript and Sass. To run it on your machine directly, you'll need to compile it.

Compiling

git clone https://github.com/diamkil/screenshots
cd screenshots
yarn install (or npm i)
yarn build (or npm run build)

Running

node . (use in the directory where screenshots is located)
Change the Key and Site Title in config.js

Where do images go?

They go in public/raw/(year)/(month)/(day)/(hour)(minute)(second).(ext)

Adding Images

You can use ShareX or manually add them, I'll only cover ShareX here

  1. Create a Custom Uploader in ShareX
  2. Use this template and change the values accordingly
    Use /addFile instead of /addImage in request URL and use file instead of image as file form name
    ShareX Settings

About

A webpage to see your screen shots


Languages

Language:TypeScript 52.4%Language:EJS 32.0%Language:SCSS 9.7%Language:Dockerfile 5.2%Language:JavaScript 0.8%