---
title: "Deploy Sharely"
description: "Self-hosted file sharing with ShareX, API, and MongoDB."
category: "Storage"
url: https://railway.com/deploy/sharely-1
---

# Deploy Sharely

Self-hosted file sharing with ShareX, API, and MongoDB.

**[Deploy Sharely on Railway](https://railway.com/template/sharely-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/sharely-1/manifest.json

- **Creator:** mcmax
- **Category:** Storage

## Template content

### mongo

- **Image:** mongo:7

### sharely

- **Source:** https://github.com/mc9max/sharely
- **Public domain:** Yes

## Documentation

# Deploy and Host Sharely with Railway

A self-hosted file sharing platform with a clean web interface, ShareX integration, and API access. Upload screenshots, files, and media — then instantly share them via short links.

## About Hosting

Sharely is a Node.js and MongoDB application that provides a modern web interface for file uploads, gallery viewing, and shareable links. It supports chunked uploads up to 2 GB, automatic thumbnail generation for video and PDF files, and social media embed optimization with Open Graph metadata.

## Why Deploy

Self-hosting Sharely gives you full control over your files and sharing preferences. Whether you want a private file hub, a public gallery, or a ShareX upload target for screenshots, Sharely handles it all with minimal infrastructure — just Node.js and MongoDB.

## Common Use Cases

- **Screenshot hosting** — Pair with ShareX for instant screenshot uploads and short links
- **File sharing** — Share files via password-protected links with expiry dates
- **Media galleries** — Organize photos, videos, and documents in searchable collections
- **API integration** — Use the Bearer token API to upload files programmatically from scripts and apps
- **Team file hub** — Host a central upload point for team assets and media

## Dependencies for

- **MongoDB** — Stores user data, file metadata, and session information (auto-wired companion)
- **Node.js** — Runtime for the Express server and React client (bundled in Docker image)
- **Persistent volume** — Required for uploaded files and auto-generated thumbnails (auto-attached)


## Similar templates

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [EasyImg](https://railway.com/deploy/easyimg) — Simple self-hostable Nuxt.js personal image hosting system.

Open this page in a browser: https://railway.com/deploy/sharely-1
