All Projects → veliovgroup → Meteor-Files-Demo

veliovgroup / Meteor-Files-Demo

Licence: BSD-3-Clause license
Demo application for ostrio:files package

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Meteor-Files-Demo

Meteor Files
🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.
Stars: ✭ 1,033 (+6356.25%)
Mutual labels:  dropbox, meteor, aws-s3
Ytdlrc
☁️ Downloads videos and metadata with youtube-dl and moves each file on completion to an rclone remote
Stars: ✭ 140 (+775%)
Mutual labels:  dropbox, google-cloud-storage
Simpleupload
Simple upload system in PHP, compatible with AWS S3, Dropbox, Azure and others.
Stars: ✭ 85 (+431.25%)
Mutual labels:  dropbox, aws-s3
python-web-dev-21-2
Material for "Web Development in Python with Django" using Django 2.1, published as a Pearson LiveLesson on Safari Books Online
Stars: ✭ 38 (+137.5%)
Mutual labels:  heroku, herokuapp
Oneupflysystembundle
A Flysystem integration for your Symfony projects.
Stars: ✭ 541 (+3281.25%)
Mutual labels:  dropbox, aws-s3
Rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Stars: ✭ 30,541 (+190781.25%)
Mutual labels:  dropbox, google-cloud-storage
django-s3file
A lightweight file upload input for Django and Amazon S3
Stars: ✭ 66 (+312.5%)
Mutual labels:  heroku, aws-s3
accessibility-cloud
👩🏽‍🦯🦮👩🏻‍🦽👩🏿‍🦼 the platform to exchange physical accessibility data in a standardized, future-proof, easy-to-use way.
Stars: ✭ 37 (+131.25%)
Mutual labels:  meteor, meteor-application
Meteor-Files-Demos
Demos for ostrio:files package
Stars: ✭ 51 (+218.75%)
Mutual labels:  heroku, meteor
mTracker
An email tracker built with Python and Flask
Stars: ✭ 20 (+25%)
Mutual labels:  heroku, herokuapp
matorral
An open-source, very simple & extensible project managent tool written using Django/Python
Stars: ✭ 21 (+31.25%)
Mutual labels:  heroku, herokuapp
littlebox
Android app for simple seamless sharing of your files within Intranet/LAN
Stars: ✭ 12 (-25%)
Mutual labels:  dropbox, sharing
Sparkleshare
Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
Stars: ✭ 4,661 (+29031.25%)
Mutual labels:  dropbox, sharing
backmeup
BackMeUp: An automated MySQL / MariaDB databases and files backup solution on *nix Machines using Amazon S3, WebDAV (ownCloud / NextCloud etc.), Google Drive and Dropbox.
Stars: ✭ 80 (+400%)
Mutual labels:  dropbox, aws-s3
anyfs
Portable file system for Node
Stars: ✭ 17 (+6.25%)
Mutual labels:  dropbox, aws-s3
Dropbox-Paper-Desktop
Unofficial Dropbox Paper app for OS X
Stars: ✭ 22 (+37.5%)
Mutual labels:  application, dropbox
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+1368.75%)
Mutual labels:  aws-s3, google-cloud-storage
Php Ffmpeg Video Streaming
📼 Package media content for online streaming(DASH and HLS) using FFmpeg
Stars: ✭ 246 (+1437.5%)
Mutual labels:  aws-s3, google-cloud-storage
heroku-flask-template
A simple, fast and easy-to-deploy Heroku ready flask web app template written in Python.
Stars: ✭ 26 (+62.5%)
Mutual labels:  heroku, herokuapp
Circleci Orbs
The source code for some of the orbs published by CircleCI
Stars: ✭ 82 (+412.5%)
Mutual labels:  heroku, aws-s3

Deploy Become a patron

Demo app

Links:

Functionality:

  • Upload / Download Files
  • Stream Audio / Video Files
  • Images, PDFs, Texts preview
  • Drag'n'drop support (files only, folders is not supported yet)
  • Image processing (thumbnails, preview)
  • DropBox as storage (note: you can use only one of DropBox or S3 at the same app)
  • AWS:S3 as storage (note: you can use only one of DropBox or S3 at the same app)
  • Login via social networks (allows to make uploaded files unlisted and/or private)
  • Heroku support (including one-click-deploy)

Quick start:

Activate AWS:S3

  1. Read this article
  2. After creating S3 bucket, create CloudFront Distribution and attach it to S3 bucket
  3. Set S3 credentials into METEOR_SETTINGS env.var or pass as the file, read here for more info, alternatively (if something not working) set S3 env.var
  4. You can pass S3 credentials as JSON-string when using "Heroku's one click install-button"

