GithubHelp home page GithubHelp logo

team-tritan / lazy-file-host-v1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 175 KB

Speedran a lazy sharex/flameshot file upload host, likewise to many discord based sharex uploaders <3

Home Page: https://discord.gg/http

EJS 42.74% Shell 12.04% TypeScript 45.22%
flameshot sharex file-uploader image-host custom-domains discord-embeds file-host

lazy-file-host-v1's Introduction

lazy-sharex-server

Speedran a lazy sharex image server while we wait for Windy Pink to be revived.

Live version replaced with v2!!!!

Requirements

  • Node 16.x.x
  • An open port
  • Static IP address, or something like replit.

Config

  • ./src/config should be the first thing you fill out.

Running

  • npm i --production
  • cd src
  • node index.js, pm2 start ., etc.

ShareX Config

  • Once running the express server where ever, point a domain to the IP and then use the config in ./example.sxcu.
  • Change the RequestURL, Headers,- Once running the express server where ever, point a domain to the IP and then use the config in ./example.sxcu. Change the RequestURL, Headers.key, and URL.
  • Once changed, copy your new config to the clipboard, go into ShareX Destinations, add a custom uploader, and import from your clipboard.
  • You're all set :)

Flameshot Script

Bash Aliases

You can create bash aliases to run this through the terminal without having to specifically run the script path each time. In this example, the uploader script is placed in the user home directory under a folder called Uploader, ~/uploader/flameshot.sh.

~./bash_aliases

alias sc="sh ~/uploader/flameshot.sh"
alias upload="sh ~/uploader/flameshot.sh"
alias screenshot="sh ~/uploader/flameshot.sh"

Deps to Install

  • xdg-utils
  • xclip
  • yad

IOS Shortcuts

See the uploader_files folder to download the config for a mobile uploader widget! :DD

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.