GithubHelp home page GithubHelp logo

ilotterytea / picbin Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 268 KB

A small file hoster on ExpressJS.

Home Page: https://i.ilotterytea.kz

License: Apache License 2.0

TypeScript 56.12% CSS 20.07% EJS 23.81%

picbin's Introduction

PictureBin (formerly Dank File Hoster)
wakatime

A small file hoster on ExpressJS.

Dependencies:

  1. Node.js
  2. NPM
  3. Typescript

Installation:

  1. Install from Git repository:
$ git clone https://github.com/notdankenough/picbin
$ cd picbin
  1. Install the Node.js modules:
$ npm install
  1. Run Prisma migrations. This will create the database:
$ npx prisma migrate dev
  1. Build the app:
$ npm run build
  1. Generate the configuration files. The program will create a config.ini file and you will need to insert the necessary values into their fields:
$ npm run init
  1. Run the app:
$ npm run start
  1. ???
  2. PROFIT! Now you have your own dank image hoster.

Use in other tools:

  1. Chatterino (by fourtf, pajlada, and more...):

    1. Go to Settings -> External Tools -> Image Uploader and paste the values in the relevant fields:
    Field Value Example
    Request URL: <YOUR_DOMAIN>/upload https://i.hmmtodayiwill.ru/upload
    Form field: file
    Extra Headers: (If you want to upload pictures under your account, you need to log in with your Twitch Account here and get your auth key from your profile) Authorization: <AUTH KEY> Authorization: SUZZT1VTRUVUSElTVklWT05aVUxVTA==

picbin's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.