S3 credentials format (region is required):

{
  "s3": {
    "key": "xxx",
    "secret": "xxx",
    "bucket": "xxx",
    "region": "xxx"
  }
}

Activate DropBox

  1. Read this article
  2. Set DropBox credentials into METEOR_SETTINGS env.var or pass as file, read here for more info, alternatively (if something not working) set DROPBOX env.var
  3. You can pass DropBox credentials as JSON-string when using "Heroku's one click install-button"

DropBox credentials format:

{
  "dropbox": {
    "key": "xxx",
    "secret": "xxx",
    "token": "xxx"
  }
}

Activate login via Social Networks

All credentials is set via env.var(s), if you're using "Heroku's one click install-button" - you will be able to pass all of them.

  • Facebook - Create an App:
    • secret: ACCOUNTS_FACEBOOK_SEC
    • appId: ACCOUNTS_FACEBOOK_ID
  • Twitter - Create an App:
    • secret: ACCOUNTS_TWITTER_SEC
    • consumerKey: ACCOUNTS_TWITTER_ID
  • GitHub - Create OAuth App:
    • secret: ACCOUNTS_GITHUB_SEC
    • clientId: ACCOUNTS_GITHUB_ID
  • Meteor Developer - Create an App:
    • secret: ACCOUNTS_METEOR_SEC
    • clientId: ACCOUNTS_METEOR_ID

Deploy to Heroku

# Build an app ypourself, or use pre-build version: https://github.com/VeliovGroup/Meteor-Files-Demo
# Available architectures:
# os.osx.x86_64
# os.linux.x86_64
# os.linux.x86_32
# os.windows.x86_32
meteor build ../build-<your-app-name> --architecture os.linux.x86_64
cd ../build-<your-app-name>
tar xzf <name-of-archive> -C ./
cd bundle/
cp -Rf * ../
cd ../
rm -Rf bundle/
rm -Rf <name-of-archive>
touch Procfile
echo "web: node main.js" > Procfile

heroku create <your-app-name> --buildpack https://github.com/heroku/heroku-buildpack-nodejs
# This command will output something like:
# - https://<your-app-name>.herokuapp.com/
# - https://git.heroku.com/<your-app-name>.git

# ONLY FOR CEDAR <= 14 - Add GraphicsMagick buildpack - for image manipulations
heroku buildpacks:add --index 1 https://github.com/mcollina/heroku-buildpack-graphicsmagick.git

# FOR CEDAR >= 16 - Add APT buildpack - to install graphicksmagick
heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt

git init
heroku git:remote -a <your-app-name>

# Copy this: `https://<your-app-name>.herokuapp.com`, note `http(s)://` protocol
heroku config:set ROOT_URL=https://<your-app-name>.herokuapp.com
# To have a MongoDB, you can create one at https://mlab.com/
# After creating MongoDB instance create user, then copy URL to your MongoDB
# Should be something like: mongodb://<dbuser>:<dbpassword>@dt754268.mlab.com:19470/mydb
heroku config:set MONGO_URL=mongodb://<dbuser>:<dbpassword>@dt754268.mlab.com:19470/mydb

# For DropBox:
# heroku config:set DROPBOX='{"dropbox":{"key": "xxx", "secret": "xxx", "token": "xxx"}}'

# For AWS:S3:
# heroku config:set S3='{"s3":{"key": "xxx", "secret": "xxx", "bucket": "xxx", "region": "xxx"}}'

# For Facebook:
# heroku config:set ACCOUNTS_FACEBOOK_ID=xxx ACCOUNTS_FACEBOOK_SEC=yyy

# For Twitter:
# heroku config:set ACCOUNTS_TWITTER_ID=xxx ACCOUNTS_TWITTER_SEC=yyy

# For GitHub:
# heroku config:set ACCOUNTS_GITHUB_ID=xxx ACCOUNTS_GITHUB_SEC=yyy

# For Meteor Developer:
# heroku config:set ACCOUNTS_METEOR_ID=xxx ACCOUNTS_METEOR_SEC=yyy

# Enable sticky sessions, to support HTTP upload:
heroku features:enable http-session-affinity

git add .
git commit -m "initial"
git push heroku master
  • Go to https://<your-app-name>.herokuapp.com
  • If your app has errors:
    • Check logs: heroku logs --tail
    • Try to run locally and debug: heroku run node

Support this project:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].