An easy to use, selfhostable image sharing service like Imgur with built in converting
Go to file
2022-04-22 17:49:39 +02:00
.vscode add preference db 2022-03-04 12:24:49 +01:00
backend ability to send original image if wanted 2022-04-22 17:49:39 +02:00
branding/logo Rebrand to picsur 2022-02-27 20:27:22 +01:00
frontend add ability to add extensions to image api 2022-04-21 19:35:11 +02:00
shared add ability to add extensions to image api 2022-04-21 19:35:11 +02:00
support add better role indications 2022-03-23 20:40:31 +01:00
.dockerignore add documentation and docker 2022-02-25 13:56:16 +01:00
.gitignore apply role guard to all routes 2022-03-12 00:14:16 +01:00
LICENSE Rebrand to picsur 2022-02-27 20:27:22 +01:00
package.json fix mistake in version 2022-03-31 23:00:48 +02:00
picsur.code-workspace add html metadata, and disconnect google 2022-03-31 21:12:48 +02:00
README.md update readme 2022-04-18 14:54:29 +02:00
SECURITY.md Create SECURITY.md 2022-03-28 13:59:16 +02:00
tsconfig.base.json reconsider logging levels 2022-04-18 16:43:27 +02:00
yarn.lock Add frontend qoi rendering 2022-04-16 16:35:28 +02:00

Picsur


Totally not an imgur clone

I couldn't really find any open source project that allowed you to easily host images. So I decided to create one.

It feels like a hybrid between Imgur and Pastebin.

Beta

Right now this software is still in beta, and many things are still missing, or will be changed in the future. But it does function, so feel free to give it a try.

Demo

You can view a live demo here: https://picsur.rubikscraft.nl/

The images are deleted every five minutes, and the maximum filesize is 16MB. But it should give you an indication of how it works.

Bugs

If you encounter any bugs or oddities, please open an issue here. Cause without feedback I'll never know they exists.

Star

If you like this project, don't forget to give it a star. It tells me that I'm not wasting my time on something that people don't like.

Running

You easily run this service yourself via Docker. Here is an example docker-compose file:

version: "3"
services:
  picsur:
    image: ghcr.io/rubikscraft/picsur:latest
    container_name: picsur
    ports:
      - "8080:8080"
    environment:
      # PICSUR_HOST: '0.0.0.0'
      # PICSUR_PORT: 8080

      PICSUR_DB_HOST: picsur_postgres
      # PICSUR_DB_PORT: 5432
      # PICSUR_DB_USER: picsur
      # PICSUR_DB_PASSWORD: picsur
      # PICSUR_DB_NAME: picsur

      # PICSUR_ADMIN_PASSWORD: picsur

      # PICSUR_JWT_SECRET: CHANGE_ME
      # PICSUR_JWT_EXPIRY: 1d

      # PICSUR_MAX_FILE_SIZE: 128000000
      # PICSUR_STATIC_FRONTEND_ROOT: "/picsur/frontend/dist"
    restart: unless-stopped
  picsur_postgres:
    image: postgres:11-alpine
    container_name: picsur_postgres
    environment:
      POSTGRES_DB: picsur
      POSTGRES_PASSWORD: picsur
      POSTGRES_USER: picsur
    restart: unless-stopped
    volumes:
      - picsur-data:/var/lib/postgresql/data
volumes:
  picsur-data:

Api

Here is a usually up to date documentation of the api:

Run in Postman