Coder Social home page Coder Social logo

minitube's Introduction

Minitube

Minitube is small Youtube-like service with moderation. It use direct S3 upload and ffmpeg for transcoding.

Because I'm a lazy ass the service only support Telegram Login for now.

Environment variables

DATABASE_URL:                            postgres://XXX	  # URL to the database host and name
S3_ACCESS_KEY_ID:                        XXX	          # Access key of the S3 bucket where the transcoded videos will be stored
S3_SECRET_ACCESS_KEY:                    XXX	          # Secret key of the S3 bucket where the trancoded videos will be stored
S3_BUCKET:                               XXX	          # Bucket where the transcoded videos will be stored
S3_ENDPOINT:                             XXX	          # The S3 endpoint of the bucket where all the transcoded videos will be stored (useful for minio)
S3_HOST:                                 XXX 	          # The S3 host of the bucket where all the trancoded videos will be stored (useful for minio)
S3_REGION:                               XXX	          # The S3 region of the bucket where all the transcoded videos will be stored
SECURE_UPLOADER_KEY:                     XXX	          # An encryption key you can generate with bin/rake secret
SITE_NAME:                               XXX	          # The site name (ix. Minitube)
TELEGRAM_BOT_NAME:                       XXX	          # The name of the login Telegram bot
TELEGRAM_LOGIN_BOT_TOKEN:                XXX	          # The login Telegram bot token
TEMPORARY_S3_ACCESS_KEY_ID:              XXX	          # Access key of the temporary S3 bucket where uploaded videos will be stored
TEMPORARY_S3_SECRET_ACCESS_KEY:          XXX	          # Secret key of the temporary S3 bucket where uploaded videos will be stored
TEMPORARY_S3_BUCKET:                     XXX	          # The S3 bucket of the temporary bucket where all the uploaded videos will be stored
TEMPORARY_S3_REGION:                     XXX	          # The S3 region of the temporary bucket where all the uploaded videos will be stored
ADMIN_ACCOUNT_TELEGRAM_ID:               1234	      	  # Telegram id of the admin user
CONTENT_PRODUCERS_NAME:                  publishers 	  # Name of the publishers (ex: minitubers, youtubers)
DEFAULT_THEME:                           light		  # Can be light or dark
DOMAIN:                                  minitube.com	  # The domain you want to use for the application
ENABLE_BETA:                             false		  # Add a the 'beta' text beside the site name
ENABLE_PORNOGRAPHY_DISCLAIMER:           false		  # Add a disclaimer for pornographic website
ICON_FOLDER:                             minitube	  # Folder for your icons in `app/assets/images`
MINIMUM_AGE:                             13		  # Minimum age to signup
UNREAD_ACTIVITY_COUNT_REFRESH_INTERVAL:  120000	  	  # Refresh interval of the activity counter (default. 120000)
UNREAD_CHATS_COUNT_REFRESH_INTERVAL:     10000	  	  # Refresh interval of the chat (default. 10000)
MESSAGES_REFRESH_INTERVAL:               10000		  # Refresh interval for message
USER_MEDIA_PAGE_SIZE:                    10		  # Pagination settings
ACTIVITIES_PAGE_SIZE:                    20		  # Pagination settings
ANNOUNCEMENTS_PAGE_SIZE:                 30		  # Pagination settings
CHATS_PAGE_SIZE:                         30		  # Pagination settings
COMMENTS_PAGE_SIZE:                      20		  # Pagination settings
FOLLOWERS_PAGE_SIZE:                     30		  # Pagination settings
FOLLOWINGS_PAGE_SIZE:                    30		  # Pagination settings
LIKES_PAGE_SIZE:                         10		  # Pagination settings
LISTS_PAGE_SIZE:                         30		  # Pagination settings
MEDIA_PAGE_SIZE:                         30		  # Pagination settings
MESSAGES_PAGE_SIZE:                      30		  # Pagination settings

License

Copyright (c) 2018 Victor Goya [email protected]

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

minitube's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.