A lightweight ShareX-compatible image uploader server

Overview

Imitari

Imitari is a project to provide an easy and lightweight server for images. It is compatible with software like ShareX. The projects goals are to provide fast, efficient, and an easy way to deploy own image upload server.

Features

  • Simple web ui with login and uploader
  • Normal HTTP uploader
  • Full ShareX support (see the example file)
  • Automatic file compression
  • Speed and Efficiency (Powered by Actix and Rust)

Env File

The .env file should be placed it will auto load an env in the same directory, or if there is none it will just get env variatbles. All config variatbles are very important The most important ones are these

BASE_URL="url used in json response"
AUTH_TOKEN="api token for rest api"
AUTH_USER="login for web ui"
AUTH_PASSWORD="password for webui"
NAME="name of your service"
URL="0.0.0.0"
PORT="9000" # Any port you want this readme covers with 9000 port

If you don't want to use for example AUTH_USER and AUTH_PASSWORD just keep them empty like this

AUTH_USER=""
AUTH_PASSWORD=""

Note about AUTH_TOKEN

To generate your AUTH_TOKEN on Linux you must use this command echo $(openssl rand -base64 32) | sed -r 's/[^a-zA-Z0-9]//g' (needs OpenSSL and sed installed) It will generate for use a base64 encrypted token and use it in AUTH_TOKEN

Running in Docker

To run this software on Docker you must have installed the Docker itself and docker-compose. The compose file was configurated to work with Traefik reverse proxy. You must have .env file with all needed settings and after you are done, just run

docker-compose --env-file .env up -d

And there you have a running instance in background.

Running the Binaries

  1. Choose the architecture. If you need them go here https://nightly.link/imitari/imitari/workflows/binaries/main
  2. Download the file based on architecture
  3. Extract the *.zip file and go to the directory where you extracted Imitari.
  4. Create the .env file for configuration
  5. Run the executable and look for any logs!

Deploy to Heroku

Deploy

Contributing

Just fork the repo, make your own changes and then run with cargo and then create a pull request.

Issue or bugs

Just simply report them here.

You might also like...
Generate perfect Vyper compatible code headers every time.

headers-vy Generate perfect Vyper-compatible code headers every time. Build You need Rust and Cargo installed on your machine. See the installation gu

A fediverse compatible forum and link aggregator. Downstream from Lemmy.
A fediverse compatible forum and link aggregator. Downstream from Lemmy.

Pangora A fediverse compatible forum and link aggregator. Downstream from Lemmy. About The Project Pangora is a forum and link aggregator. You can pos

Fast TLSH-compatible Fuzzy Hashing Library in pure Rust

fast-tlsh: Fast TLSH-compatible Fuzzy Hashing Library in pure Rust TLSH stands for Trendmicro Locality Sensitive Hash. TLSH can be used to detect simi

Bruteforce connecting to a specific Sea of Thieves server. Useful if you want to be in the same server as your friends.

SoT Server Finder Find which Sea of Thieves server you're connected to. Useful if you want to be in the same server as your friends. Setup Download so

Leptos server signals synced through Server-Sent-Events (SSE)

Leptos Server Sent Events Server signals are leptos signals kept in sync with the server through server-sent-events (SSE). The signals are read-only o

Command-Line program that takes images and produces the copy of the image with a thin frame and palette made of the 10 most frequent colors.
Command-Line program that takes images and produces the copy of the image with a thin frame and palette made of the 10 most frequent colors.

paleatra v.0.0.1 Command-Line program that takes an image and produces the copy of the image with a thin frame and palette made of the 10 most frequen

TUI image viewer
TUI image viewer

Picterm TUI image viewer install $ cargo install picterm or $ git clone https://github.com/ksk001100/picterm $ cd picterm $ cargo install --path . usa

A command-line tool and Docker image to automatically backup Git repositories from GitHub or anywhere

A command-line tool and Docker image to automatically backup Git repositories from GitHub or anywhere

A CLI tool to find the dominant colours in an image 🎨
A CLI tool to find the dominant colours in an image 🎨

dominant_colours This is a command-line tool for finding the dominant colours of an image. It prints their hex codes to the terminal, along with a pre

Releases(v1.0.2)
  • v1.0.2(Sep 29, 2021)

    New release. Added Heroku deployment, and fixed stuff related to CORS headers. That's all for now and as usual binaries are here https://nightly.link/imitari/imitari/workflows/binaries/main

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Sep 28, 2021)

Owner
Imitari
Imitari
The intuitive command-line file uploader.

☁️ upl The intuitive command-line file uploader. ??️ Features (roadmap) Upload files via the command-line Sane built-in upload destinations Configurat

null 4 Oct 13, 2022
Save image from your clipboard 📋 as an image file directly from your command line! 🔥

Clpy ?? Save copied image from clipboard as an image file directly from your command line! Note It works only on windows as of now. I'll be adding sup

Piyush Suthar 13 Nov 28, 2022
Conference Monitoring Project based on Image Recognition that uses Rust Language and AWS Rekognition service to get the level of image similarity.

Conference Monitoring System based on Image Recognition in Rust This is a Conference Monitoring Project based on Image Recognition that uses Rust Lang

Pankaj Chaudhary 6 Dec 18, 2022
Yet another lightweight and easy to use HTTP(S) server

Raptor Web server Raptor is a HTTP server written in Rust with aims to use as little memory as possible and an easy configuration. It is built on top

Volham 5 Oct 15, 2022
Spoon Radio Echo Project, Lightweight and scalable broadcasting server.

Echo Project https://medium.com/p/3bd1434a163a Echo was initiated by a social network platform, Spoon Radio(https://www.spooncast.net). The main goal

Spoon Radio Inc. 23 Jan 3, 2023
A fast and lightweight HTTP server implementation in Rust.

server_nano A tiny, fast, and friendly web server written in rust and inspired by express. It uses may to coroutines Usage First, add this to your Car

Jonny Borges 5 May 2, 2023
A command-line shell like fish, but POSIX compatible.

A command-line shell like fish, but POSIX compatible.

Seiya Nuta 813 Dec 29, 2022
⚡ An extremely fast cross-compatible system information tool.

Lightfetch A extremely fast command-line system information tool written in Rust ⚡ . Gallery Sadly there isn't much to showcase right now. Download Av

bwtecode 2 Sep 12, 2022
⚡ An extremely fast cross-compatible system information tool.

Lightfetch A extremely fast command-line system information tool written in Rust ⚡ . Gallery Sadly there isn't much to showcase right now. Download Av

bwtecode 2 Sep 12, 2022
A todo list from terminal. Compatible with Linux and Windows, not tested on macOS

todocli A todo list from terminal. Compatible with Linux and Windows, not tested on macOS (not planing on support tho). Note: Currently being rewritte

Patommmmm 3 Dec 12, 2022