1e67a5cc7f
* Factor out lighthouse-result processing code for FYP re-use. The FYP results will be in the same format as LH. * Recsys: add ability to pass in specific uuid to use For FYP, we want to pass the UUID as a param when searching for recommendations. The search comes before the recsys entry creation, so we need to generate the UUID first when searching, and then tell recsys to use that specific ID. * Redux: fetch and store FYP Note that the gid cannot be used as "hash" for the uri list -- it doesn't necessarily change when the list changes, so we can't use it to optimize redux. For now, just always update/render when re-fetched. * UI for FYP * Mark rendered FYPs * Pass the FYP ID down the same way as Collection ID Not ideal, but at least it's in the same pattern as existing code for now. The whole prop-drilling problem with the claim components will be fixed together later. * Include 'gid' and 'uuid' in recommendation search * Allow users to mark recommendations that they dislike * Pass auth-token to all FYP requests + remove beacon use beacons are unreliable and often blocked * Only show FYP for members * FYP readme page * small fixes * fyp Co-authored-by: Thomas Zarebczan <thomas.zarebczan@gmail.com>
136 lines
4.1 KiB
Text
136 lines
4.1 KiB
Text
####### .env.default #########
|
|
|
|
# Copy this file to .env to make modifications
|
|
|
|
# Base config
|
|
WEBPACK_WEB_PORT=9090
|
|
WEBPACK_ELECTRON_PORT=9091
|
|
WEB_SERVER_PORT=1337
|
|
|
|
## APIS
|
|
LBRY_WEB_API=https://api.na-backend.odysee.com
|
|
LBRY_WEB_STREAMING_API=https://player.odycdn.com
|
|
LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video
|
|
COMMENT_SERVER_API=https://comments.odysee.tv/api/v2
|
|
SEARCH_SERVER_API_ALT=https://recsys.odysee.tv/search
|
|
SEARCH_SERVER_API=https://lighthouse.odysee.tv/search
|
|
SOCKETY_SERVER_API=wss://sockety.odysee.com/ws
|
|
RECSYS_ENDPOINT=https://recsys.odysee.tv/v1/lvv
|
|
RECSYS_FYP_ENDPOINT=https://recsys.odysee.tv/v1/u
|
|
THUMBNAIL_CDN_URL=https://thumbnails.odycdn.com/optimize/
|
|
THUMBNAIL_CARDS_CDN_URL=https://cards.odycdn.com/
|
|
LOCALE_API=https://api.odysee.com/locale/get
|
|
THUMBNAIL_HEIGHT=220
|
|
THUMBNAIL_WIDTH=390
|
|
THUMBNAIL_QUALITY=85
|
|
THUMBNAIL_CDN_SIZE_LIMIT_BYTES=5242880
|
|
WELCOME_VERSION=1.0
|
|
|
|
# STRIPE
|
|
# STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo'
|
|
|
|
# Analytics
|
|
|
|
# OG
|
|
OG_TITLE_SUFFIX=| odysee.com
|
|
OG_HOMEPAGE_TITLE=Odysee
|
|
OG_IMAGE_URL=https://spee.ch/odysee-og:e.png?quality=85&height=630&width=1200
|
|
SITE_CANONICAL_URL=odysee.com
|
|
|
|
# UI
|
|
## Custom Site info
|
|
DOMAIN=odysee.com
|
|
URL=https://odysee.com
|
|
SITE_TITLE=Odysee
|
|
SITE_NAME=Odysee
|
|
SITE_DESCRIPTION=Explore a whole universe of videos on Odysee from regular people just like you!
|
|
SITE_HELP_EMAIL=help@odysee.com
|
|
LOGO_TITLE=odysee
|
|
## Social media
|
|
TWITTER_ACCOUNT=OdyseeTeam
|
|
BRANDED_SITE=odysee
|
|
|
|
# IMAGE ASSETS
|
|
YRBL_HAPPY_IMG_URL=https://spee.ch/spaceman-happy:a.png?quality=85&height=457&width=457
|
|
YRBL_SAD_IMG_URL=https://spee.ch/spaceman-sad:d.png?quality=85&height=457&width=457
|
|
LOGIN_IMG_URL=https://player.odycdn.com/speech/odysee-sign-up:d.png
|
|
LOGO=https://spee.ch/odysee-logo-png:3.png?quality=85&height=200&width=200
|
|
LOGO_WHITE_TEXT=https://spee.ch/odysee-white-png:f.png?quality=85&height=300&width=1000
|
|
LOGO_DARK_TEXT=https://spee.ch/odysee-png:2.png?quality=85&height=300&width=1000
|
|
AVATAR_DEFAULT=https://spee.ch/spaceman-png:2.png?quality=85&height=180&width=180
|
|
MISSING_THUMB_DEFAULT=https://spee.ch/missing-thumb-png?quality=85&height=390&width=220
|
|
FAVICON=https://spee.ch/favicon-png:c.png
|
|
|
|
# LOCALE
|
|
DEFAULT_LANGUAGE=en
|
|
|
|
## CUSTOM SETTINGS
|
|
# Additional settings for below are found in ui/constants/settings and are for
|
|
# preventing user settings from applying to custom sites without overwriting them.
|
|
# UNSYNCED_SETTINGS='theme dark_mode_times automatic_dark_mode_enabled'
|
|
|
|
## LINKED CONTENT WHITELIST
|
|
KNOWN_APP_DOMAINS=open.lbry.com,lbry.tv,lbry.lat,odysee.com
|
|
|
|
## CUSTOM CONTENT
|
|
# If the following is true, copy custom/homepage.example.js to custom/homepage.js and modify
|
|
CUSTOM_HOMEPAGE=false
|
|
|
|
# Add channels to auto-follow on first run
|
|
AUTO_FOLLOW_CHANNELS=lbry://@lbry#3fda836a92faaceedfe398225fb9b2ee2ed1f01a
|
|
|
|
## FEATURES AND LIMITS
|
|
SIMPLE_SITE=false
|
|
#BRANDED_SITE
|
|
|
|
ENABLE_COMMENT_REACTIONS=true
|
|
ENABLE_FILE_REACTIONS=true
|
|
ENABLE_CREATOR_REACTIONS=true
|
|
ENABLE_NO_SOURCE_CLAIMS=true
|
|
ENABLE_PREROLL_ADS=true
|
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
|
|
CHANNEL_STAKED_LEVEL_LIVESTREAM=5
|
|
CHANNEL_CREATION_LIMIT=5
|
|
WEB_PUBLISH_SIZE_LIMIT_GB=4
|
|
LIGHTHOUSE_DEFAULT_TYPES=audio,video
|
|
|
|
SHOW_ADS=true
|
|
|
|
## SIMPLE_SITE REPLACEMENTS
|
|
ENABLE_MATURE=false
|
|
ENABLE_UI_NOTIFICATIONS=true
|
|
|
|
#ENABLE_LINK_TO_APP=true
|
|
#FORCE_ANALYTICS=true
|
|
#ENABLE_ADVANCED_FILTER=true
|
|
#ENABLE_PAID_CONTENT=true
|
|
#USE_FOOTER=true
|
|
#USE_DISCOVER_WHITELIST=false
|
|
ENABLE_WILD_WEST=true
|
|
#FULL_SIDE_LINKS=true
|
|
#SHOW_TAGS_INTRO=false
|
|
|
|
# SEARCH TYPES
|
|
#VIDEO_ENABLED=true
|
|
#AUDIO_ENABLED=true
|
|
#POSTS_ENABLED=true
|
|
#IMAGES_ENABLED=true
|
|
#FILES_ENABLED=true
|
|
#MODELS_ENABLED=true
|
|
|
|
BRANDED_SITE=odysee
|
|
LOADING_BAR_COLOR=#e50054
|
|
|
|
# --- Firebase ---
|
|
FIREBASE_API_KEY=AIzaSyAgc-4QORyglpYZ3qH9E5pDauEDOJXgM3A
|
|
FIREBASE_AUTH_DOMAIN=lbry-mobile.firebaseapp.com
|
|
FIREBASE_PROJECT_ID=lbry-mobile
|
|
FIREBASE_STORAGE_BUCKET=lbry-mobile.appspot.com
|
|
FIREBASE_MESSAGING_SENDER_ID=638894153788
|
|
FIREBASE_APP_ID=1:638894153788:web:35b295b15297201bd2e339
|
|
FIREBASE_MEASUREMENT_ID=G-2MPJGFEEXC
|
|
FIREBASE_VAPID_KEY=BFayEBpwMTU9GQQpXgitIJkfx-SD8-ltrFb3wLTZWgA27MfBhG4948pe0eERl432NzPrMKsbkXnA7ap_vLPgLYk
|
|
|
|
# --- Development ---
|
|
REPORT_NEW_STRINGS=false
|
|
USE_LOCAL_HOMEPAGE_DATA=false
|