Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Repository files navigation

Shared File Resolver

Getting started

Install

yarn

Run locally

yarn dev

Usage

The Unshare service consists of a single endpoint to resolve "shared file links" from various services including Dropbox, Google Drive and Box. You can try the endpoint at https://unshare.nanninga.now.sh/playground to see the request and response.

Parameters

parameterdescriptiontype
sharinglinkSharing link to the file or folder to get information fromstring
recursiveRecursively fetch files and folders if the original link is a folderboolean

Environment variables

Environment variables can either be set on a per command basis, or on a .env file. See .env.sample for a reference on the format.

Production

Environment variables for production need to be set using now secret.

now secret add unshare-dropbox-access-token <token>
now secret add unshare-google-drive-api-key <key>
now secret add unshare-box-access-token <token>

Deploy

This application is deployed on zeit.co now.

yarn deploy

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages