An open API service indexing awesome lists of open source software.

https://github.com/lakhindarpal/tinyshare

Anonymous file sharing app with instant upload & unique download links
https://github.com/lakhindarpal/tinyshare

anonymous astrojs file-sharing file-upload netlify-cli netlify-functions tinyshare

Last synced: 10 days ago
JSON representation

Anonymous file sharing app with instant upload & unique download links

Awesome Lists containing this project

README

        

# ๐Ÿ“ TinyShare - Anonymous File Sharing

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![Built with Astro](https://img.shields.io/badge/Built%20with-Astro-302C40.svg?logo=astro)](https://astro.build)
[![Netlify Blob](https://img.shields.io/badge/Powered%20by-Netlify%20Blob-00C7B7?logo=netlify)](https://docs.netlify.com/blobs/overview/)

๐Ÿ“Ž [**Live Demo โ†’**](https://tinyshare.netlify.app/)
โšก [**One-click Deploy on Netlify**](https://app.netlify.com/start/deploy?repository=https://github.com/lakhindarpal/tinyshare/)

> Anonymous file sharing app with instant upload & unique download links โ€” no signups, no tracking, no problem.

---

## โœจ Features

* ๐Ÿ”’ Anonymous file uploads (no login required)
* ๐Ÿ”— Unique, shareable download URLs
* ๐Ÿงพ Public file download via Netlify Blob
* ๐Ÿš€ Built with Astro + Netlify Functions
* ๐Ÿ’ป Fully local dev experience via Netlify CLI

---

## ๐Ÿ›  Tech Stack

* [Astro](https://astro.build/)
* [Netlify Blob Storage](https://docs.netlify.com/blobs/overview/)
* [Netlify Functions](https://docs.netlify.com/functions/overview/)
* [Netlify CLI](https://docs.netlify.com/cli/get-started/)

---

## ๐Ÿ“ฆ Clone & Deploy

Deploy your own instance with a single click:

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/lakhindarpal/tinyshare/)

This will:

* Clone the repo to your GitHub
* Create a site on your Netlify account
* Set up continuous deployment

---

## ๐Ÿ’ป Run Locally

### 1. Clone the Repo

```bash
git clone https://github.com/lakhindarpal/tinyshare.git
cd tinyshare
```

### 2. Install Dependencies

```bash
npm install
```

### 3. Install Netlify CLI

```bash
npm install -g netlify-cli
```

### 4. Start Dev Server

```bash
netlify dev --target-port 4321
```

Visit: [http://localhost:8888](http://localhost:8888)

---

## ๐Ÿง  How It Works

1. **User Uploads File**
A simple form sends the file to a Netlify Function.

2. **Function Saves to Blob**
Serverless function uploads the file to Netlify Blob Storage.

3. **Unique URL Created**
A unique file ID is returned and a download link like `/:id/dl` is generated.

4. **Anyone Can Download**
Anyone with the link can access and download the file.

---

## ๐Ÿ” Security & Privacy

* Files are **public** to anyone with the link
* No login or session tracking
* No encryption at rest โ€” encrypt client-side for sensitive files

---

## ๐Ÿ“„ License

[MIT License](./LICENSE)

---

## ๐Ÿค Contributing

Issues, feedback, and PRs are welcome!
Star โญ the repo if you find it useful.