<commit_before># ShareX Media Server

_ShareX Media Server_ is an app made to support sharing images, files, and text snippets from [ShareX](https://getsharex.com/), built using [Laravel](https://laravel.com/), [Livewire](https://laravel-livewire.com/), and [TailwindCSS](https://tailwindcss.com/).

> Files and Text snippets are not yet supported, but will be supported in the near future.

## Table of Content

- [Prerequisites](#prerequisites)
- [Installing ShareX Media Server](#prerequisites)
  - [Installing Laravel](#installing-laravel)
  - [Setting up queue workers](#setting-up-queue-workers)
  - [Setting up application assets](#setting-up-application-assets)
  - [Default login credentials](#default-login-credentials)
- [Setting up ShareX](#setting-up-sharex)
  - [Creating an API token](#creating-an-api-token)
  - [Custom ShareX Uploader](#custom-sharex-uploader)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [License](#License)

## Prerequisites

- Apache2 / Nginx
- [Yarn](https://yarnpkg.com/)
- [Composer](https://getcomposer.org/)
- Node >= v10.15
- PHP >= v7.3
  - BCMath PHP Extension
  - Ctype PHP Extension
  - JSON PHP Extension
  - Mbstring PHP Extension
  - OpenSSL PHP Extension
  - PDO PHP Extension
  - Tokenizer PHP Extension
  - XML PHP Extension

## Installing ShareX Media Server

### Installing Laravel

The app utilizes [Composer](https://getcomposer.org/) for installing the PHP dependencies, and [Yarn](https://yarnpkg.com/) for installing the node dependencies, to get started you'll first need to clone down the repository.

    git clone https://github.com/Senither/ShareX-Media-Server.git .

Next go into the `ShareX-Media-Server` folder, first we'll setup the PHP side of the project, to do this install all the dependencies using [Composer](https://getcomposer.org/)

    composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
<commit_msg>Add GD php extension to required PHP extensions<commit_after># ShareX Media Server

_ShareX Media Server_ is an app made to support sharing images, files, and text snippets from [ShareX](https://getsharex.com/), built using [Laravel](https://laravel.com/), [Livewire](https://laravel-livewire.com/), and [TailwindCSS](https://tailwindcss.com/).

> Files and Text snippets are not yet supported, but will be supported in the near future.

## Table of Content

- [Prerequisites](#prerequisites)
- [Installing ShareX Media Server](#prerequisites)
  - [Installing Laravel](#installing-laravel)
  - [Setting up queue workers](#setting-up-queue-workers)
  - [Setting up application assets](#setting-up-application-assets)
  - [Default login credentials](#default-login-credentials)
- [Setting up ShareX](#setting-up-sharex)
  - [Creating an API token](#creating-an-api-token)
  - [Custom ShareX Uploader](#custom-sharex-uploader)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [License](#License)

## Prerequisites

- Apache2 / Nginx
- [Yarn](https://yarnpkg.com/)
- [Composer](https://getcomposer.org/)
- Node >= v10.15
- PHP >= v7.3
  - BCMath PHP Extension
  - Ctype PHP Extension
  - JSON PHP Extension
  - Mbstring PHP Extension
  - OpenSSL PHP Extension
  - PDO PHP Extension
  - Tokenizer PHP Extension
  - XML PHP Extension
  - GD PHP Extension

## Installing ShareX Media Server

### Installing Laravel

The app utilizes [Composer](https://getcomposer.org/) for installing the PHP dependencies, and [Yarn](https://yarnpkg.com/) for installing the node dependencies, to get started you'll first need to clone down the repository.

    git clone https://github.com/Senither/ShareX-Media-Server.git .

Next go into the `ShareX-Media-Server` folder, first we'll setup the PHP side of the project, to do this install all the dependencies using [Composer](https://getcomposer.org/)

    composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev

{'fraction_non_alphanumeric': 0.12599435463176803, 'fraction_numerical': 0.00359250705671029, 'mean_word_length': 4.232214765100671, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3243230', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1163, 'n_words': 362}