mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Merge pull request #7 from lbryio/blogs_are_dumb
New blog, new /get (OS detection), new /learn, new /what
This commit is contained in:
commit
1d5220b63f
113 changed files with 1481 additions and 799 deletions
|
@ -1,60 +0,0 @@
|
|||
<?php
|
||||
|
||||
class Post
|
||||
{
|
||||
protected $slug, $title, $author, $date, $contentHtml;
|
||||
|
||||
public static function fromFile($filename)
|
||||
{
|
||||
list($ignored, $frontMatter, $content) = explode('---', file_get_contents($filename), 3);
|
||||
return new static(Blog::getSlugFromFilename($filename), Spyc::YAMLLoadString(trim($frontMatter)), trim($content));
|
||||
}
|
||||
|
||||
public function __construct($slug, $frontMatter, $markdown)
|
||||
{
|
||||
$this->slug = $slug;
|
||||
$this->title = isset($frontMatter['title']) ? $frontMatter['title'] : null;
|
||||
$this->author = isset($frontMatter['author']) ? $frontMatter['author'] : null;
|
||||
$this->date = isset($frontMatter['date']) ? new DateTime($frontMatter['date']) : null;
|
||||
$this->contentHtml = ParsedownExtra::instance()->text(trim($markdown));
|
||||
}
|
||||
|
||||
public function getSlug()
|
||||
{
|
||||
return $this->slug;
|
||||
}
|
||||
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function getAuthor()
|
||||
{
|
||||
return $this->author;
|
||||
}
|
||||
|
||||
public function getDate()
|
||||
{
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
public function getContentHtml()
|
||||
{
|
||||
return $this->contentHtml;
|
||||
}
|
||||
|
||||
public function getPrevPost()
|
||||
{
|
||||
$slugs = array_keys(Blog::getSlugMap());
|
||||
$key = array_search($this->getSlug(), $slugs);
|
||||
return $key === false || $key === 0 ? null : Blog::getPost($slugs[$key-1]);
|
||||
}
|
||||
|
||||
public function getNextPost()
|
||||
{
|
||||
$slugs = array_keys(Blog::getSlugMap());
|
||||
$key = array_search($this->getSlug(), $slugs);
|
||||
return $key === false || $key >= count($slugs)-1 ? null : Blog::getPost($slugs[$key+1]);
|
||||
}
|
||||
}
|
|
@ -20,4 +20,15 @@ class Actions
|
|||
Actions::returnError($error);
|
||||
}
|
||||
}
|
||||
|
||||
protected static function isForRobot()
|
||||
{
|
||||
$bots = [
|
||||
'bot', 'spider', 'crawler', 'siteexplorer', 'yahoo', 'slurp', 'dataaccessd', 'facebook', 'twitter', 'coccoc',
|
||||
'calendar', 'curl', 'wget', 'panopta', 'blogtrottr', 'zapier', 'newrelic', 'luasocket',
|
||||
'okhttp', 'python'
|
||||
];
|
||||
|
||||
return preg_match('/(' . join('|', $bots) . ')/i', $_SERVER['HTTP_USER_AGENT']);
|
||||
}
|
||||
}
|
|
@ -11,7 +11,9 @@ class Controller
|
|||
{
|
||||
try
|
||||
{
|
||||
list($viewTemplate, $viewParameters) = static::execute($uri);
|
||||
$viewAndParams = static::execute($uri);
|
||||
$viewTemplate = $viewAndParams[0];
|
||||
$viewParameters = isset($viewAndParams[1]) ? $viewAndParams[1] : [];
|
||||
|
||||
if ($viewTemplate === null)
|
||||
{
|
||||
|
@ -42,7 +44,12 @@ class Controller
|
|||
case '/fund':
|
||||
return CreditActions::executeFund();
|
||||
case '/get':
|
||||
return ContentActions::executeGet();
|
||||
case '/windows':
|
||||
case '/ios':
|
||||
case '/android':
|
||||
case '/linux':
|
||||
case '/osx':
|
||||
return DownloadActions::executeGet();
|
||||
case '/postcommit':
|
||||
return OpsActions::executePostCommit();
|
||||
case '/log-upload':
|
||||
|
@ -57,10 +64,14 @@ class Controller
|
|||
return static::redirect('https://s3.amazonaws.com/files.lbry.io/osx/lbry.0.2.2.dmg', 307);
|
||||
case '/lbry-linux-latest.deb':
|
||||
return static::redirect('https://s3.amazonaws.com/files.lbry.io/linux/lbry_0.2.2_amd64.deb', 307);
|
||||
case '/art':
|
||||
return static::redirect('/what');
|
||||
default:
|
||||
if (preg_match('#^/blog($|/)#', $uri))
|
||||
$blogPattern = '#^/news(/|$)#';
|
||||
if (preg_match($blogPattern, $uri))
|
||||
{
|
||||
return BlogActions::execute($uri);
|
||||
$slug = preg_replace($blogPattern, '', $uri);
|
||||
return $slug ? BlogActions::executePost($slug) : BlogActions::executeIndex();
|
||||
}
|
||||
$noSlashUri = ltrim($uri, '/');
|
||||
if (View::exists('page/' . $noSlashUri))
|
||||
|
|
|
@ -2,24 +2,16 @@
|
|||
|
||||
class BlogActions extends Actions
|
||||
{
|
||||
public static function execute($uri)
|
||||
{
|
||||
$slug = preg_replace('#^/blog(/|$)#', '', $uri);
|
||||
if ($slug)
|
||||
{
|
||||
return static::executePost($slug);
|
||||
}
|
||||
return static::executeHome();
|
||||
}
|
||||
const URL_STEM = '/news';
|
||||
|
||||
public static function executeHome()
|
||||
public static function executeIndex()
|
||||
{
|
||||
$posts = Blog::getPosts();
|
||||
usort($posts, function(Post $a, Post $b) {
|
||||
return strcasecmp($b->getDate()->format('Y-m-d'), $a->getDate()->format('Y-m-d'));
|
||||
});
|
||||
$page = isset($_GET['page']) ? (int)$_GET['page'] : 1;
|
||||
return ['blog/home', [
|
||||
return ['blog/index', [
|
||||
'posts' => $posts,
|
||||
'page' => $page
|
||||
]];
|
||||
|
@ -36,4 +28,14 @@ class BlogActions extends Actions
|
|||
'post' => $post
|
||||
]];
|
||||
}
|
||||
|
||||
public static function prepareAuthorPartial(array $vars)
|
||||
{
|
||||
$post = $vars['post'];
|
||||
return [
|
||||
'authorName' => $post->getAuthorName(),
|
||||
'photoImgSrc' => $post->getAuthorPhoto(),
|
||||
'authorBioHtml' => $post->getAuthorBioHtml()
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,51 +14,4 @@ class ContentActions extends Actions
|
|||
'totalPeople' => CreditApi::getTotalPeople()
|
||||
]];
|
||||
}
|
||||
|
||||
public static function executeGet()
|
||||
{
|
||||
if (isset($_GET['email']) && $_GET['email'] && Session::get(Session::KEY_LIST_SUB_ERROR))
|
||||
{
|
||||
Controller::redirect('/get');
|
||||
}
|
||||
return ['page/get', [
|
||||
'isSubscribed' => (isset($_GET['email']) && $_GET['email']) || in_array(Mailchimp::LIST_GENERAL_ID, Session::get(Session::KEY_MAILCHIMP_LIST_IDS, []))
|
||||
]];
|
||||
}
|
||||
//
|
||||
// protected static function validateDownloadAccess()
|
||||
// {
|
||||
// $seshionKey = 'has-download-access';
|
||||
// if (Session::get($seshionKey))
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// if ($_SERVER['REQUEST_METHOD'] === 'POST')
|
||||
// {
|
||||
// $accessCodes = include ROOT_DIR . '/data/secret/access_list.php';
|
||||
// $today = date('Y-m-d H:i:s');
|
||||
// foreach($accessCodes as $code => $date)
|
||||
// {
|
||||
// if ($_POST['invite'] == $code && $today <= $date)
|
||||
// {
|
||||
// Session::set($seshionKey, true);
|
||||
// Controller::redirect('/get', 302);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if ($_POST['invite'])
|
||||
// {
|
||||
// Session::set('invite_error', 'Please provide a valid invite code.');
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Session::set('invite_error', 'Please provide an invite code.');
|
||||
// }
|
||||
//
|
||||
// Controller::redirect('/get', 401);
|
||||
// }
|
||||
//
|
||||
// return false;
|
||||
// }
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ class CreditActions extends Actions
|
|||
{
|
||||
$fundStartTime = strtotime('2015-11-15');
|
||||
$daysActive = floor((time() - $fundStartTime) / (60*60*24));
|
||||
return ['page/fund', [
|
||||
return ['fund/fund', [
|
||||
'creditsPerDollar' => CreditApi::getCreditsPerDollar($daysActive),
|
||||
'creditsPerDollarTomorrow' => CreditApi::getCreditsPerDollar($daysActive + 1),
|
||||
]];
|
||||
|
|
127
controller/action/DownloadActions.class.php
Normal file
127
controller/action/DownloadActions.class.php
Normal file
|
@ -0,0 +1,127 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Description of DownloadActions
|
||||
*
|
||||
* @author jeremy
|
||||
*/
|
||||
class DownloadActions extends Actions
|
||||
{
|
||||
const OS_ANDROID = 'android',
|
||||
OS_IOS = 'ios',
|
||||
OS_LINUX = 'linux',
|
||||
OS_OSX = 'osx',
|
||||
OS_WINDOWS = 'windows';
|
||||
|
||||
public static function getOses()
|
||||
{
|
||||
return [
|
||||
static::OS_WINDOWS => ['/windows', 'Windows', 'icon-windows', '_windows'],
|
||||
static::OS_OSX => ['/osx', 'OS X', 'icon-apple', '_osx'],
|
||||
static::OS_LINUX => ['/linux', 'Linux', 'icon-linux', '_linux'],
|
||||
static::OS_ANDROID => ['/android', 'Android', 'icon-android', '_android'],
|
||||
static::OS_IOS => ['/ios', 'iOS', 'icon-mobile', '_ios']
|
||||
];
|
||||
}
|
||||
|
||||
public static function executeGet()
|
||||
{
|
||||
$osChoices = static::getOses();
|
||||
$os = static::guessOs();
|
||||
|
||||
if ($os && isset($osChoices[$os]))
|
||||
{
|
||||
list($uri, $osTitle, $osIcon, $partial) = $osChoices[$os];
|
||||
return ['download/get', [
|
||||
'os' => $os,
|
||||
'osTitle' => $osTitle,
|
||||
'osIcon' => $osIcon,
|
||||
'downloadHtml' => View::exists('download/' . $partial) ?
|
||||
View::render('download/' . $partial) :
|
||||
false
|
||||
]];
|
||||
}
|
||||
|
||||
return ['download/get-no-os', [
|
||||
'isSubscribed' => in_array(Mailchimp::LIST_GENERAL_ID, Session::get(Session::KEY_MAILCHIMP_LIST_IDS, []))
|
||||
]];
|
||||
}
|
||||
|
||||
public static function prepareListPartial(array $vars)
|
||||
{
|
||||
return $vars + ['osChoices' => isset($vars['excludeOs']) ?
|
||||
array_diff_key(static::getOses(), [$vars['excludeOs'] => null]) :
|
||||
static::getOses()
|
||||
];
|
||||
}
|
||||
|
||||
protected static function guessOs()
|
||||
{
|
||||
//if exact OS is requested, use that
|
||||
$uri = strtok($_SERVER['REQUEST_URI'], '?');
|
||||
foreach(static::getOses() as $os => $osChoice)
|
||||
{
|
||||
if ($osChoice[0] == $uri)
|
||||
{
|
||||
return $os;
|
||||
}
|
||||
}
|
||||
|
||||
if (static::isForRobot())
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
//otherwise guess from UA
|
||||
$ua = $_SERVER['HTTP_USER_AGENT'];
|
||||
if (stripos($ua, 'OS X') !== false)
|
||||
{
|
||||
return strpos($ua, 'iPhone') !== false || stripos($ua, 'iPad') !== false ? static::OS_IOS : static::OS_OSX;
|
||||
}
|
||||
if (stripos($ua, 'Linux') !== false || strpos($ua, 'X11') !== false)
|
||||
{
|
||||
return strpos($ua, 'Android') !== false ? static::OS_ANDROID : static::OS_LINUX;
|
||||
}
|
||||
if (stripos($ua, 'Windows') !== false)
|
||||
{
|
||||
return static::OS_WINDOWS;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// protected static function validateDownloadAccess()
|
||||
// {
|
||||
// $seshionKey = 'has-get-access';
|
||||
// if (Session::get($seshionKey))
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// if ($_SERVER['REQUEST_METHOD'] === 'POST')
|
||||
// {
|
||||
// $accessCodes = include ROOT_DIR . '/data/secret/access_list.php';
|
||||
// $today = date('Y-m-d H:i:s');
|
||||
// foreach($accessCodes as $code => $date)
|
||||
// {
|
||||
// if ($_POST['invite'] == $code && $today <= $date)
|
||||
// {
|
||||
// Session::set($seshionKey, true);
|
||||
// Controller::redirect('/get', 302);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if ($_POST['invite'])
|
||||
// {
|
||||
// Session::set('invite_error', 'Please provide a valid invite code.');
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Session::set('invite_error', 'Please provide an invite code.');
|
||||
// }
|
||||
//
|
||||
// Controller::redirect('/get', 401);
|
||||
// }
|
||||
//
|
||||
// return false;
|
||||
// }
|
||||
}
|
|
@ -21,11 +21,11 @@ class MailActions extends Actions
|
|||
$email = $_POST['email'];
|
||||
if (!$email|| !filter_var($email, FILTER_VALIDATE_EMAIL))
|
||||
{
|
||||
Session::set('list_error', $email ? __('Please provide a valid email address.') : __('Please provide an email address.'));
|
||||
Session::set(Session::KEY_LIST_SUB_ERROR, $email ? __('Please provide a valid email address.') : __('Please provide an email address.'));
|
||||
}
|
||||
elseif (!$_POST['listId'])
|
||||
{
|
||||
Session::set('list_error', __('List not provided.'));
|
||||
Session::set(Session::KEY_LIST_SUB_ERROR, __('List not provided.'));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ class MailActions extends Actions
|
|||
else
|
||||
{
|
||||
$error = $mcApi->errorMessage ?: __('Something went wrong adding you to the list.');
|
||||
Session::set('list_error', $error);
|
||||
Session::set(Session::KEY_LIST_SUB_ERROR, $error);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,8 +56,8 @@ class MailActions extends Actions
|
|||
|
||||
if (Session::get(Session::KEY_LIST_SUB_SIGNATURE) == $vars['listSig'])
|
||||
{
|
||||
$vars['error'] = Session::get('list_error');
|
||||
Session::unsetKey('list_error');
|
||||
$vars['error'] = Session::get(Session::KEY_LIST_SUB_ERROR);
|
||||
Session::unsetKey(Session::KEY_LIST_SUB_ERROR);
|
||||
|
||||
$vars['success'] = Session::get(Session::KEY_LIST_SUB_SUCCESS) ? __('Great success! Welcome to LBRY.') : false;
|
||||
$vars['fbEvent'] = Session::get(Session::KEY_LIST_SUB_FB_EVENT) ?: 'Lead';
|
||||
|
@ -72,5 +72,4 @@ class MailActions extends Actions
|
|||
|
||||
return $vars;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Used to immediately end execution
|
||||
*
|
||||
* @author jeremy
|
||||
*/
|
||||
class StopException extends Exception
|
||||
{
|
||||
|
||||
}
|
|
@ -7,7 +7,7 @@ class Blog
|
|||
public static function getPosts()
|
||||
{
|
||||
$posts = [];
|
||||
foreach(glob(ROOT_DIR.'/blog/posts/*.md') as $file)
|
||||
foreach(static::getAllPostPaths() as $file)
|
||||
{
|
||||
$posts[] = Post::fromFile($file);
|
||||
}
|
||||
|
@ -33,13 +33,18 @@ class Blog
|
|||
{
|
||||
if (!static::$slugMap)
|
||||
{
|
||||
foreach(glob(ROOT_DIR.'/blog/posts/*.md') as $file)
|
||||
foreach(static::getAllPostPaths() as $file)
|
||||
{
|
||||
static::$slugMap[static::getSlugFromFilename($file)] = $file;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected static function getAllPostPaths()
|
||||
{
|
||||
return glob(ROOT_DIR . '/view/posts/*.md');
|
||||
}
|
||||
|
||||
public static function getSlugMap()
|
||||
{
|
||||
static::initSlugMap();
|
|
@ -19,7 +19,7 @@ class CreditApi
|
|||
|
||||
public static function getTotalPeople()
|
||||
{
|
||||
$rawJSON = file_get_contents('https://spreadsheets.google.com/feeds/cells/1iOC1o5jq_4ySwRzsy2tZPPltw6Tbky2e3lDFdsWV8dU/okf1n52/public/full/R1C1?alt=json');
|
||||
$rawJSON = @file_get_contents('https://spreadsheets.google.com/feeds/cells/1iOC1o5jq_4ySwRzsy2tZPPltw6Tbky2e3lDFdsWV8dU/okf1n52/public/full/R1C1?alt=json');
|
||||
$json = $rawJSON ? json_decode($rawJSON, true) : [];
|
||||
return isset($json['entry']) && isset($json['entry']['content']) && is_numeric($json['entry']['content']['$t'] ) ?
|
||||
$json['entry']['content']['$t'] :
|
||||
|
|
118
model/Post.class.php
Normal file
118
model/Post.class.php
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?php
|
||||
|
||||
class Post
|
||||
{
|
||||
protected $slug, $title, $author, $date, $contentHtml;
|
||||
|
||||
public static function fromFile($filename)
|
||||
{
|
||||
list($ignored, $frontMatter, $content) = explode('---', file_get_contents($filename), 3);
|
||||
return new static(Blog::getSlugFromFilename($filename), Spyc::YAMLLoadString(trim($frontMatter)), trim($content));
|
||||
}
|
||||
|
||||
public function __construct($slug, $frontMatter, $markdown)
|
||||
{
|
||||
$this->slug = $slug;
|
||||
$this->title = isset($frontMatter['title']) ? $frontMatter['title'] : null;
|
||||
$this->author = isset($frontMatter['author']) ? $frontMatter['author'] : null;
|
||||
$this->date = isset($frontMatter['date']) ? new DateTime($frontMatter['date']) : null;
|
||||
$this->contentHtml = ParsedownExtra::instance()->text(trim($markdown));
|
||||
}
|
||||
|
||||
public function getRelativeUrl()
|
||||
{
|
||||
return BlogActions::URL_STEM . '/' . $this->slug;
|
||||
}
|
||||
|
||||
public function getSlug()
|
||||
{
|
||||
return $this->slug;
|
||||
}
|
||||
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function getAuthor()
|
||||
{
|
||||
return $this->author;
|
||||
}
|
||||
|
||||
public function getDate()
|
||||
{
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
public function getContentHtml()
|
||||
{
|
||||
return $this->contentHtml;
|
||||
}
|
||||
|
||||
public function getPrevPost()
|
||||
{
|
||||
$slugs = array_keys(Blog::getSlugMap());
|
||||
$key = array_search($this->getSlug(), $slugs);
|
||||
return $key === false || $key === 0 ? null : Blog::getPost($slugs[$key-1]);
|
||||
}
|
||||
|
||||
public function getNextPost()
|
||||
{
|
||||
$slugs = array_keys(Blog::getSlugMap());
|
||||
$key = array_search($this->getSlug(), $slugs);
|
||||
return $key === false || $key >= count($slugs)-1 ? null : Blog::getPost($slugs[$key+1]);
|
||||
}
|
||||
|
||||
public function getAuthorName()
|
||||
{
|
||||
switch(strtolower($this->author))
|
||||
{
|
||||
case 'jeremy':
|
||||
return 'Jeremy Kauffman';
|
||||
case 'mike':
|
||||
return 'Mike Vine';
|
||||
case 'jimmy':
|
||||
return 'Jimmy Kiselak';
|
||||
case 'jack':
|
||||
return 'Jack Robison';
|
||||
case 'lbry':
|
||||
default:
|
||||
return 'Samuel Bryan';
|
||||
}
|
||||
}
|
||||
|
||||
public function getAuthorPhoto()
|
||||
{
|
||||
switch(strtolower($this->author))
|
||||
{
|
||||
case 'jeremy':
|
||||
return 'jeremy-644x450.jpg';
|
||||
case 'mike':
|
||||
return 'mike-644x450.jpg';
|
||||
case 'jimmy':
|
||||
return 'jimmy-644x450.jpg';
|
||||
case 'jack':
|
||||
return 'jack-robison-644x450.jpg';
|
||||
case 'lbry':
|
||||
default:
|
||||
return 'spooner-644x450.jpg';
|
||||
}
|
||||
}
|
||||
|
||||
public function getAuthorBioHtml()
|
||||
{
|
||||
switch(strtolower($this->author))
|
||||
{
|
||||
case 'jeremy':
|
||||
return '<p>Jeremy is the creator of TopScore (usetopscore.com), LBRY (lbry.io), and that joke where the first two items in your list are serious while the third one is a run-on sentence.</p>';
|
||||
case 'mike':
|
||||
case 'jimmy':
|
||||
return '<p>' . $this->getAuthorName() . ' is one of the founding members of LBRY.</p>';
|
||||
case 'jack':
|
||||
return '<p>Jack was one of the first people to discover LBRY and took to it so fast he may understand more about it than anyone. He has Asperger\'s Syndrome and is actively involved in the autism community.</p>';
|
||||
case 'lbry':
|
||||
default:
|
||||
return '<p>Much of our writing is a collaboration between LBRY team members, so we use SamueL BRYan to share credit. Sam has become a friend... an imaginary friend... even though we\'re adults...</p>';
|
||||
}
|
||||
}
|
||||
}
|
236
view/37-art.md
Normal file
236
view/37-art.md
Normal file
|
@ -0,0 +1,236 @@
|
|||
---
|
||||
author: jeremy, zargham, jack
|
||||
title: Art in the Internet Age
|
||||
date: '2016-03-21 20:06:18'
|
||||
cover: /img/altamira-bison.jpg
|
||||
---
|
||||
|
||||
## Introduction
|
||||
|
||||
In 34,000 B.C., there were cave paintings. And that’s it. When you came home from a sweltering August day of foraging along the Vézère river, the only form of non-live art or entertainment available was something like the above buffalo.
|
||||
|
||||
Today, we live in a world of near infinite choices. This is true not just for art but for all kinds of things (like potato chips). Since the era of cave art, humanity has incessantly and progressively trended towards interconnected, more efficient, and increasingly transparent markets. This undercurrent of connectedness and openness has affected everything human beings produce.
|
||||
|
||||
Nerds like us like to speculate about the end-game of this trend with others on the internet. What will society be like when we have a "Star Trek"-like capacity to instantly and freely replicate anything that exists? The term for this society is _post-scarcity_<sup>[1](#note-post-scarcity)</sup>.
|
||||
|
||||
Generally, post-scarcity is regarded as fantastical; something that will never happen in our lifetimes. Except for one area: digital goods.
|
||||
|
||||
Art in the internet age is infinitely reproducible and easily shared. This is a sea change from any prior time in history. Previously, vinyl records captured audio in physical grooves; tapes captured data on magnetic strips; compact disks held digital files read by lasers — in each of these cases physical, medium-specific hardware is required to both produce and recover the bits of data that made up the digital content.
|
||||
|
||||
Today art is just data, a string of 1s and 0s, a _number_, and we no longer need any specialized hardware to decode and enjoy digital content. We use the same technological methods to access a personal photograph a single time as we do to watch a blockbuster on Netflix.
|
||||
|
||||
This is a big step forward from the past. As production costs fall to zero, choices go up. Digital distributors provide virtually every song, film, photo or book for purchase and download to any internet enabled device. Technology has also decreased the cost of production — it has never been easier for aspirant artists to achieve a following through self-publishing.
|
||||
|
||||
The digitization of art has added a lot of value to both content creators and consumers, reducing costs and increasing choice. This transition is still in its infancy. With LBRY, we’re going to make it a little more mature.
|
||||
|
||||
<footer id="note-post-scarcity"><sup>1</sup> Note that post-scarcity does not eliminate the need to create _new_ goods, it just eliminates or reduces the costs of _duplicating_ goods to nothing. As long as people desire goods that did not previously exist, there will always be a market demand for creation, even in a post-scarcity world.</footer>
|
||||
|
||||
## A People’s Marketplace
|
||||
|
||||
LBRY is the first digital marketplace to be controlled by the market’s participants rather than a corporation or other 3rd-party. It is the most open, fair, and efficient marketplace for digital goods ever created, with an incentive design encouraging it to become the most complete.
|
||||
|
||||
At the highest level, LBRY does something extraordinarily simple. LBRY creates an association between a unique name and a piece of digital content, such as a movie, book, or game. This is similar to the domain name system that you are most likely using to access this very post.
|
||||
|
||||
<div class="text-center meta spacer1">
|
||||
|
||||
<div class="content-inset">A user searches and prepares to stream and the film _It’s a Wonderful Life_, located at [lbry://wonderfullife](lbry://wonderfullife), via a completely decentralized network. Try it out for yourself at [lbry.io/get](http://lbry.io/get).</div>
|
||||
|
||||
</div>
|
||||
|
||||
However, LBRY does this not through a proprietary service or network, but as a _protocol_, or a method of doing things, much like HTTP, DNS and other specifications that make up the internet itself. Just as many different domains owned by many different companies all speak a shared language, so too can any person or company speak LBRY. No special access or permission is needed.
|
||||
|
||||
LBRY differs from the status quo in three big ways:
|
||||
|
||||
1. **Coupled payment and access**. If desired, the person who publishes to [lbry://wonderfullife](lbry://wonderfullife) can charge a fee to users that view the content.
|
||||
2. **Decentralized and distributed**. Content published to LBRY is not specific to one computer or network. No one party, including us, can unilaterally remove or block content on the LBRY network. (If it worries you that LBRY could facilitate unsavory content, this is discussed in its own section.)
|
||||
3. **Domain names are controlled via ongoing auction**. This facilitates names being controlled by the publishers that value them most. These transactions take place via an electronic currency called LBRY credits, or _LBC_. This is covered in more detail, below.
|
||||
|
||||
While creating a protocol that we ourselves cannot control sounds chaotic, it is actually about establishing trust. Every other publishing system requires trusting an intermediary that can unilaterally change the rules on you. What happens when you build your business on YouTube or Amazon and they change fees? Or Apple drops your content because the Premier of China thought your comedy went to far?
|
||||
|
||||
Only LBRY consists of a known, promised set of rules that no one can unilaterally change. LBRY provides this by doing something unique: leaving the _users_ in control rather than demanding that control for itself.
|
||||
|
||||
## A Sample Use
|
||||
|
||||
Let’s look at a sample use of LBRY, Ernest releasing a film on LBRY that is later purchased and viewed by Hilary.
|
||||
|
||||
1. Ernest wants to release his comedy-horror film, _Ernie Goes To Guantanamo Bay_.
|
||||
2. The content is encrypted and sliced into many pieces. These pieces are stored by hosts.
|
||||
3. Ernest reserves [lbry://erniebythebay](lbry://erniebythebay), a name pointing to his content.
|
||||
4. When Ernest reserves the location, he also submits metadata, such as a description and thumbnail.
|
||||
5. Hillary, a user, browses the LBRY network and decides she wants to watch the film.
|
||||
6. Hillary issues a payment to Ernest for the decryption key, allowing her to watch the film.
|
||||
7. Hillary’s LBRY client collects the pieces from the hosts and reassembles them, using the key to decrypt the pieces (if necessary). This is transparent to Hillary, the film streams within a few seconds after purchase.
|
||||
|
||||
This is a lot like an interaction that can happen on many different sites on the web, except that this one happens via a network that is completely decentralized. The data and technology that makes the entire interaction possible is not reliant on nor controlled by any single entity (as it would be via YouTube, Amazon, etc.).
|
||||
|
||||
## The LBRY Network
|
||||
|
||||
To understand precisely what LBRY is and why it matters, one must understand both LBRY as a protocol and the services the protocol enables. HTTP is the protocol that makes web browsing possible, but it would be of little interest without the service of a web browser!
|
||||
|
||||
To understand LBRY, think of LBRY in terms of two layers: _protocol_ and _service._ The protocol provides a fundamental, underlying technological capability. The service layer utilizes the protocol to do something that a human being would actually find useful.
|
||||
|
||||
For a user using LBRY at the service level, the magic of what the LBRY protocol does will be largely transparent, much as a typical internet user sees nothing of how HTTP works. Via a LBRY application, a user will be able to open a familiar interface to quickly and easily discover and purchase a piece of digital content published by anyone in the world.
|
||||
|
||||
However, such an application would not be possible without the LBRY the underlying layer, the LBRY protocol.
|
||||
|
||||
### Layer 1: Protocol
|
||||
|
||||
While the protocol is one comprehensive set of rules, it is easier to understand as two parts.
|
||||
|
||||
#### Part A: The LBRY Blockchain
|
||||
|
||||
A _blockchain_, or _distributed ledger_ is the key innovation behind the Bitcoin network. Blockchains solved the very complicated technological problem of having a bunch of distributed, disparate entities all agree on a rivalrous state of affairs (like how much money they owe each other).
|
||||
|
||||
Like Bitcoin, the LBRY blockchain maintain balances -- in this case, balances of _LBC_, LBRY’s unit of credit. More importantly, the LBRY blockchain also provides a decentralized lookup and metadata storage system. The LBRY blockchain supports a specific set of commands that allows anyone to bid (in LBC) to control a LBRY _name_, which is a lot like a domain name. Whoever controls a name gets to describe what it contains, what it costs to access, who to pay, and where to find it. These names are sold in a continuous running auction. We will talk more about this system a little later on.
|
||||
|
||||
If you’re a programmer, you might recognize the LBRY blockchain as a _key-value store_. Each key, or name, corresponds to a value, or a metadata entry. Whichever party or parties bid the most LBC gets to control the metadata returned by a key lookup.
|
||||
|
||||
Here is a sample key-value entry in the LBRY blockchain. Here, wonderfullife is the key, and the rest of the description is the value.
|
||||
|
||||
<div class="code-bash">`
|
||||
|
||||
<pre style="white-space: pre-wrap;"> <span class="code-bash-kw1">wonderfullife</span> : {
|
||||
<span class="code-bash-kw2">title</span>: "It’s a Wonderful Life",
|
||||
<span class="code-bash-kw2">description</span>: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
|
||||
<span class="code-bash-kw2">thumbnail</span>: "http://i.imgur.com/MW45x88.jpg",
|
||||
<span class="code-bash-kw2">license</span>: "public domain",
|
||||
<span class="code-bash-kw2">price</span>: 0, <span class="code-bash-comment">//free!</span>
|
||||
<span class="code-bash-kw2">publisher</span>: "A Fan Of George Bailey", <span class="code-bash-comment">//simplification</span>
|
||||
<span class="code-bash-kw2">sources</span>: { <span class="code-bash-comment">//extensible, variable list</span>
|
||||
<span class="code-bash-kw2">lbry_hash</span> : <unique id>,
|
||||
<span class="code-bash-kw2">url</span> : <url>
|
||||
}
|
||||
}</pre>
|
||||
|
||||
`</div>
|
||||
|
||||
<div class="meta text-center content-inset">
|
||||
|
||||
A slightly simplified sample entry of metadata in the LBRY blockchain. Whichever party or parties bid the most in an ongoing auction control what a name returns.
|
||||
|
||||
</div>
|
||||
|
||||
Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. We’ve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for offchain settlement.
|
||||
|
||||
The LBRY blockchain simply maintains LBC balances and a content namespace/catalogue. The next part, LBRYnet, specifies what to do with this data. To compare to the existing web, the blockchain is like the domain system (it maintains a listing of what is available), while the next piece makes it possible to actually fetch and pay for content.
|
||||
|
||||
<footer>If you’re a Bitcoiner wondering why we don’t use the Bitcoin blockchain, you can read a detailed answer to that question [here](https://blog.lbry.io/why-doesnt-lbry-just-use-bitcoin/).</footer>
|
||||
|
||||
#### Part B: The Data Network (LBRYNet)
|
||||
|
||||
LBRYNet is the layer that makes the LBRY blockchain useful beyond a simple payment system. It says what to do with the information available in the LBRY blockchain, how to issue payments, how to look up a content identifier, and so on.
|
||||
|
||||
To use the LBRY network, a user’s computer needs the capacity to speak LBRY. That layer is LBRYNet. Just as your computer has a library that enables it to understand HTTP, DNS, and other languages and protocols, LBRYNet is the piece of software that allows your computer to understand how to interact with the LBRY network.
|
||||
|
||||
To understand what role LBRYNet plays, let’s drill a little more into a sample user interaction. Once a user has affirmed access and purchase, such as in step 5 of our Sample Use above, the following happens:
|
||||
|
||||
1. LBRYNet issues a lookup for the name associated with the content. If the client does not have a local copy of the blockchain, this lookup is broadcast to miners or to a service provider. This lookup acquires the metadata associated with the name.
|
||||
2. LBRYNet issues any required payments, as instructed by metadata entries.
|
||||
1. If the content is set to free, nothing happens here.
|
||||
2. If the content is set to have a price in LBC, the client must issue a payment in LBC to the specified address. If the content is published encrypted, LBRYNet will not allow access until this payment has been issued.
|
||||
3. If the content is set to have another payment method, the seller must run or use a service that provides a private server enforcing payment and provisioning accessing keys.
|
||||
3. Simultaneous to #2, LBRYNet uses the metadata to download the content itself.
|
||||
1. The metadata allows chunks to be discovered and assembled in a BitTorrent-like fashion. However, unlike BitTorrent, chunks do not individually identify themselves as part of a greater whole. Chunks are just arbitrary pieces of data.
|
||||
2. If LBRYNet cannot find nodes offering chunks for free, it will offer payments for chunks to other hosts with those chunks.
|
||||
3. This payment is not done via proof-of-bandwidth, or third-party escrow. Instead, LBRYNet uses reputation, trust, and small initial payments to ensure reliable hosts.
|
||||
4. If content is not published directly to LBRY, the metadata can instruct other access methods, such as a Netflix URL. This allows us to catalogue content not yet available on LBRY as well as offer legacy and extensibility purposes.
|
||||
|
||||
### Layer 2: Services
|
||||
|
||||
Services are what actually make the LBRY protocol _useful._ While the LBRY protocol determines what is possible, it is the services that actually do things.
|
||||
|
||||
While the protocol is determined, open, and fixed, the service layer is much more flexible. It is far easier to redesign a website than it is to revise the HTTP protocol itself. The same is true here.
|
||||
|
||||
Additionally, just as in the early days of the internet the later direction of web would have been unfathomable, so too may the best uses of LBRY’s namespace or technology be undiscovered. However, here are some clear uses.
|
||||
|
||||
#### Applications and Devices
|
||||
|
||||
A LBRY application is how a user would actually have meaningful interactions with the LBRY network. A LBRY client packages the power of the LBRY protocol into a simple application that allows the user to simply search for content, pay for it when necessary, download and enjoy.
|
||||
|
||||
Additionally, a LBRY client can allow users to passively participate in the network, allowing them to automatically earn rewards in exchange for contributing bandwidth, disk space, or processing power to the overall network.
|
||||
|
||||
Applications beyond a traditional computer based browser are possible as well. A LBRY television dongle, a LBRY radio, and any number of existing content access mechanisms can be implemented via an analogous LBRY device.
|
||||
|
||||
#### Content Discovery
|
||||
|
||||
Although the namespace provided by the LBRY protocol is helpful towards discovery, much as the web would be much less useful without search engines or aggregators, LBRY needs it’s own discovery mechanisms.
|
||||
|
||||
Search features can be constructed from the catalogue of metadata provided in the blockchain as well as the content transaction history available in the blockchain or observed on the network. All of this data, along with user history, allows for the creation of content recommendation engines and advanced search features.
|
||||
|
||||
Discovery on LBRY can also take the form of featured content. Clients can utilize featured content to provide additional visibility for new content that consumers might not otherwise be looking for.
|
||||
|
||||
#### Content Distribution
|
||||
|
||||
Digital content distributors with server-client models are subject to the whims of internet service providers and hostile foreign governments. Traffic from the host servers can be throttled or halted altogether if the owners of cables and routers so choose. However, in case of the LBRY protocol content comes from anywhere and everywhere, and is therefore not so easily stifled.
|
||||
|
||||
Additionally, the market mechanisms of LBRY create a strong incentive for efficient distribution, which will save the costs of producers and ISPs alike. These properties, along with LBRY’s infringement disincentivizing properties, make LBRY an appealing technology for large existing data or content distributors.
|
||||
|
||||
#### Transaction Settlement
|
||||
|
||||
While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of offchain settlement.
|
||||
|
||||
Essentially, rather than issue a transaction to the core blockchain, transactions are issued to a 3rd-party provider. These providers have a substantial number of coins which are used to maintain balances internally and settle a smaller number of transactions to the core chain. In exchange, these providers earn a small fee, less than the fee required to issue the transaction directly to the blockchain.
|
||||
|
||||
## LBRY Credits
|
||||
|
||||
LBRY Credits, or _LBC_, are the unit of account for LBRY. Eventually 1,000,000,000 LBC will exist, according to a defined schedule over 20 years. The schedule decays exponentially, with around 100,000,000 in the first year.
|
||||
|
||||
Additionally, some credits are awarded on a fixed basis. The total break down looks like this:
|
||||
|
||||
* 10% are used to peg LBC to Bitcoin, likely via a sidechain. This will allow LBRY to leverage the security of the Bitcoin blockchain, and incentive adoption from Bitcoin users.
|
||||
* 10% for organizations, charities, and other strategic partners. Organizations the EFF, ACLU, and others that have fought for digital rights and the security and freedom of the internet.
|
||||
* 10% for adoption programs. We’ll be giving out lots of bonus credits, especially in the early days of LBRY, in order to encourage participation. We will also look to award credits broadly, ensuring the marketplace is egalitarian.
|
||||
* 10% for us. For operational costs as well as profit.
|
||||
* 60% earned by LBRY users, via mining the LBRY cryptocurrency.
|
||||
|
||||
## More on Naming
|
||||
|
||||
LBRY names are one of the most unique aspects of LBRY and one that we believe will play a big role in helping it succeed.
|
||||
|
||||
Control of a LBRY name is awarded via a _continuous running auction_ in LBC. Bids are entered into a _trustless escrow_, marking the credits as unspendable, but leaving them intact. When a user looks up a name, the name resolves to the largest bid made by a party or parties. The ability for any number of people to have a say in where a name resolves is part of what makes LBRY a system controlled by its users. As the credits are distributed primarily among users and producers, it is community itself that has ultimate controls over the catalogue of what is available.
|
||||
|
||||
Additionally, bids can also be retracted at any time, even if you’re the current winning bidder. To prevent a name from rapidly switching between multiple resolutions, the parties that have existing control of a name have a reasonable period of time to respond to counter bids before a name’s resolution switches.
|
||||
|
||||
It’s possible this system sounds like chaos to you, but we’re betting on a Nobel-prize winning result that predicts the opposite. Economist Ronald Coase theorized that in a system with low transaction cost and clear rules, property will be held by those who value it the most. Since LBRY names are the equivalent to content storefronts, we believe that LBRY names will hold the most value to rightsholders who produce content associated with a given name.
|
||||
|
||||
As names in demand on LBRY will be more expensive, the names themselves will also serve as a signal of reputation, legitimacy, and quality. If a user searches LBRY for _Spider Man_ and sees one at lbry://spiderman and one at lbry://spiderman_russhaxor, there will be little doubt that the latter is less legitimate.
|
||||
|
||||
<footer>
|
||||
|
||||
It is also worth noting that in the event that LBRY received notice that either name contained an illegitimate copy of _Spider Man_, LBRY would dutifully and quickly put that content id on a blacklist, blocking discovery or purchase via any legal services. LBRY and users of LBRY are still subject to the DMCA and other relevant laws of their respective countries.
|
||||
|
||||
</footer>
|
||||
|
||||
## Combatting The Ugly
|
||||
|
||||
As neither naïfs nor knaves, we acknowledge that LBRY can be used for bad ends. Technology is frequently this way. Encryption protects our privacy -- as well as that of terrorists. Cars allow us to travel marvelous distances -- and kill millions per year.
|
||||
|
||||
The downside to LBRY is that it can be used to exchange illegal content. However, several factors of LBRY make illicit usage less likely than it may seem at first consideration. On the whole, as with the car and encryption, the benefits of LBRY clearly outway nefarious uses.
|
||||
|
||||
To evaluate a technology’s effect, we must consider where it moves us from the current state of affairs, not judge against a Platonic ideal or past eta. In assessing LBRY, we must compare it to a world in which BitTorrent already exists and is quite popular, not the 1950s. LBRY is an improvement over BitTorrent in combatting unsavory content in at least five ways:
|
||||
|
||||
1. **More records.** LBRY contains a public ledger of transactions recording name purchases and content publishings. As many purchases make it onto the ledger as well, this means infringing actions are frequently recorded _forever,_ or are at a minimum widely observable.
|
||||
2. **Unilateral removal.** The LBRY naming system allows for quick, unilateral acquisition of infringing URIs. Once a BitTorrent magnet hash is in the wild, there is no mechanism to update or alter its resolution whatsoever. If a LBRY name is pointing to infringing content, it can be seized according to clear rules.
|
||||
3. **Blacklists**. LBRY will publish and maintain a blacklist of infringing names. All clients we release and all legal clients will have to follow our blacklist, or one like it, or face substantial penalties. Especially because…
|
||||
4. **Stiffer penalties.** Penalties for profiting off of infringement are far stronger and involve can involve jail time, while infringement without profit only results in statutory damages. This serves as a far stronger deterrent for all infringing uses than BitTorrent provides.
|
||||
5. **Expensive or impossible.** Offchain settlement will be a requirement for efficient purchases at any significant network size. Settlement providers, ourselves included, will be able to block purchases for infringing content. At significant traffic volume, if infringing content can’t be outright removed or blocked, transaction fees will make it prohibitively expensive.
|
||||
|
||||
And of course, let’s not forget that LBRY users are still subject to the DMCA and other laws governing intellectual property. Users who publishing infringing content are still subject to penalties for doing so in exactly the same way they would be via BitTorrent. LBRY only adds to the suite of options available. This makes LBRY a strict improvement over BitTorrent with regards to illegal usages, which provides none of the mechanisms listed.
|
||||
|
||||
## Our Values
|
||||
|
||||
We want to be the first digital content marketplace to:
|
||||
|
||||
1. **Treat users like adults** LBRY doesn’t play nanny. It encourages individual people to express their own preferences, rather than force our own onto them. We enable consumers to make their own choices about where and who they want to purchase digital content from.
|
||||
2. **Operate openly, inclusively, and transparently** Anyone can publish or interact with the LBRY network. No one needs permission from us or anyone else. LBRY encourages all parties to participate in the network, rather than the creation of walled gardens. LBRY is a completely open specification and all code is open source.
|
||||
3. **Prove decentralization doesn’t mean infringement** Existing decentralized publishing protocols offer no way for rightsholders to combat or capture profits from illegally shared content. LBRY’s service layer, blacklisting mechanisms, and naming system all improve the status quo.
|
||||
4. **Acknowledge modern digital realities and ethical norms** Prohibition has failed at every turn and in every iteration. Regulating human behavior only works when it aligns with moral norms that are shared by the majority of the population. If it is impossible to keep drugs out of prisons, it will never be possible to enforce copyright via analogous tactics on the infinitely less-controlled internet. Instead, focus on enticement. While legal compliance is paramount, concentrate as much as possible on making a system that relies more on giving people no excuse to do the wrong thing.
|
||||
5. **Collect no rent**. Whatever an artist or creator charges for their work should go to them. Distributing bits is exceedingly simple. There’s no need to give 45% to YouTube or 30% to Apple. Collecting no rent isn’t just a promise, it’s hard coded. The nature of LBRY means this could never be done -- by us or anyone else.
|
||||
|
||||
## TL;DR
|
||||
|
||||
Digital art is one of the first goods to evolve beyond scarcity. This evolution is changing the way content is discovered, publicized, paid for and delivered. Heretofore, the lack of transparency and monetization mechanisms in peer-to-peer sharing networks has largely enabled piracy. By equipping a peer-to-peer protocol with a digital currency and transparent decentralized ledger, the LBRY protocol opens the door to a new era of digital content distribution making peer-to-peer content distribution suitable for major publishing housing, self-publishers and everyone in between.
|
||||
|
||||
If LBRY succeeds, we will enter a world that is even more creative, connected, and conservatory. We will waste less and we make more. We will create a world where a teenager in Kenya and a reality star in Los Angeles use the same tool to search the same network and have access to the same results -- a world where information, knowledge, and imagination know no borders.
|
||||
|
||||
Build our dream with us. Download LBRY at [lbry.io/get](https://lbry.io/get).
|
|
@ -29,8 +29,9 @@ class View
|
|||
|
||||
list($module, $view) = explode('/', $template);
|
||||
|
||||
$isPartial = $view[0] === '_';
|
||||
$actionClass = ucfirst($module) . 'Actions';
|
||||
$method = 'prepare' . ucfirst($view);
|
||||
$method = 'prepare' . ucfirst(ltrim($view, '_')) . ($isPartial ? 'Partial' : '');
|
||||
|
||||
if (method_exists($actionClass, $method))
|
||||
{
|
||||
|
@ -62,7 +63,7 @@ class View
|
|||
|
||||
protected static function getFullPath($template)
|
||||
{
|
||||
return ROOT_DIR . '/view/' . $template . '.php';
|
||||
return ROOT_DIR . '/view/template/' . $template . '.php';
|
||||
}
|
||||
|
||||
public static function imagePath($image)
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<?php Response::setMetaDescription('Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="hero hero-quote hero-img spacer2" style="background-image: url(/img/frontdesk.jpg)">
|
||||
<div class="hero-content-wrapper">
|
||||
<div class="hero-content blog-header">
|
||||
<h1>The Front Desk</h1>
|
||||
<p>News and musings from the LBRY team.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content post-list">
|
||||
<?php foreach($posts as $post): ?>
|
||||
<div>
|
||||
<a href="/blog/<?php echo $post->getSlug() ?>"><?php echo $post->getTitle() ?></a>
|
||||
<span title="<?php echo $post->getDate()->format('F jS, Y') ?>"><?php echo $post->getDate()->format('M j') ?></span>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</section>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -1,74 +0,0 @@
|
|||
<?php Response::setMetaDescription($post->getTitle()) ?>
|
||||
<?php echo View::render('nav/header') ?>
|
||||
<main class='blog-post'>
|
||||
|
||||
<header class="content">
|
||||
<a href="/blog"><< Return to LBRY Front Desk</a>
|
||||
</header>
|
||||
|
||||
<div class="content">
|
||||
<div class="date" title="<?php echo $post->getDate()->format('F jS, Y') ?>">
|
||||
<?php echo $post->getDate()->format('M j') ?>
|
||||
</div>
|
||||
<h1><?php echo htmlentities($post->getTitle()) ?></h1>
|
||||
<?php echo $post->getContentHtml() ?>
|
||||
</div>
|
||||
|
||||
<nav class="content prev-next row-fluid">
|
||||
<div class="prev span5">
|
||||
<?php if ($prevPost = $post->getPrevPost()): ?>
|
||||
<div class="prev-next-label">
|
||||
<a href="/blog/<?php echo $prevPost->getSlug() ?>"><< Previous</a>
|
||||
</div>
|
||||
<a class="prev-next-title" href="/blog/<?php echo $prevPost->getSlug() ?>">
|
||||
<?php echo htmlentities($prevPost->getTitle()) ?>
|
||||
</a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="next span2"></div>
|
||||
<div class="next span5">
|
||||
<?php if ($nextPost = $post->getNextPost()): ?>
|
||||
<div class="prev-next-label">
|
||||
<a href="/blog/<?php echo $nextPost->getSlug() ?>">Next >></a>
|
||||
</div>
|
||||
<a class="prev-next-title" href="/blog/<?php echo $nextPost->getSlug() ?>">
|
||||
<?php echo htmlentities($nextPost->getTitle()) ?>
|
||||
</a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section class="author">
|
||||
<div class="content">
|
||||
<em>Author</em>
|
||||
<?php switch(strtolower($post->getAuthor())):
|
||||
case 'jeremy' ?>
|
||||
<h2>Jeremy Kauffman</h2>
|
||||
<p>
|
||||
Jeremy is the creator of TopScore (usetopscore.com), LBRY (lbry.io), and that joke where the first two items in your list are serious while the third one is a run-on sentence.
|
||||
</p>
|
||||
<?php break ?>
|
||||
<?php case 'mike': ?>
|
||||
<h2>Mike Vine</h2>
|
||||
<?php break ?>
|
||||
<?php case 'jimmy': ?>
|
||||
<h2>Jimmy Kiselak</h2>
|
||||
<?php break ?>
|
||||
<?php case 'jack': ?>
|
||||
<h2>Jack Robison</h2>
|
||||
<p>
|
||||
Jack was one of the first people to discover LBRY and took to it so fast he may understand more about it than anyone. He has Asperger's Syndrome and is actively involved in the autism community.
|
||||
</p>
|
||||
<?php break ?>
|
||||
<?php case 'lbry': ?>
|
||||
<h2>Samuel Bryan</h2>
|
||||
<p>
|
||||
Much of our writing is a collaboration between LBRY team members, so we use SamueL BRYan to share credit. Sam has become a friend... an imaginary friend... even though we're adults...
|
||||
</p>
|
||||
<?php break ?>
|
||||
<?php endswitch ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -1,4 +0,0 @@
|
|||
<div class="spacer1">
|
||||
<em>This is a pre-release, alpha version of LBRY.</em> It is only designed to show what LBRY makes possible.
|
||||
Future releases will involve a full network reboot.
|
||||
</div>
|
|
@ -1,9 +0,0 @@
|
|||
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
|
||||
<p>
|
||||
Regardless of whether you got LBRY to run or not, your feedback is immensely valuable.
|
||||
Everyone who made <em>any</em> effort to install and complete the survey below will receive <?php echo i18n::formatCredits($reward) ?>*.
|
||||
</p>
|
||||
<div class="meta spacer1">
|
||||
*What is this worth? Who knows! But it will be the largest reward we will <strong>ever</strong> offer to early adopters.
|
||||
</div>
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
<?php NavActions::setNavUri('/get') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
|
||||
<main class="column-fluid">
|
||||
<div class="span6">
|
||||
<div class="cover cover-light content">
|
||||
<?php echo $installHtml ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
|
||||
<div class="cover cover-dark cover-dark-grad content content-dark">
|
||||
<h1>Test and Earn</h1>
|
||||
<?php echo View::render('get/feedback-prompt') ?>
|
||||
<h3>Test Your Install</h3>
|
||||
<ol>
|
||||
<li>Double click the app (LBRY will open in your browser)</li>
|
||||
<li>Search and stream <code>wonderfullife</code></li>
|
||||
<li>Continue to play as you desire</li>
|
||||
</ol>
|
||||
<h3>Feedback</h3>
|
||||
<p>
|
||||
In addition to <?php echo i18n::formatCredits($reward) ?>, your feedback will be personally read by the developers and help signal
|
||||
interest in LBRY to investors.
|
||||
</p>
|
||||
<a href="/feedback" class="btn-alt">Provide Your Feedback</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -1,60 +0,0 @@
|
|||
<?php Response::setMetaDescription('Download or install the latest version of LBRY.') ?>
|
||||
<?php Response::setMetaTitle(__('Get LBRY')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main class="column-fluid">
|
||||
<div class="span6">
|
||||
<div class="cover cover-dark cover-dark-grad">
|
||||
<div class="content content-dark">
|
||||
<div class="meta meta-large">
|
||||
<span class="icon-linux"></span> <span class="icon-apple"></span>
|
||||
</div>
|
||||
<h1><?php echo __('I use OS X or Linux and am prepared to have my world rocked.') ?></h1>
|
||||
<p class="pflow">Earn early adopter rewards for downloading our Alpha client.</p>
|
||||
<div class="spacer1">
|
||||
<?php echo View::render('mail/joinList', [
|
||||
'submitLabel' => 'Go',
|
||||
'listId' => Mailchimp::LIST_GENERAL_ID,
|
||||
'mergeFields' => ['CLI' => 'Yes'],
|
||||
'fbEvent' => 'Alpha',
|
||||
'returnUrl' => '/get?email=1',
|
||||
'btnClass' => 'btn-alt'
|
||||
]) ?>
|
||||
</div>
|
||||
<?php if (!$isSubscribed): ?>
|
||||
<div class="meta">
|
||||
Already signed up or really hate sharing your email? <a href="/get?email=1" class="link-primary">Click here.</a>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="content-inset">
|
||||
<ul class="no-style">
|
||||
<li>
|
||||
<a href="/linux" class="link-primary"><span class="icon-linux"></span> Linux</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/osx" class="link-primary"><span class="icon-apple"></span> OS X</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="cover cover-light">
|
||||
<div class="content">
|
||||
<div class="meta meta-large">
|
||||
<span class="icon-mobile"></span> <span class="icon-windows"></span> <span class="icon-android"></span>
|
||||
</div>
|
||||
<h1><?php echo __('I want LBRY for mobile or Windows and would like my world-rocking at the earliest possible convenience.') ?></h1>
|
||||
<p class="pflow">LBRY is coming out on your favorite platform soon. Join our list to know when.</p>
|
||||
<?php echo View::render('mail/joinList', [
|
||||
'submitLabel' => 'Go',
|
||||
'returnUrl' => '/get',
|
||||
'listId' => Mailchimp::LIST_GENERAL_ID,
|
||||
'mergeFields' => ['CLI' => 'No'],
|
||||
]) ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -1,71 +0,0 @@
|
|||
<div class="bg-image-full" style="background-image: url(/img/cover-home2.jpg)"></div>
|
||||
<?php Response::setMetaTitle(__('LBRY - Watch, Share, Earn')) ?>
|
||||
<?php Response::setMetaDescription(__('Learn about LBRY, a peer-to-peer, decentralized content marketplace.')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => true]) ?>
|
||||
<main class="column-fluid">
|
||||
<div class="span12">
|
||||
<div class="cover cover-dark">
|
||||
<div class="content content-wide content-dark">
|
||||
<div class="text-center">
|
||||
<h1 class="cover-title">Stream, Share, Earn.</h1>
|
||||
</div>
|
||||
<?php $labels = [
|
||||
__('making history'),
|
||||
__('empowering artists'),
|
||||
__('spreading knowledge'),
|
||||
__('sharing sustainably'),
|
||||
__('protecting speech'),
|
||||
__('building tomorrow'),
|
||||
__('eliminating middlemen'),
|
||||
__('furthering education'),
|
||||
] ?>
|
||||
<?php shuffle($labels) ?>
|
||||
<div class="sale-call ">
|
||||
<span class="sale-call-verb"><?php echo __('Join') ?></span>
|
||||
<span class="sale-call-total-people"><?php echo $totalPeople ?></span>
|
||||
<span class="sale-call-prep">others in</span>
|
||||
<span class="sale-ctas label-cycle" data-cycle-interval="5000">
|
||||
<span class="sale-cta"><?php echo implode('</span><span class="sale-cta">', $labels) ?></span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="control-group spacer2 text-center">
|
||||
<div class="control-item">
|
||||
<a href="/fund" class="btn-primary">Fund LBRY</a>
|
||||
</div>
|
||||
<div class="control-item">
|
||||
<a href="/learn" class="btn-alt">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="video" style="margin-bottom: 80px">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/qMUbq3sbG-o?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="row-fluid content-constrained">
|
||||
<div class="span6 text-center">
|
||||
<div class="fb-page" data-href="https://www.facebook.com/lbryio" data-height="300" data-small-header="false" data-width="400"
|
||||
data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true">
|
||||
<div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/lbryio"><a href="https://www.facebook.com/lbryio">LBRY</a></blockquote></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6 text-center">
|
||||
<a width="400" class="twitter-timeline" href="https://twitter.com/LBRYio" data-widget-id="671104143034073088">Tweets by @LBRYio</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php /*
|
||||
* <h1>Stream, Share, Earn.</h1>
|
||||
<div class="text-center">
|
||||
<h3 class="cover-subtitle">Join a fully distributed network that makes information open to everyone.</h3>
|
||||
<div class="control-group spacer1">
|
||||
<div class="control-item">
|
||||
<a href="/get" class="btn-primary">Get LBRY</a>
|
||||
</div>
|
||||
<div class="control-item">
|
||||
<a href="/what" class="btn-alt">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
*/ ?>
|
|
@ -1,67 +0,0 @@
|
|||
<div class="bg-image-full" style="background-image: url(/img/cover-home2.jpg)"></div>
|
||||
<?php Response::setMetaTitle(__('LBRY - Watch, Share, Earn')) ?>
|
||||
<?php Response::setMetaDescription(__('Meet LBRY, a peer-to-peer, decentralized content marketplace.')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => true]) ?>
|
||||
<main class="column-fluid">
|
||||
<div class="span12">
|
||||
<div class="cover cover-dark">
|
||||
<div class="content content-wide content-dark">
|
||||
<div class="text-center">
|
||||
<h1 class="cover-title">Stream, Share, Earn.</h1>
|
||||
</div>
|
||||
<?php $labels = [
|
||||
__('making history'),
|
||||
__('empowering artists'),
|
||||
__('spreading knowledge'),
|
||||
__('sharing sustainably'),
|
||||
__('protecting speech'),
|
||||
__('building tomorrow'),
|
||||
__('eliminating middlemen'),
|
||||
__('furthering education'),
|
||||
] ?>
|
||||
<?php shuffle($labels) ?>
|
||||
<div class="sale-call ">
|
||||
<span class="sale-call-verb"><?php echo __('Join') ?></span>
|
||||
<span class="sale-call-total-people"><?php echo $totalPeople ?></span>
|
||||
<span class="sale-call-prep">others in</span>
|
||||
<span class="sale-ctas label-cycle" data-cycle-interval="5000">
|
||||
<span class="sale-cta"><?php echo implode('</span><span class="sale-cta">', $labels) ?></span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="control-group spacer2 text-center">
|
||||
<div class="control-item">
|
||||
<a href="/get" class="btn-primary">Get LBRY</a>
|
||||
</div>
|
||||
<div class="control-item">
|
||||
<a href="/learn" class="btn-alt">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="video" style="margin-bottom: 80px">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/BNtivEJKHxI" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="row-fluid content-constrained">
|
||||
<div class="span4">
|
||||
<h3><strong><?php echo __('Get Updates') ?></strong></h3>
|
||||
<?php echo View::render('mail/joinList', [
|
||||
'submitLabel' => 'Go',
|
||||
'listId' => Mailchimp::LIST_GENERAL_ID,
|
||||
'mergeFields' => ['CLI' => 'No'],
|
||||
'meta' => true,
|
||||
'returnUrl' => '/',
|
||||
'btnClass' => 'btn-alt'
|
||||
]) ?>
|
||||
</div>
|
||||
<div class="span4 text-center">
|
||||
<div class="fb-page" data-href="https://www.facebook.com/lbryio" data-height="300" data-small-header="false" data-width="300"
|
||||
data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true">
|
||||
<div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/lbryio"><a href="https://www.facebook.com/lbryio">LBRY</a></blockquote></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span4 text-center">
|
||||
<a width="300" class="twitter-timeline" href="https://twitter.com/LBRYio" data-widget-id="671104143034073088">Tweets by @LBRYio</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
|
@ -1,22 +0,0 @@
|
|||
<?php Response::setMetaDescription('Download/install the latest version of LBRY for Linux.') ?>
|
||||
<?php ob_start() ?>
|
||||
<h1>Install LBRY on Linux <span class="icon-linux"></span></h1>
|
||||
<?php echo View::render('get/alphaNotice') ?>
|
||||
<div class="meta text-center">Choose your install level.</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h3>Casuals</h3>
|
||||
<p>
|
||||
<a class="btn-primary" download href="//lbry.io/lbry-linux-latest.deb">Download .deb</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<h3><strike>Masochists</strike> Professionals</h3>
|
||||
<ol>
|
||||
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbryum" class="link-primary">lbryum</a>, a lightweight client for LBRY.</li>
|
||||
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbry" class="link-primary">lbry</a>, a console based application for using the LBRY protocol.</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
<?php $html = ob_get_clean() ?>
|
||||
<?php echo View::render('get/getSharedApp', ['installHtml' => $html]) ?>
|
|
@ -1,4 +0,0 @@
|
|||
<?php if ($_GET['selectedItem']): ?>
|
||||
<?php NavActions::setNavUri($_GET['selectedItem']) ?>
|
||||
<?php endif ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
|
@ -1,12 +0,0 @@
|
|||
<?php Response::setMetaDescription('Download/install the latest version of LBRY for OS X.') ?>
|
||||
<?php ob_start() ?>
|
||||
<h1>Install LBRY on OS X <span class="icon-apple"></span></h1>
|
||||
<?php echo View::render('get/alphaNotice') ?>
|
||||
<p>
|
||||
<a class="btn-primary" href="//lbry.io/lbry-osx-latest.dmg">Download for OS X</a>
|
||||
</p>
|
||||
<p class="meta">Or, view the source and compile instructions on
|
||||
<a href="https://github.com/lbryio/lbry-setup/blob/master/README_OSX.md" class="link-primary">GitHub</a>.
|
||||
</p>
|
||||
<?php $html = ob_get_clean() ?>
|
||||
<?php echo View::render('get/getSharedApp', ['installHtml' => $html]) ?>
|
|
@ -10,7 +10,7 @@ Perhaps the most-asked question we receive is: Why have you created LBC, rather
|
|||
|
||||
There are three important reasons why we must use LBC instead of Bitcoin. Some of it is highly technical, so please bear with us as we attempt to translate into plain English.
|
||||
|
||||
**Reason #1 – Using LBC instead of Bitcoin makes verifying content ownership possible for lightweight clients.**
|
||||
### Reason #1 – Using LBC instead of Bitcoin makes verifying content ownership possible for lightweight clients.
|
||||
|
||||
In blockchain-based systems, data (in the case of Bitcoin, transactions) are grouped into multiple packages called blocks. These blocks are “chained” one after another to form the public ledger known as the blockchain. Each block starts with a block header, a comparatively tiny piece of data, which has some metadata about the block such as the time it was mined and a reference to the block that came before it. That metadata also includes a cryptographic value which can be used to prove to someone who doesn’t have (or want) the whole block, but has all of the block headers, that a given transaction was included in that block and therefore into the blockchain. This is used by so-called *lightweight clients*, which make it possible for people to use bitcoin on devices that wouldn’t be able to handle the full blockchain, like web browsers and smartphones.
|
||||
|
||||
|
@ -18,7 +18,7 @@ LBC block headers contain an additional piece of information: a value which can
|
|||
|
||||
This is necessary for LBRY because unlike systems built on Bitcoin or other existing altcoins, LBRY’s naming system assigns ownership over content through an ongoing auction. Whoever pledges the most credits against a name holds it, subject to a defined window for a counter-bid. These bids are stored in a special tree-shaped data structure on the hard drives of all miners. Whenever the winning bid for a name changes, that change has an effect which spreads all the way up the tree and into the special piece of information stored in LBC block headers.
|
||||
|
||||
**Reason #2 – LBRY could easily overwhelm the maximum transaction volume allowed by Bitcoin.**
|
||||
### Reason #2 – LBRY could easily overwhelm the maximum transaction volume allowed by Bitcoin.
|
||||
|
||||
LBRY intends to thrive on microtransactions that are looking increasingly implausible with Bitcoin. By now, everyone interested in cryptocurrency is all-too-intimately familiar with the limitations of Bitcoin’s current block size. Currently, Bitcoin has a limit of one megabyte of data per block. If enough transactions happen over the network that the one-megabyte limit is reached, all additional transactions are considerably delayed. That’s why we’re currently seeing reports of transaction times in the high double-digits.
|
||||
|
||||
|
@ -26,7 +26,7 @@ The problem is a double bind. If the block size stays low, then transactions gri
|
|||
|
||||
If LBRY starts growing exponentially, we don’t want to worry about contributing to the delinquency of the Bitcoin blockchain by overwhelming it with microtransactions. And in the immediate future, we don’t want to see payments to artists eaten up by Bitcoin’s rising fees.
|
||||
|
||||
**Reason #3 - Decentralization and independence are good for progress.**
|
||||
### Reason #3 - Decentralization and independence are good for progress.
|
||||
|
||||
One of the main draws of Bitcoin has always been its relative decentralization of control and independence from existing legal and financial systems. Similarly, using LBC as an “appcoin” gives LBRY some healthy autonomy from Bitcoin while allowing for the technical innovations explained above.
|
||||
|
||||
|
@ -36,7 +36,7 @@ In the early days of our protocol, LBRY Inc. will be making a concerted effort t
|
|||
|
||||
Bitcoin was created as a grand experiment to demonstrate blockchain technology and liberate the world from legacy banking, but it couldn’t possibly have been designed to be all things to all applications. We believe our appcoin is the best tool to succeed at our mission of putting every film, song, book, and game ever made onto a blockchain – without trying to displace Bitcoin as a global currency.
|
||||
|
||||
**Wait! This is also relevant to your interests:**
|
||||
### Wait! This is also relevant to your interests
|
||||
|
||||
Converting from fiat money to cryptocash is hard. But converting between cryptos is super-easy, especially since the launch of [ShapeShift.io](http://www.shapeshift.io/). So LBRYians can earn LBC and quickly convert it to BTC to save or spend. And Bitcoiners can easily convert a bit of their holdings to LBC to get great content on the LBRY network.
|
||||
|
|
@ -6,7 +6,7 @@ date: '2016-03-21 20:06:18'
|
|||
|
||||
Understanding autism is personal for us.
|
||||
|
||||
<img src="http://i.imgur.com/gDip22e.jpg" alt="Built for Artists by Autists: LBRY Takes Autism Personally">
|
||||

|
||||
|
||||
A recent New York Times [op-ed](http://well.blogs.nytimes.com/2016/03/18/an-experimental-autism-treatment-cost-me-my-marriage/) by John Elder Robison tells the story of his life before and after taking part in a groundbreaking experiment into using an innovative electromagnetic therapy to perhaps remediate a core disability of autism. Robison, who is on the autism spectrum had a successful career and family life, but nevertheless faced personal challenges and decided to try TMS, or transcranial magnetic stimulation, to gain greater insight into the emotional cues and nonverbal communications of other people. Researchers hoped to gain better insight into how TMS might help address these challenges. Robison hopes these insights will one day form the basis of therapies, and he himself experienced great rewards - even from this early stage experiment. The treatment granted him the ability to better read and feel emotions, but it was quite a ride. His marriage fell apart, and many of his personal relationships became strained for years. Conversely, with new eyes, he formed many new relationships, he re-married, and many others relationships grew stronger.
|
||||
|
14
view/template/blog/_author.php
Normal file
14
view/template/blog/_author.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<section class="post-author-spotlight cover cover-dark cover-dark-grad">
|
||||
<div class="content content-dark">
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<img src="/img/<?php echo $photoImgSrc ?>" alt="<?php echo __('Photo of %name%', ['%name%' => $authorName]) ?>"/>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div class="meta">Author</div>
|
||||
<h3><?php echo $authorName ?></h3>
|
||||
<?php echo $authorBioHtml ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
24
view/template/blog/index.php
Normal file
24
view/template/blog/index.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php Response::setMetaDescription('Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="hero hero-quote hero-img spacer2" style="background-image: url(/img/cover-team.jpg)">
|
||||
<div class="hero-content-wrapper">
|
||||
<div class="hero-content text-center">
|
||||
<h1 class="cover-title">The Front Desk</h1>
|
||||
<h2 class="cover-subtitle">News and musings from the LBRY team.</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content content-readable spacer2">
|
||||
<?php foreach($posts as $post): ?>
|
||||
<div class="spacer1">
|
||||
<h3><a href="<?php echo $post->getRelativeUrl() ?>" class="link-primary"><?php echo $post->getTitle() ?></a></h3>
|
||||
<div class="meta clearfix" title="<?php echo $post->getDate()->format('F jS, Y') ?>">
|
||||
<span class="align-left"><?php echo $post->getDate()->format('M j, Y') ?></span>
|
||||
<span class="align-right"><?php echo $post->getAuthorName() ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</section>>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
51
view/template/blog/post.php
Normal file
51
view/template/blog/post.php
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?php Response::setMetaDescription($post->getTitle()) ?>
|
||||
<?php echo View::render('nav/header') ?>
|
||||
<main>
|
||||
<div class="post-content">
|
||||
<section class="content spacer2">
|
||||
<h1><?php echo htmlentities($post->getTitle()) ?></h1>
|
||||
<div class="meta spacer1" title="<?php echo $post->getDate()->format('F jS, Y') ?>">
|
||||
<div class="clearfix">
|
||||
<div class="pull-left spacer1"><?php echo $post->getAuthorName() ?></div>
|
||||
<div class="pull-right spacer1"><?php echo $post->getDate()->format('M j') ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-content">
|
||||
<?php echo $post->getContentHtml() ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<nav class="content prev-next row-fluid">
|
||||
<div class="prev span6">
|
||||
<?php if ($prevPost = $post->getPrevPost()): ?>
|
||||
<div class="prev-next-label">
|
||||
<a href="<?php echo $prevPost->getRelativeUrl() ?>" class="link-primary">‹ Previous</a>
|
||||
</div>
|
||||
<div class="meta">
|
||||
<a href="<?php echo $prevPost->getRelativeUrl() ?>">
|
||||
<?php echo htmlentities($prevPost->getTitle()) ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="next span6">
|
||||
<?php if ($nextPost = $post->getNextPost()): ?>
|
||||
<div class="prev-next-label">
|
||||
<a href="<?php echo $nextPost->getRelativeUrl() ?>" class="link-primary">Next ›</a>
|
||||
</div>
|
||||
<div class="meta">
|
||||
<a class="prev-next-title" href="<?php echo $nextPost->getRelativeUrl() ?>">
|
||||
<?php echo htmlentities($nextPost->getTitle()) ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<?php echo View::render('blog/_author', [
|
||||
'post' => $post
|
||||
]) ?>
|
||||
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
5
view/template/download/_betaNotice.php
Normal file
5
view/template/download/_betaNotice.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div class="notice notice-info spacer1">
|
||||
<em>This is a pre-release, beta version of LBRY.</em>
|
||||
It may crash, work unreliably, or inadvertently put a curse on your family for generations (a common programming error).
|
||||
Use at your own risk.
|
||||
</div>
|
8
view/template/download/_feedbackPrompt.php
Normal file
8
view/template/download/_feedbackPrompt.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
|
||||
<p>
|
||||
Earn <?php echo i18n::formatCredits($reward) ?>* for completing the survey below after install.
|
||||
</p>
|
||||
<div class="meta spacer1">
|
||||
*What is this worth? Who knows! But it is the largest reward we will <strong>ever</strong> offer to early adopters.
|
||||
</div>
|
||||
|
18
view/template/download/_linux.php
Normal file
18
view/template/download/_linux.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<div class="meta text-center">Choose your install level.</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h3>Casuals</h3>
|
||||
<p>
|
||||
<a class="btn-primary" download href="//lbry.io/lbry-linux-latest.deb">Download .deb</a>
|
||||
</p>
|
||||
<div class="meta">Ubuntu, Debian, or any distro with <code>apt</code> or <code>dpkg</code>.</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<h3><strike>Masochists</strike> Professionals</h3>
|
||||
<ol>
|
||||
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbryum" class="link-primary">lbryum</a>, a lightweight client for LBRY.</li>
|
||||
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbry" class="link-primary">lbry</a>, a console based application for using the LBRY protocol.</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
22
view/template/download/_list.php
Normal file
22
view/template/download/_list.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php $title = isset($title) ? $title : __('Other Systems') ?>
|
||||
<div class="cover cover-light-alt cover-light-alt-grad content content-light">
|
||||
<h3><?php echo $title ?></h3>
|
||||
<?php $buckets = array_fill(0, 3, []) ?>
|
||||
<?php $columns = 2 ?>
|
||||
<?php $index = 0 ?>
|
||||
<?php foreach($osChoices as $osChoice): ?>
|
||||
<?php ob_start() ?>
|
||||
<?php list($url, $title, $icon) = $osChoice ?>
|
||||
<h4>
|
||||
<a href="<?php echo $url ?>" class="link-primary">
|
||||
<span class="<?php echo $icon ?> icon-fw"></span><?php echo $title ?>
|
||||
</a>
|
||||
</h4>
|
||||
<?php $buckets[floor($index++ / $columns)][] = ob_get_clean() ?>
|
||||
<?php endforeach ?>
|
||||
<?php foreach(array_filter($buckets) as $bucketRow): ?>
|
||||
<div class="row-fluid-always">
|
||||
<div class="span6"><?php echo implode('</div><div class="span6">', $bucketRow) ?></div>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</div>
|
6
view/template/download/_osx.php
Normal file
6
view/template/download/_osx.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<p>
|
||||
<a class="btn-primary" href="//lbry.io/lbry-osx-latest.dmg">Download for OS X</a>
|
||||
</p>
|
||||
<p class="meta">Or, view the source and compile instructions on
|
||||
<a href="https://github.com/lbryio/lbry-setup/blob/master/README_OSX.md" class="link-primary">GitHub</a>.
|
||||
</p>
|
30
view/template/download/_reward.php
Normal file
30
view/template/download/_reward.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
|
||||
<h3>Test and Earn</h3>
|
||||
<?php echo View::render('download/_feedbackPrompt') ?>
|
||||
<ol>
|
||||
<li>Open LBRY.</li>
|
||||
<li>Search and stream <code>wonderfullife</code>. Continue to play as you desire.</li>
|
||||
<li><a href="/feedback" class="btn btn-alt">Provide Your Feedback</a></li>
|
||||
</ol>
|
||||
<p>
|
||||
In addition to <?php echo i18n::formatCredits($reward) ?>, your feedback will be personally read by the developers and help signal
|
||||
interest in LBRY to investors.
|
||||
</p>
|
||||
<?php /*
|
||||
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
|
||||
<div class="cover cover-dark cover-dark-grad content content-dark">
|
||||
<h1>Test and Earn</h1>
|
||||
<?php echo View::render('download/feedback-prompt') ?>
|
||||
<h3>Test Your Install</h3>
|
||||
<ol>
|
||||
<li>Double click the app (LBRY will open in your browser)</li>
|
||||
<li>Search and stream <code>wonderfullife</code></li>
|
||||
<li>Continue to play as you desire</li>
|
||||
</ol>
|
||||
<h3>Feedback</h3>
|
||||
<p>
|
||||
In addition to <?php echo i18n::formatCredits($reward) ?>, your feedback will be personally read by the developers and help signal
|
||||
interest in LBRY to investors.
|
||||
</p>
|
||||
<a href="/feedback" class="btn-alt">Provide Your Feedback</a>
|
||||
</div> */ ?>
|
15
view/template/download/_social.php
Normal file
15
view/template/download/_social.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<div class="<?php echo $cssClasses ?>">
|
||||
<h3>Build With Us</h3>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h4>Humans</h4>
|
||||
<p>Let's create a freer, more creative world.</p>
|
||||
<?php echo View::render('social/_list') ?>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<h4>Wanna Be Robots</h4>
|
||||
<p>Make with us. All LBRY code is open source.</p>
|
||||
<?php echo View::render('social/_listDev') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
14
view/template/download/_unavailable.php
Normal file
14
view/template/download/_unavailable.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<br/>
|
||||
<p>LBRY is coming out on your favorite platform soon. Join our list to know when.</p>
|
||||
<div class="spacer2">
|
||||
<?php echo View::render('mail/joinList', [
|
||||
'submitLabel' => 'Go',
|
||||
'returnUrl' => '/get',
|
||||
'meta' => true,
|
||||
'listId' => Mailchimp::LIST_GENERAL_ID,
|
||||
'mergeFields' => ['CLI' => 'No'],
|
||||
]) ?>
|
||||
</div>
|
||||
<p>Can't wait? View the source and compile instructions on
|
||||
<a href="https://github.com/lbryio/lbry" class="link-primary">GitHub</a>.
|
||||
</p>
|
3
view/template/download/_videoIntro.php
Normal file
3
view/template/download/_videoIntro.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="video">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/BNtivEJKHxI" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
17
view/template/download/get-no-os.php
Normal file
17
view/template/download/get-no-os.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php Response::setMetaDescription('Download or install the latest version of LBRY.') ?>
|
||||
<?php Response::setMetaTitle(__('Get LBRY')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main class="column-fluid">
|
||||
<div class="span6">
|
||||
<?php echo View::render('download/_list', [
|
||||
'title' => __('Select an OS')
|
||||
]) ?>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<?php $socialCssClasses = 'cover cover-dark cover-dark-grad content content-dark' ?>
|
||||
<?php echo View::render('download/_social', [
|
||||
'cssClasses' => $socialCssClasses
|
||||
]) ?>
|
||||
</div>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
31
view/template/download/get.php
Normal file
31
view/template/download/get.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php Response::setMetaDescription(__('Download/install the latest version of LBRY for %os%.', ['%os%' => $osTitle])) ?>
|
||||
<?php NavActions::setNavUri('/get') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
|
||||
<main class="column-fluid">
|
||||
<div class="span7">
|
||||
<div class="cover cover-light content">
|
||||
<h1>LBRY for <?php echo $osTitle ?> <span class="<?php echo $osIcon ?>"></span></h1>
|
||||
<?php if ($downloadHtml): ?>
|
||||
<?php $socialCssClasses = 'cover cover-light content content-light' ?>
|
||||
<?php echo View::render('download/_betaNotice') ?>
|
||||
<?php echo $downloadHtml ?>
|
||||
<?php echo View::render('download/_reward') ?>
|
||||
<?php else: ?>
|
||||
<?php $socialCssClasses = 'cover cover-dark cover-dark-grad content content-dark' ?>
|
||||
<?php echo View::render('download/_unavailable') ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span5">
|
||||
<?php echo View::render('download/_list', [
|
||||
'excludeOs' => $os
|
||||
]) ?>
|
||||
<?php $socialCssClasses = 'cover cover-dark cover-dark-grad content content-dark' ?>
|
||||
<?php echo View::render('download/_social', [
|
||||
'cssClasses' => $socialCssClasses
|
||||
]) ?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -12,7 +12,7 @@
|
|||
'LBRY' ?>
|
||||
<title><?php echo $title ?></title>
|
||||
|
||||
<link href='https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,600|Raleway:300,300italic,400,600' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Merriweather:300,300italic,700,700italic|Raleway:300,300italic,400,400italic' rel='stylesheet' type='text/css'>
|
||||
<link href="/css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/img/fav/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/img/fav/apple-touch-icon-114x114.png">
|
|
@ -2,7 +2,7 @@
|
|||
<?php define('FOOTER_RENDERED', true) ?>
|
||||
<div class="footer">
|
||||
<div class="content">
|
||||
<div class="control-group">
|
||||
<nav class="control-group">
|
||||
<div class="control-item">
|
||||
<a href="/"><?php echo __('Home') ?></a>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<img src="/img/Free-speech-flag.svg" alt="Free Speech Flag" height="30"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
|
@ -1,7 +1,7 @@
|
|||
<?php foreach([
|
||||
// '/fund' => __('Fund'),
|
||||
'/get' => __('Get'),
|
||||
'https://blog.lbry.io' => __('News'),
|
||||
'/news' => __('News'),
|
||||
'/learn' => __('Learn')
|
||||
] as $url => $label): ?>
|
||||
<div class="control-item">
|
|
@ -1,9 +1,10 @@
|
|||
<?php if (!defined('HEADER_RENDERED')): ?>
|
||||
<?php define('HEADER_RENDERED', 1) ?>
|
||||
<?php extract([
|
||||
'isDark' => false
|
||||
'isDark' => false,
|
||||
'isAbsolute' => false
|
||||
], EXTR_SKIP) ?>
|
||||
<div class="header <?php echo $isDark ? 'header-dark' : 'header-light' ?>">
|
||||
<div class="header <?php echo $isAbsolute ? 'header-absolute' : '' ?> <?php echo $isDark ? 'header-dark' : 'header-light' ?>">
|
||||
<div class="header-content">
|
||||
<a href="/" class="primary-logo">
|
||||
<img src="<?php echo $isDark ? View::imagePath('header-logo-light.png') : View::imagePath('header-logo-dark2.png') ?>" alt="LBRY" />
|
||||
|
@ -19,9 +20,9 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="fullscreen header-navigation-fullscreen">
|
||||
<div class="control-group">
|
||||
<nav class="control-group">
|
||||
<?php echo View::render('nav/globalItems') ?>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,5 +1,5 @@
|
|||
<div class="cover cover-dark cover-dark-grad ">
|
||||
<div class="content content-dark spacer2">
|
||||
<div class="content content-dark">
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h3><?php echo __('Sounds Great. What\'s Next?') ?></h3>
|
||||
|
@ -15,22 +15,15 @@
|
|||
</tr>*/ ?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/get" class="btn-alt btn-full-width"><?php echo __('Test') ?></a>
|
||||
<a href="/get" class="btn-alt btn-full-width"><?php echo __('Try LBRY') ?></a>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo __('Test LBRY and earn credits.') ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/join-list" class="btn-alt btn-full-width"><?php echo __('Subscribe') ?></a>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo __('Know when LBRY launches.') ?>
|
||||
<?php echo __('Experience digital abundance.') ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul>
|
||||
<li><a href="/join-list" class="link-primary"><?php echo __('Subscribe to our email list') ?></a>.</li>
|
||||
<li>Join us on <a href="//twitter.com/lbryio" class="link-primary"><span class="btn-label">Twitter</span><span class="icon icon-twitter"></span></a>,
|
||||
<a href="//facebook.com/lbryio" class="link-primary"><span class="btn-label">Facebook</span><span class="icon icon-facebook"></span></a>,
|
||||
or <a href="//reddit.com/r/lbry" class="link-primary"><span class="btn-label">Reddit</span><span class="icon icon-reddit"></span></a>.</li>
|
||||
|
@ -40,32 +33,16 @@
|
|||
<h3><?php echo __('I Want To Know More') ?></h3>
|
||||
<ul>
|
||||
<?php if ($_SERVER['REQUEST_URI'] != '/what'): ?>
|
||||
<li>Learn about <a href="/what" class="link-primary">exactly what LBRY is</a>.</li>
|
||||
<?php endif ?>
|
||||
<?php if ($_SERVER['REQUEST_URI'] != '/why'): ?>
|
||||
<li>Read about <a href="/why" class="link-primary">why we've created LBRY</a>.</li>
|
||||
<li>Read "<a href="/what" class="link-primary">Art in the Internet Age</a>", an introductory essay.</li>
|
||||
<?php endif ?>
|
||||
<?php if ($_SERVER['REQUEST_URI'] != '/team'): ?>
|
||||
<li>Find out about <a href="/team" class="link-primary">the team behind LBRY</a>.</li>
|
||||
<?php endif ?>
|
||||
<?php /*
|
||||
<li>Access our
|
||||
<a href="https://docs.google.com/document/u/1/d/1F2kcuWa8ccGdDZwAyPs3tddvATjN9rcq3iKkyJp9SYM/edit?usp=drive_web"
|
||||
class="link-primary">business plan</a>.
|
||||
</li>
|
||||
<li>Watch our
|
||||
<a href="https://docs.google.com/presentation/u/1/d/1zaAPzh9cqvwVD5X7Ewn7_vuBWlJcjNPIfYuUg1rVhRo/present?noreplica=1&slide=id.p"
|
||||
class="link-primary">pitch deck</a>.
|
||||
</li>*/ ?>
|
||||
<?php if ($_SERVER['REQUEST_URI'] != '/news'): ?>
|
||||
<li>Check out the latest <a href="/news" class="link-primary">news</a>.</li>
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php /*
|
||||
* <div class="content text-center spacer2">
|
||||
<h3>Not Ready to Get Serious?</h3>
|
||||
<p>Join our mailing list for updates about LBRY.</p>
|
||||
|
||||
</div>
|
||||
*/ ?>
|
65
view/template/page/docs.php
Normal file
65
view/template/page/docs.php
Normal file
|
@ -0,0 +1,65 @@
|
|||
<?php Response::setMetaDescription('Documentation on LBRY, a decentralized content distribution network.') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="content">
|
||||
<h1>Docs</h1>
|
||||
<h3>Layer 1: Protocol</h3>
|
||||
<p>While the protocol is one comprehensive set of rules, it is easier to understand as two parts.</p>
|
||||
<h4>Part A: The LBRY Blockchain</h4>
|
||||
<p>A <em>blockchain</em>, or <em>distributed ledger</em> is the key innovation behind the Bitcoin network. Blockchains solved the very complicated technological problem of having a bunch of distributed, disparate entities all agree on a rivalrous state of affairs (like how much money they owe each other).</p>
|
||||
|
||||
<p>Like Bitcoin, the LBRY blockchain maintain balances -- in this case, balances of <em>LBC</em>, LBRY’s unit of credit. More importantly, the LBRY blockchain also provides a decentralized lookup and metadata storage system. The LBRY blockchain supports a specific set of commands that allows anyone to bid (in LBC) to control a LBRY <em>name</em>, which is a lot like a domain name. Whoever controls a name gets to describe what it contains, what it costs to access, who to pay, and where to find it. These names are sold in a continuous running auction. We will talk more about this system a little later on.</p>
|
||||
|
||||
<p>If you’re a programmer, you might recognize the LBRY blockchain as a <em>key-value store</em>. Each key, or name, corresponds to a value, or a metadata entry. Whichever party or parties bid the most LBC gets to control the metadata returned by a key lookup.</p>
|
||||
|
||||
<p>Here is a sample key-value entry in the LBRY blockchain. Here, wonderfullife is the key, and the rest of the description is the value.</p>
|
||||
<div class="code-bash">
|
||||
<code><pre style="white-space: pre-wrap;">
|
||||
<span class="code-bash-kw1">wonderfullife</span> : {
|
||||
<span class="code-bash-kw2">title</span>: "It’s a Wonderful Life",
|
||||
<span class="code-bash-kw2">description</span>: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
|
||||
<span class="code-bash-kw2">thumbnail</span>: "http://i.imgur.com/MW45x88.jpg",
|
||||
<span class="code-bash-kw2">license</span>: "public domain",
|
||||
<span class="code-bash-kw2">price</span>: 0, <span class="code-bash-comment">//free!</span>
|
||||
<span class="code-bash-kw2">publisher</span>: "A Fan Of George Bailey", <span class="code-bash-comment">//simplification</span>
|
||||
<span class="code-bash-kw2">sources</span>: { <span class="code-bash-comment">//extensible, variable list</span>
|
||||
<span class="code-bash-kw2">lbry_hash</span> : <unique id>,
|
||||
<span class="code-bash-kw2">url</span> : <url>
|
||||
}
|
||||
}</pre></code>
|
||||
</div>
|
||||
<div class="meta text-center content-inset"><p>A slightly simplified sample entry of metadata in the LBRY blockchain. Whichever party or parties bid the most in an ongoing auction control what a name returns.</p></div>
|
||||
|
||||
<p>Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. We’ve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for offchain settlement.</p>
|
||||
|
||||
<p>The LBRY blockchain simply maintains LBC balances and a content namespace/catalogue. The next part, LBRYnet, specifies what to do with this data. To compare to the existing web, the blockchain is like the domain system (it maintains a listing of what is available), while the next piece makes it possible to actually fetch and pay for content.</p>
|
||||
<footer> If you’re a Bitcoiner wondering why we don’t use the Bitcoin blockchain, you can read a detailed answer to that question <a href="https://blog.lbry.io/why-doesnt-lbry-just-use-bitcoin/">here</a>.</footer>
|
||||
|
||||
<h4>Part B: The Data Network (LBRYNet)</h4>
|
||||
<p>LBRYNet is the layer that makes the LBRY blockchain useful beyond a simple payment system. It says what to do with the information available in the LBRY blockchain, how to issue payments, how to look up a content identifier, and so on. </p>
|
||||
|
||||
<p>To use the LBRY network, a user’s computer needs the capacity to speak LBRY. That layer is LBRYNet. Just as your computer has a library that enables it to understand HTTP, DNS, and other languages and protocols, LBRYNet is the piece of software that allows your computer to understand how to interact with the LBRY network.</p>
|
||||
|
||||
<p>To understand what role LBRYNet plays, let’s drill a little more into a sample user interaction. Once a user has affirmed access and purchase, such as in step 5 of our Sample Use above, the following happens:</p>
|
||||
|
||||
<ol>
|
||||
<li>LBRYNet issues a lookup for the name associated with the content. If the client does not have a local copy of the blockchain, this lookup is broadcast to miners or to a service provider. This lookup acquires the metadata associated with the name.</li>
|
||||
<li>LBRYNet issues any required payments, as instructed by metadata entries.
|
||||
<ol>
|
||||
<li>If the content is set to free, nothing happens here.</li>
|
||||
<li>If the content is set to have a price in LBC, the client must issue a payment in LBC to the specified address. If the content is published encrypted, LBRYNet will not allow access until this payment has been issued.</li>
|
||||
<li>If the content is set to have another payment method, the seller must run or use a service that provides a private server enforcing payment and provisioning accessing keys.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Simultaneous to #2, LBRYNet uses the metadata to download the content itself.
|
||||
<ol>
|
||||
<li>The metadata allows chunks to be discovered and assembled in a BitTorrent-like fashion. However, unlike BitTorrent, chunks do not individually identify themselves as part of a greater whole. Chunks are just arbitrary pieces of data.</li>
|
||||
<li>If LBRYNet cannot find nodes offering chunks for free, it will offer payments for chunks to other hosts with those chunks.</li>
|
||||
<li>This payment is not done via proof-of-bandwidth, or third-party escrow. Instead, LBRYNet uses reputation, trust, and small initial payments to ensure reliable hosts. </li>
|
||||
<li>If content is not published directly to LBRY, the metadata can instruct other access methods, such as a Netflix URL. This allows us to catalogue content not yet available on LBRY as well as offer legacy and extensibility purposes.</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -7,12 +7,13 @@
|
|||
<div class="row-fluid" style="height: 100%">
|
||||
<div class="span9">
|
||||
<h1><?php echo __('Feedback') ?></h1>
|
||||
<?php echo View::render('get/feedback-prompt') ?>
|
||||
<?php echo View::render('download/_feedbackPrompt') ?>
|
||||
<iframe id="feedback-form-iframe" src="https://docs.google.com/forms/d/1zqa5jBYQMmrZO1utoF2Ok9ka-gXzXLDZKXNNoprufC8/viewform?embedded=true"
|
||||
width="760" height="1720" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<?php echo View::render('social/sidebar') ?>
|
||||
<h3><?php echo __('Also On') ?></h3>
|
||||
<?php echo View::render('social/_list') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
73
view/template/page/home.php
Normal file
73
view/template/page/home.php
Normal file
|
@ -0,0 +1,73 @@
|
|||
<div class="bg-image-full" style="background-image: url(/img/cover-home2.jpg)"></div>
|
||||
<?php Response::setMetaTitle(__('LBRY - Watch, Share, Earn')) ?>
|
||||
<?php Response::setMetaDescription(__('Meet LBRY, a content sharing and publishing platform that is decentralized and owned by it\'s users.')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => true]) ?>
|
||||
<main class="column-fluid column-fluid-constrained">
|
||||
<div class="span7">
|
||||
<div class="cover cover-dark">
|
||||
<div class="content content-wide content-dark">
|
||||
<div class="text-center">
|
||||
<h1 class="cover-title cover-title-tile">Stream, Share, Earn.</h1>
|
||||
</div>
|
||||
<?php echo View::render('download/_videoIntro') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span5">
|
||||
<div class="cover-center content content-dark">
|
||||
<?php $labels = [
|
||||
__('making history'),
|
||||
__('empowering artists'),
|
||||
__('spreading knowledge'),
|
||||
__('sharing sustainably'),
|
||||
__('protecting speech'),
|
||||
__('building tomorrow'),
|
||||
__('eliminating middlemen'),
|
||||
__('furthering education'),
|
||||
] ?>
|
||||
<?php shuffle($labels) ?>
|
||||
<div class="sale-call ">
|
||||
<span class="sale-call-verb"><?php echo __('Join') ?></span>
|
||||
<span class="sale-call-total-people"><?php echo number_format($totalPeople) ?></span>
|
||||
<span class="sale-call-prep">others in</span>
|
||||
<span class="sale-ctas label-cycle" data-cycle-interval="5000">
|
||||
<span class="sale-cta"><?php echo implode('</span><span class="sale-cta">', $labels) ?></span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="control-group spacer2 text-center">
|
||||
<div class="control-item">
|
||||
<a href="/get" class="btn-primary">Get LBRY</a>
|
||||
</div>
|
||||
<div class="control-item">
|
||||
<a href="/learn" class="btn-alt">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span12">
|
||||
<div class="cover cover-dark content content-dark">
|
||||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<h3><?php echo __('Get Updates') ?></h3>
|
||||
<?php echo View::render('mail/joinList', [
|
||||
'submitLabel' => 'Go',
|
||||
'listId' => Mailchimp::LIST_GENERAL_ID,
|
||||
'mergeFields' => ['CLI' => 'No'],
|
||||
'meta' => true,
|
||||
'returnUrl' => '/',
|
||||
'btnClass' => 'btn-alt'
|
||||
]) ?>
|
||||
</div>
|
||||
<div class="span4 text-center">
|
||||
<div class="fb-page" data-href="https://www.facebook.com/lbryio" data-height="300" data-small-header="false" data-width="300"
|
||||
data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true">
|
||||
<div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/lbryio"><a href="https://www.facebook.com/lbryio">LBRY</a></blockquote></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span4 text-center">
|
||||
<a width="300" class="twitter-timeline" href="https://twitter.com/LBRYio" data-widget-id="671104143034073088">Tweets by @LBRYio</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
|
@ -1,5 +1,5 @@
|
|||
<?php Response::setMetaTitle(__('Join LBRY Email List')) ?>
|
||||
<?php Response::setMetaDescription(__('Join our email list and receive updates about LBRY via email.')) ?>
|
||||
<?php Response::setMetaDescription(__('Follow along and receive updates about LBRY via email.')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false ]) ?>
|
||||
<main>
|
||||
<div class="content">
|
||||
|
@ -17,7 +17,8 @@
|
|||
]) ?>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<?php echo View::render('social/sidebar') ?>
|
||||
<h3><?php echo __('Also On') ?></h3>
|
||||
<?php echo View::render('social/_list') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -8,8 +8,8 @@
|
|||
<h1><?php echo __('What?') ?></h1>
|
||||
<div class="spacer1">
|
||||
<div class="spacer1">
|
||||
<a href="/img/lbry-win-ss-783x272.png">
|
||||
<img src="/img/lbry-win-ss-783x272.png" />
|
||||
<a href="/img/lbry-ui.png">
|
||||
<img src="/img/lbry-ui.png" alt="Screenshot of a LBRY browser"/>
|
||||
</a>
|
||||
</div>
|
||||
<p><em>Puts on jargon hat.</em></p>
|
102
view/template/page/learn.php
Normal file
102
view/template/page/learn.php
Normal file
|
@ -0,0 +1,102 @@
|
|||
<?php Response::setMetaDescription(__('Learn more about LBRY, the technology that puts you back in control of the internet.')) ?>
|
||||
<?php Response::setMetaTitle(__('Learn About LBRY')) ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
|
||||
<main class="column-fluid ">
|
||||
<div class="span6">
|
||||
<div class="cover cover-light content">
|
||||
<h1 style="max-width: 660px; margin-left: auto; margin-right: auto">LBRY in 60 Seconds</h1>
|
||||
<?php echo View::render('download/_videoIntro') ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="cover cover-dark cover-center content content-dark" style="background-image:url(/img/altamira-bison.jpg)">
|
||||
<h2 class="cover-title cover-title-tile">Art in the Internet Age</h2>
|
||||
<p class="cover-subtitle text-center">Learn how LBRY will forever improve how<br/>we create and share with one another.</p>
|
||||
<a href="/what" class="btn-alt"><?php echo __('Read the Essay') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="cover cover-dark cover-dark-grad">
|
||||
<div class="content content-dark content-tile">
|
||||
<h3><?php echo __('Who Makes LBRY?') ?></h3>
|
||||
<p><?php echo __('Learn more about the relentless rebels changing the internet.') ?></p>
|
||||
<div class="spacer1">
|
||||
<a href="/team" class="btn-alt"><?php echo __('About The Team') ?></a>
|
||||
</div>
|
||||
<h4>Talk With Us</h4>
|
||||
<?php echo View::render('social/_list') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="cover cover-light-alt cover-light-alt-grad">
|
||||
<div class=" content content-light content-tile">
|
||||
<h3>Nerd With Us</h3>
|
||||
<p>LBRY is a completely open source protocol that provides a decentralized digital marketplace.</p>
|
||||
<?php echo View::render('social/_listDev') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php /*
|
||||
<main class="column-fluid">
|
||||
<div class="span4">
|
||||
<div class="cover cover-column cover-light-alt cover-light-alt-grad">
|
||||
<div class="content content-light">
|
||||
<h1><?php echo __('What?') ?></h1>
|
||||
<div class="spacer1">
|
||||
<div class="spacer1">
|
||||
<a href="/img/lbry-ui.png">
|
||||
<img src="/img/lbry-ui.png" alt="Screenshot of a LBRY browser"/>
|
||||
</a>
|
||||
</div>
|
||||
<p><em>Puts on jargon hat.</em></p>
|
||||
<p>
|
||||
LBRY is a decentralized, censorship-resistant, open-source, peer-to-peer information marketplace and discovery protocol.
|
||||
</p>
|
||||
<p><em>Removes jargon hat.</em></p>
|
||||
<p>
|
||||
LBRY is a new way for people to publish and share content with each other.
|
||||
</p>
|
||||
<p>
|
||||
Our goal is to provide a single box that allows anyone anywhere to find and purchase digital content from anyone else.
|
||||
</p>
|
||||
</div>
|
||||
<a href="/what" class="btn-primary"><?php echo __('More About LBRY') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<div class="cover cover-column cover-dark cover-dark-grad ">
|
||||
<div class="content content-dark">
|
||||
<h1><?php echo __('Why?') ?></h1>
|
||||
<div class="spacer1">
|
||||
<p><?php echo __('Current systems benefit huge corporations that add little but extract a lot.') ?></p>
|
||||
<p>
|
||||
<?php echo __('We don\'t like it when middlemen, greedy rent-seekers, and kleptocrats win.') ?></p>
|
||||
</p>
|
||||
<p><?php echo __('We think a better world is one in which artists and consumers are directly connected.') ?></p>
|
||||
</div>
|
||||
<div class="spacer1">
|
||||
<a href="/why" class="btn-alt"><?php echo __('Why Make LBRY') ?></a>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/img/smbc-comic.png" />
|
||||
</div>
|
||||
<div class="meta text-center">
|
||||
Credit <a href="//www.smbc-comics.com/" class="link-primary">SMBC</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<div class="cover cover-column cover-light">
|
||||
<div class="content">
|
||||
|
||||
<img src="/img/cover-team.jpg" alt="<?php echo __('LBRY Founders') ?>" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main> */ ?>
|
||||
<?php echo View::render('nav/footer') ?>
|
10
view/template/page/slack.php
Normal file
10
view/template/page/slack.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php Response::setMetaDescription('Chat with LBRY on Slack.') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="content">
|
||||
<h1>Chat With Us</h1>
|
||||
<p>Oops. You caught us. We haven't automated Slack invites yet. Please <a class="link-primary" href="mailto:josh@lbry.io?subject=Slack Me Up">email Josh</a>.</p>
|
||||
<p>He answers email approximately as fast as a robot.</p>
|
||||
</div>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -3,26 +3,15 @@
|
|||
<?php Response::setMetaDescription('LBRY is founded by a team passionate about connecting producers and consumers and breaking down broken models. Learn more about them.') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="content">
|
||||
<h1>About Us</h1>
|
||||
</div>
|
||||
<div class="hero hero-quote hero-img spacer2" style="background-image: url(/img/cover-team.jpg)">
|
||||
<div class="hero-content-wrapper">
|
||||
<div class="hero-content">
|
||||
<blockquote class="blockquote-large">
|
||||
<p>LBRY is so simple your Grandma can use it. I’m ready to see blockchain technology become useful for regular people.</p>
|
||||
</blockquote>
|
||||
<cite>Mike Vine <em>Technology Evangelist</em></cite>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content photo-grid spacer2">
|
||||
<h2>The Team</h2>
|
||||
<h1>The Team</h1>
|
||||
<p>LBRY is made possible by more people than we could ever list here. The founding team is listed below.</p>
|
||||
<div class="row-fluid">
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/jeremy-644x450.jpg" alt="Jeremy Kauffman"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Jeremy Kauffman <a href="mailto:jeremy@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a></h4>
|
||||
<div class="meta spacer1">Founder, Chief Executive Officer</div>
|
||||
<p>
|
||||
|
@ -37,10 +26,12 @@
|
|||
He also attended <a href="//rpi.edu" class="link-primary">Rensselaer Polytechnic Institute</a>, where he received degrees in physics and computer science.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/zargham-644x450.jpg" alt="Michael Zargham"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Michael Zargham <a href="mailto:zargham@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a></h4>
|
||||
<div class="meta spacer1">Founder, Chief Technical Officer</div>
|
||||
<p>
|
||||
|
@ -54,11 +45,13 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/josh-644x450.jpg" alt="Josh Finer"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Josh Finer <a href="mailto:josh@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a></h4>
|
||||
<div class="meta spacer1">Founder, Chief Operations & Growth Officer</div>
|
||||
<p>
|
||||
|
@ -69,10 +62,12 @@
|
|||
actor in other crypto projects. Josh's contributions to LBRY will be as diverse as his background.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/jimmy-644x450.jpg" alt="Jimmy Kiselak"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>
|
||||
Jimmy Kiselak
|
||||
<a href="mailto:jimmy@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a>
|
||||
|
@ -91,12 +86,13 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/mike-644x450.jpg" alt="Mike Vine"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Mike Vine <a href="mailto:mike@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a></h4>
|
||||
<div class="meta spacer1">Founder, Evangelist</div>
|
||||
<p>
|
||||
|
@ -114,10 +110,12 @@
|
|||
Mike heads up LBRY’s marketing efforts and serves as an ambassador for our platform to media, investors, and the public.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/grin-644x450.jpg" alt="Alex Grin"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Alex Grin <a href="mailto:grin@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a></h4>
|
||||
<div class="meta spacer1">Founder, Chief Infrastructure Officer</div>
|
||||
<p>
|
||||
|
@ -133,12 +131,14 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/jack-robison-644x450.jpg" alt="Jack Robison"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Jack Robison <a href="mailto:jack@lbry.io" class="link-primary"><span class="icon icon-envelope"></span></a></h4>
|
||||
<div class="meta spacer1">Founder, Core Developer</div>
|
||||
<p>
|
||||
|
@ -157,10 +157,12 @@
|
|||
<em>National Public Radio</em>, the <em>New York Times</em>, and presents around the country.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="photo-container">
|
||||
<img src="/img/spooner-644x450.jpg" alt="you!"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>You</h4>
|
||||
<div class="meta spacer1">Developer, Designer, Economist, Marketer, Investor, ???</div>
|
||||
<p>
|
||||
|
@ -170,12 +172,15 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Advisory Team</h2>
|
||||
<div class="row-fluid">
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/alex-tabarrok-644x450.jpg" alt="Alex Tabarrok"/>
|
||||
</div>
|
||||
<<<<<<< HEAD:view/template/page/team.php
|
||||
<div>
|
||||
<h4>Alex Tabarrok</h4>
|
||||
<div class="meta spacer1">Economic Advisor</div>
|
||||
<p>Alex Tabarrok is Bartley J. Madden Chair in Economics at the <a href="http://mercatus.org/" class="link-primary">Mercatus Center</a>
|
||||
|
@ -194,10 +199,32 @@
|
|||
<a class="link-primary" href="http://en.wikipedia.org/wiki/George_Mason_University" title="George Mason University">George Mason University</a>.
|
||||
</p>
|
||||
</div>
|
||||
=======
|
||||
<h4>Alex Tabarrok</h4>
|
||||
<div class="meta spacer1">Economic Advisor</div>
|
||||
<p>Alex Tabarrok is Bartley J. Madden Chair in Economics at the <a href="http://mercatus.org/" class="link-primary">Mercatus Center</a>
|
||||
and a professor of economics at <a href="//gmu.edu" class="link-primary">George Mason University</a>. He specializes in intellectual property reform, the effectiveness of markets, and the justice system.
|
||||
</p>
|
||||
<p>Tabarrok is the coauthor, with Mercatus colleague Tyler Cowen, of the popular economics blog <a class="link-primary" href="http://www.marginalrevolution.com/"><em>Marginal Revolution</em></a>
|
||||
and cofounder of the online educational platform <a class="link-primary" href="http://mruniversity.com/">Marginal Revolution University</a>.
|
||||
He is the coauthor of
|
||||
<em><a href="http://www.amazon.com/Modern-Principles-Economics-Tyler-Cowen/dp/1429239972" class="link-primary">Modern Principles of Economics</a></em>,
|
||||
and author of the recent book
|
||||
<em><a href="http://www.amazon.com/Launching-The-Innovation-Renaissance-Market-ebook/dp/B006C1HX24" class="link-primary">Launching the Innovation Renaissance</em></a>.
|
||||
His articles have appeared in the<em> New York Times</em>, the<em> Washington Post</em>, the<em> Wall Street Journal</em>, and many
|
||||
other prestigious publications.
|
||||
</p>
|
||||
<p>Tabarrok received his PhD in economics from
|
||||
<a class="link-primary" href="http://en.wikipedia.org/wiki/George_Mason_University" title="George Mason University">George Mason University</a>.
|
||||
</p>
|
||||
>>>>>>> origin/master:view/page/team.php
|
||||
</div>
|
||||
<div class="span6 spacer2">
|
||||
<div class="photo-container">
|
||||
<img src="/img/stephan-644x450.jpg" alt="Stephan Kinsella"/>
|
||||
</div>
|
||||
<<<<<<< HEAD:view/template/page/team.php
|
||||
<div>
|
||||
<h4>Stephan Kinsella</h4>
|
||||
<div class="meta spacer1">Legal Advisor</div>
|
||||
<p>
|
||||
|
@ -219,12 +246,36 @@
|
|||
and <a href="kinsellalaw.com" class="link-primary">kinsellalaw.com</a>
|
||||
</p>
|
||||
</div>
|
||||
=======
|
||||
<h4>Stephan Kinsella</h4>
|
||||
<div class="meta spacer1">Legal Advisor</div>
|
||||
<p>
|
||||
Stephan Kinsella is a registered patent attorney and has over twenty years’ experience in patent, intellectual property,
|
||||
and general commercial and corporate law. He is the founder and director of the <a href="http://c4sif.org/" class="link-primary">Center for the Study of Innovative Freedom</a>.
|
||||
Kinsella has published numerous articles and books on intellectual property law and legal topics including
|
||||
<a href="http://www.amazon.com/International-Investment-Political-Dispute-Resolution/dp/0379215225" class="link-primary">
|
||||
<em>International Investment, Political Risk, and Dispute Resolution: A Practitioner’s Guide</em>
|
||||
</a>
|
||||
and
|
||||
<a href="https://mises.org/library/against-intellectual-property-0" class="link-primary">
|
||||
<em>Against Intellectual Property</em>
|
||||
</a>.
|
||||
</p>
|
||||
<p>
|
||||
He received an LL.M. in international business law from <a href="http://www.kcl.ac.uk/" class="link-primary">King’s College London</a>, a JD from the Paul M. Hebert Law Center at
|
||||
<a href="//lsu.edu" class="link-primary">Lousiana State University</a>,
|
||||
as well as BSEE and MSEE degrees. His websites are <a href="stephankinsella.com" class="link-primary">stephankinsella.com</a>
|
||||
and <a href="kinsellalaw.com" class="link-primary">kinsellalaw.com</a>
|
||||
</p>
|
||||
>>>>>>> origin/master:view/page/team.php
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<div class="photo-container">
|
||||
<img src="/img/huemer-644x450.jpg" alt="Michael Huemer"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Michael Huemer</h4>
|
||||
<div class="meta spacer1">Ethical Advisor</div>
|
||||
<p>
|
||||
|
@ -232,27 +283,29 @@
|
|||
where he has taught since 1998. He has published three single-author scholarly books
|
||||
(including <em><a href="http://www.amazon.com/Ethical-Intuitionism-Michael-Huemer/dp/0230573746" class="link-primary">Ethical Intuitionism</a></em>),
|
||||
one edited anthology, and more than fifty academic articles in epistemology, ethics, political philosophy, and metaphysics.
|
||||
|
||||
</p>
|
||||
<p>
|
||||
Huemer's articles have appeared in such journals as the <em>Philosophical Review</em>, <em>Mind</em>, the <em>Journal of Philosophy</em>, <em>Ethics</em>, and others.
|
||||
His materials are used as readings in classrooms nationwide. He received a B.A. from UC Berkeley and a Ph.D. from Rutgers University.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="photo-container">
|
||||
<img src="/img/spooner-644x450.jpg" alt="you!"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4>You</h4>
|
||||
<div class="meta spacer1">Technical or Media Advisor</div>
|
||||
<p>
|
||||
LBRY is seeking an extremely experienced technical advisor or an advisor with a strong background in the publishing and media space.
|
||||
If you're that person or have a suggestion,
|
||||
<a href="mailto:jeremy@lbry.io?subject=Advisor" class="link-primary">let us know</a>.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo View::render('nav/learnFooter') ?>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
|
@ -2,9 +2,6 @@
|
|||
<?php NavActions::setNavUri('/learn') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="content">
|
||||
<h1>What is LBRY?</h1>
|
||||
</div>
|
||||
<div class="hero hero-pattern spacer2">
|
||||
<div class="hero-content text-center">
|
||||
<h2 class="hero-title">A revolution in accessing and publishing information.</h2>
|
||||
|
@ -37,8 +34,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h1>What is LBRY?</h1>
|
||||
<div class="spacer2">
|
||||
<h3>Tell Me More</h3>
|
||||
<p>LBRY allows anyone to publish content to a location like this:</p>
|
||||
<p class="text-center"><code>lbry://wonderfullife</code></p>
|
||||
<p>Others can access this resource, either for free or for credits. Let's look at an example:</p>
|
|
@ -1,18 +1,21 @@
|
|||
<?php Response::setMetaDescription('Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.') ?>
|
||||
<?php NavActions::setNavUri('/learn') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => true, 'isAbsolute' => true]) ?>
|
||||
<main>
|
||||
<div class="cover cover-dark cover-center cover-full" style="background-image:url(/img/altamira-bison.jpg)">
|
||||
<h1 class="cover-title">Art in the Internet Age</h1>
|
||||
<h1 class="cover-title" id="art">Art in the Internet Age</h1>
|
||||
<div class="cover-subtitle">
|
||||
by <em>Jeremy Kauffman</em>, <em>Michael Zargham</em>, and <em>Jack Robison</em>
|
||||
An introduction to LBRY.
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-readable">
|
||||
<section>
|
||||
<h2>Introduction</h2>
|
||||
<h2 id="introduction">Introduction</h2>
|
||||
<p>In 34,000 B.C., there were cave paintings. And that’s it. When you came home from a sweltering August day of foraging along the Vézère river, the only form of non-live art or entertainment available was something like the above buffalo.</p>
|
||||
|
||||
<p>Today, we live in a world of near infinite choices. This is true not just for art but for all kinds of things (like potato chips). Since the era of cave art, humanity has incessantly and progressively trended towards interconnected, more efficient, and increasingly transparent markets. This undercurrent of connectedness and openness has affected everything human beings produce.</p>
|
||||
|
||||
<p>Nerds like us like to speculate about the end-game of this trend with others on the internet. What will society be like when we have a "Star Trek"-like capacity to instantly and freely replicate anything that exists? The term for this society is <em>post-scarcity</em><sup><a href="#note-post-scarcity">1</a></sup>.</p>
|
||||
<p>Nerds like us like to speculate about the end-game of this trend with others on the internet. What will society be like when we have a "Star Trek"-like capacity to instantly and freely replicate anything that exists? The term for this society is <em>post-scarcity</em><sup><a href="#note-post-scarcity" class="link-primary" >1</a></sup>.</p>
|
||||
|
||||
<p>Generally, post-scarcity is regarded as fantastical; something that will never happen in our lifetimes. Except for one area: digital goods.</p>
|
||||
|
||||
|
@ -26,12 +29,12 @@
|
|||
<footer id="note-post-scarcity"><sup>1</sup> Note that post-scarcity does not eliminate the need to create <em>new</em> goods, it just eliminates or reduces the costs of <em>duplicating</em> goods to nothing. As long as people desire goods that did not previously exist, there will always be a market demand for creation, even in a post-scarcity world.</footer>
|
||||
</section>
|
||||
<section>
|
||||
<h2>A People’s Marketplace</h2>
|
||||
<h2 id="peoples-marketplace">A People’s Marketplace</h2>
|
||||
<p>LBRY is the first digital marketplace to be controlled by the market’s participants rather than a corporation or other 3rd-party. It is the most open, fair, and efficient marketplace for digital goods ever created, with an incentive design encouraging it to become the most complete.</p>
|
||||
<p>At the highest level, LBRY does something extraordinarily simple. LBRY creates an association between a unique name and a piece of digital content, such as a movie, book, or game. This is similar to the domain name system that you are most likely using to access this very post.</p>
|
||||
|
||||
<div class="text-center meta spacer1">
|
||||
<img src="/img/lbry_UI.png"/>
|
||||
<img src="/img/lbry-ui.png"/>
|
||||
<div class="content-inset">
|
||||
A user searches and prepares to stream and the film <em>It’s a Wonderful Life</em>, located at <a href="lbry://wonderfullife">lbry://wonderfullife</a>, via a completely decentralized network. Try it out for yourself at <a href="http://lbry.io/get">lbry.io/get</a>.
|
||||
</div>
|
||||
|
@ -43,32 +46,34 @@
|
|||
|
||||
<ol>
|
||||
<li><strong>Coupled payment and access</strong>. If desired, the person who publishes to <a href="lbry://wonderfullife">lbry://wonderfullife</a> can charge a fee to users that view the content. </li>
|
||||
<li><strong>Decentralized and distributed</strong>. Content published to LBRY is not specific to one computer or network. No one party, including us, can unilaterally remove or block content on the LBRY network.
|
||||
|
||||
(If it worries you that LBRY could facilitate unsavory content, this is discussed in its own section.)</li>
|
||||
|
||||
<li><strong>Decentralized and distributed</strong>. Content published to LBRY is not specific to one computer or network. No one party, including us, can unilaterally remove or block content on the LBRY network.<sup><a class="link-primary" href="#note-decentralized">2</a></sup></li>
|
||||
<li><strong>Domain names are controlled via ongoing auction</strong>. This facilitates names being controlled by the publishers that value them most. These transactions take place via an electronic currency called LBRY credits, or <em>LBC</em>. This is covered in more detail, below.</li>
|
||||
</ol>
|
||||
|
||||
<p>While creating a protocol that we ourselves cannot control sounds chaotic, it is actually about establishing trust. Every other publishing system requires trusting an intermediary that can unilaterally change the rules on you. What happens when you build your business on YouTube or Amazon and they change fees? Or Apple drops your content because the Premier of China thought your comedy went to far?</p>
|
||||
|
||||
<p>Only LBRY consists of a known, promised set of rules that no one can unilaterally change. LBRY provides this by doing something unique: leaving the <em>users</em> in control rather than demanding that control for itself.</p>
|
||||
<footer id="note-decentralized"><sup>2</sup>If it worries you that LBRY's decentralized nature facilitates infringing or unsavory content, this is addressed in <a class="link-primary" Cohref="#combatting-the-ugly">Combatting the Ugly</a>.</footer>
|
||||
</section>
|
||||
<section>
|
||||
<h2>A Sample Use</h2>
|
||||
<p>Let’s look at a sample use of LBRY, Ernest releasing a film on LBRY that is later purchased and viewed by Hilary. </p>
|
||||
<h2 id="sample-use">A Sample Use</h2>
|
||||
<p>Let’s look at a sample use of LBRY, Ernest releasing a film on LBRY that is later purchased and viewed by Hillary. </p>
|
||||
|
||||
<ol>
|
||||
<li>Ernest wants to release his comedy-horror film, <em>Ernie Goes To Guantanamo Bay</em>.</li>
|
||||
<li>Ernest wants to release his comedy-horror film, <em>Ernie Runs For President</em>.</li>
|
||||
<li>The content is encrypted and sliced into many pieces. These pieces are stored by hosts.</li>
|
||||
<li>Ernest reserves <a href="lbry://erniebythebay">lbry://erniebythebay</a>, a name pointing to his content.</li>
|
||||
<li>Ernest reserves <a href="lbry://erniebythebay">lbry://ernieruns</a>, a name pointing to his content.</li>
|
||||
<li>When Ernest reserves the location, he also submits metadata, such as a description and thumbnail.</li>
|
||||
<li>Hillary, a user, browses the LBRY network and decides she wants to watch the film.</li>
|
||||
<li>Hillary, a user, opens her browser, searches the LBRY network, and decides she wants to watch the film.</li>
|
||||
<li>Hillary issues a payment to Ernest for the decryption key, allowing her to watch the film.</li>
|
||||
<li>Hillary’s LBRY client collects the pieces from the hosts and reassembles them, using the key to decrypt the pieces (if necessary). This is transparent to Hillary, the film streams within a few seconds after purchase.</li>
|
||||
</ol>
|
||||
|
||||
<p>This is a lot like an interaction that can happen on many different sites on the web, except that this one happens via a network that is completely decentralized. The data and technology that makes the entire interaction possible is not reliant on nor controlled by any single entity (as it would be via YouTube, Amazon, etc.).</p>
|
||||
<p>From a user's perspective, interaction is extremely similar to those that happen on hundreds of different sites, similar to YouTube, Amazon and Netflix.
|
||||
The key different is that this one happens via a network that is completely decentralized.
|
||||
The data and technology that makes the entire interaction possible is not reliant on nor controlled by any single entity.</p>
|
||||
</section>
|
||||
<section>
|
||||
<h2>The LBRY Network</h2>
|
||||
<p>To understand precisely what LBRY is and why it matters, one must understand both LBRY as a protocol and the services the protocol enables. HTTP is the protocol that makes web browsing possible, but it would be of little interest without the service of a web browser!</p>
|
||||
|
||||
|
@ -77,6 +82,8 @@
|
|||
<p>For a user using LBRY at the service level, the magic of what the LBRY protocol does will be largely transparent, much as a typical internet user sees nothing of how HTTP works. Via a LBRY application, a user will be able to open a familiar interface to quickly and easily discover and purchase a piece of digital content published by anyone in the world.</p>
|
||||
|
||||
<p>However, such an application would not be possible without the LBRY the underlying layer, the LBRY protocol.</p>
|
||||
|
||||
|
||||
<h3>Layer 1: Protocol</h3>
|
||||
<p>While the protocol is one comprehensive set of rules, it is easier to understand as two parts.</p>
|
||||
<h4>Part A: The LBRY Blockchain</h4>
|
||||
|
@ -159,16 +166,17 @@
|
|||
<h4>Transaction Settlement</h4>
|
||||
<p>While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of offchain settlement.</p>
|
||||
|
||||
<p>Essentially, rather than issue a transaction to the core blockchain, transactions are issued to a 3rd-party provider. These providers have a substantial number of coins which are used to maintain balances internally and settle a smaller number of transactions to the core chain. In exchange, these providers earn a small fee, less than the fee required to issue the transaction directly to the blockchain.</p>
|
||||
<p>Essentially, rather than issue a transaction to the core blockchain, transactions are issued to a 3rd-party provider. These providers have a substantial number of coins which are used to maintain balances internally and settle a smaller number of transactions to the core chain. In exchange, these providers earn a small fee, less than the fee required to issue the transaction directly to the blockchain.</p>*
|
||||
</section>
|
||||
<section>
|
||||
<h2>LBRY Credits</h2>
|
||||
<p>LBRY Credits, or <em>LBC</em>, are the unit of account for LBRY. Eventually 1,000,000,000 LBC will exist, according to a defined schedule over 20 years. The schedule decays exponentially, with around 100,000,000 in the first year.</p>
|
||||
|
||||
<p>Additionally, some credits are awarded on a fixed basis. The total break down looks like this:</p>
|
||||
|
||||
<ul>
|
||||
<li>10% are used to peg LBC to Bitcoin, likely via a sidechain. This will allow LBRY to leverage the security of the Bitcoin blockchain, and incentive adoption from Bitcoin users.</li>
|
||||
<li>10% for organizations, charities, and other strategic partners. Organizations the EFF, ACLU, and others that have fought for digital rights and the security and freedom of the internet.</li>
|
||||
<li>10% for adoption programs. We’ll be giving out lots of bonus credits, especially in the early days of LBRY, in order to encourage participation. We will also look to award credits broadly, ensuring the marketplace is egalitarian.</li>
|
||||
<li>20% for adoption programs. We’ll be giving out lots of bonus credits, especially in the early days of LBRY, in order to encourage participation. We will also look to award credits broadly, ensuring the marketplace is egalitarian.</li>
|
||||
<li>10% for us. For operational costs as well as profit.</li>
|
||||
<li>60% earned by LBRY users, via mining the LBRY cryptocurrency.</li>
|
||||
</ul>
|
||||
|
@ -186,7 +194,7 @@
|
|||
<p>As names in demand on LBRY will be more expensive, the names themselves will also serve as a signal of reputation, legitimacy, and quality. If a user searches LBRY for <em>Spider Man</em> and sees one at lbry://spiderman and one at lbry://spiderman_russhaxor, there will be little doubt that the latter is less legitimate. </p>
|
||||
|
||||
<footer><p>It is also worth noting that in the event that LBRY received notice that either name contained an illegitimate copy of <em>Spider Man</em>, LBRY would dutifully and quickly put that content id on a blacklist, blocking discovery or purchase via any legal services. LBRY and users of LBRY are still subject to the DMCA and other relevant laws of their respective countries.</p></footer>
|
||||
<h2>Combatting The Ugly</h2>
|
||||
<h2 id="combatting-the-ugly">Combatting The Ugly</h2>
|
||||
<p>As neither naïfs nor knaves, we acknowledge that LBRY can be used for bad ends. Technology is frequently this way. Encryption protects our privacy -- as well as that of terrorists. Cars allow us to travel marvelous distances -- and kill millions per year.</p>
|
||||
|
||||
<p>The downside to LBRY is that it can be used to exchange illegal content. However, several factors of LBRY make illicit usage less likely than it may seem at first consideration. On the whole, as with the car and encryption, the benefits of LBRY clearly outway nefarious uses.</p>
|
||||
|
@ -228,8 +236,95 @@
|
|||
|
||||
<p>If LBRY succeeds, we will enter a world that is even more creative, connected, and conservatory. We will waste less and we make more. We will create a world where a teenager in Kenya and a reality star in Los Angeles use the same tool to search the same network and have access to the same results -- a world where information, knowledge, and imagination know no borders. </p>
|
||||
|
||||
<p>Build our dream with us. Download LBRY at <a href="https://lbry.io/get">lbry.io/get</a>.</p>
|
||||
<p>Build our dream with us. Download LBRY at <a class="link-primary" href="https://lbry.io/get">lbry.io/get</a>.</p>
|
||||
</section>
|
||||
</div>
|
||||
<?php echo View::render('nav/learnFooter') ?>
|
||||
</main>
|
||||
<?php echo View::render('nav/footer') ?>
|
||||
<?php /*
|
||||
|
||||
<h3>Layer 1: Protocol</h3>
|
||||
<p>While the protocol is one comprehensive set of rules, it is easier to understand as two parts.</p>
|
||||
<h4>Part A: The LBRY Blockchain</h4>
|
||||
<p>A <em>blockchain</em>, or <em>distributed ledger</em> is the key innovation behind the Bitcoin network. Blockchains solved the very complicated technological problem of having a bunch of distributed, disparate entities all agree on a rivalrous state of affairs (like how much money they owe each other).</p>
|
||||
|
||||
<p>Like Bitcoin, the LBRY blockchain maintain balances -- in this case, balances of <em>LBC</em>, LBRY’s unit of credit. More importantly, the LBRY blockchain also provides a decentralized lookup and metadata storage system. The LBRY blockchain supports a specific set of commands that allows anyone to bid (in LBC) to control a LBRY <em>name</em>, which is a lot like a domain name. Whoever controls a name gets to describe what it contains, what it costs to access, who to pay, and where to find it. These names are sold in a continuous running auction. We will talk more about this system a little later on.</p>
|
||||
|
||||
<p>If you’re a programmer, you might recognize the LBRY blockchain as a <em>key-value store</em>. Each key, or name, corresponds to a value, or a metadata entry. Whichever party or parties bid the most LBC gets to control the metadata returned by a key lookup.</p>
|
||||
|
||||
<p>Here is a sample key-value entry in the LBRY blockchain. Here, wonderfullife is the key, and the rest of the description is the value.</p>
|
||||
<div class="code-bash">
|
||||
<code><pre style="white-space: pre-wrap;">
|
||||
<span class="code-bash-kw1">wonderfullife</span> : {
|
||||
<span class="code-bash-kw2">title</span>: "It’s a Wonderful Life",
|
||||
<span class="code-bash-kw2">description</span>: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
|
||||
<span class="code-bash-kw2">thumbnail</span>: "http://i.imgur.com/MW45x88.jpg",
|
||||
<span class="code-bash-kw2">license</span>: "public domain",
|
||||
<span class="code-bash-kw2">price</span>: 0, <span class="code-bash-comment">//free!</span>
|
||||
<span class="code-bash-kw2">publisher</span>: "A Fan Of George Bailey", <span class="code-bash-comment">//simplification</span>
|
||||
<span class="code-bash-kw2">sources</span>: { <span class="code-bash-comment">//extensible, variable list</span>
|
||||
<span class="code-bash-kw2">lbry_hash</span> : <unique id>,
|
||||
<span class="code-bash-kw2">url</span> : <url>
|
||||
}
|
||||
}</pre></code>
|
||||
</div>
|
||||
<div class="meta text-center content-inset"><p>A slightly simplified sample entry of metadata in the LBRY blockchain. Whichever party or parties bid the most in an ongoing auction control what a name returns.</p></div>
|
||||
|
||||
<p>Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. We’ve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for offchain settlement.</p>
|
||||
|
||||
<p>The LBRY blockchain simply maintains LBC balances and a content namespace/catalogue. The next part, LBRYnet, specifies what to do with this data. To compare to the existing web, the blockchain is like the domain system (it maintains a listing of what is available), while the next piece makes it possible to actually fetch and pay for content.</p>
|
||||
<footer> If you’re a Bitcoiner wondering why we don’t use the Bitcoin blockchain, you can read a detailed answer to that question <a href="https://blog.lbry.io/why-doesnt-lbry-just-use-bitcoin/">here</a>.</footer>
|
||||
|
||||
<h4>Part B: The Data Network (LBRYNet)</h4>
|
||||
<p>LBRYNet is the layer that makes the LBRY blockchain useful beyond a simple payment system. It says what to do with the information available in the LBRY blockchain, how to issue payments, how to look up a content identifier, and so on. </p>
|
||||
|
||||
<p>To use the LBRY network, a user’s computer needs the capacity to speak LBRY. That layer is LBRYNet. Just as your computer has a library that enables it to understand HTTP, DNS, and other languages and protocols, LBRYNet is the piece of software that allows your computer to understand how to interact with the LBRY network.</p>
|
||||
|
||||
<p>To understand what role LBRYNet plays, let’s drill a little more into a sample user interaction. Once a user has affirmed access and purchase, such as in step 5 of our Sample Use above, the following happens:</p>
|
||||
|
||||
<ol>
|
||||
<li>LBRYNet issues a lookup for the name associated with the content. If the client does not have a local copy of the blockchain, this lookup is broadcast to miners or to a service provider. This lookup acquires the metadata associated with the name.</li>
|
||||
<li>LBRYNet issues any required payments, as instructed by metadata entries.
|
||||
<ol>
|
||||
<li>If the content is set to free, nothing happens here.</li>
|
||||
<li>If the content is set to have a price in LBC, the client must issue a payment in LBC to the specified address. If the content is published encrypted, LBRYNet will not allow access until this payment has been issued.</li>
|
||||
<li>If the content is set to have another payment method, the seller must run or use a service that provides a private server enforcing payment and provisioning accessing keys.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Simultaneous to #2, LBRYNet uses the metadata to download the content itself.
|
||||
<ol>
|
||||
<li>The metadata allows chunks to be discovered and assembled in a BitTorrent-like fashion. However, unlike BitTorrent, chunks do not individually identify themselves as part of a greater whole. Chunks are just arbitrary pieces of data.</li>
|
||||
<li>If LBRYNet cannot find nodes offering chunks for free, it will offer payments for chunks to other hosts with those chunks.</li>
|
||||
<li>This payment is not done via proof-of-bandwidth, or third-party escrow. Instead, LBRYNet uses reputation, trust, and small initial payments to ensure reliable hosts. </li>
|
||||
<li>If content is not published directly to LBRY, the metadata can instruct other access methods, such as a Netflix URL. This allows us to catalogue content not yet available on LBRY as well as offer legacy and extensibility purposes.</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
<h3>Layer 2: Services</h3>
|
||||
<p>Services are what actually make the LBRY protocol <em>useful. </em>While the LBRY protocol determines what is possible, it is the services that actually do things.</p>
|
||||
|
||||
<p>While the protocol is determined, open, and fixed, the service layer is much more flexible. It is far easier to redesign a website than it is to revise the HTTP protocol itself. The same is true here.</p>
|
||||
|
||||
<p>Additionally, just as in the early days of the internet the later direction of web would have been unfathomable, so too may the best uses of LBRY’s namespace or technology be undiscovered. However, here are some clear uses.</p>
|
||||
<h4>Applications and Devices</h4>
|
||||
<p>A LBRY application is how a user would actually have meaningful interactions with the LBRY network. A LBRY client packages the power of the LBRY protocol into a simple application that allows the user to simply search for content, pay for it when necessary, download and enjoy.</p>
|
||||
|
||||
<p>Additionally, a LBRY client can allow users to passively participate in the network, allowing them to automatically earn rewards in exchange for contributing bandwidth, disk space, or processing power to the overall network.</p>
|
||||
|
||||
<p>Applications beyond a traditional computer based browser are possible as well. A LBRY television dongle, a LBRY radio, and any number of existing content access mechanisms can be implemented via an analogous LBRY device.</p>
|
||||
<h4>Content Discovery</h4>
|
||||
<p>Although the namespace provided by the LBRY protocol is helpful towards discovery, much as the web would be much less useful without search engines or aggregators, LBRY needs it’s own discovery mechanisms.</p>
|
||||
|
||||
<p>Search features can be constructed from the catalogue of metadata provided in the blockchain as well as the content transaction history available in the blockchain or observed on the network. All of this data, along with user history, allows for the creation of content recommendation engines and advanced search features.</p>
|
||||
|
||||
<p>Discovery on LBRY can also take the form of featured content. Clients can utilize featured content to provide additional visibility for new content that consumers might not otherwise be looking for.</p>
|
||||
<h4>Content Distribution</h4>
|
||||
<p>Digital content distributors with server-client models are subject to the whims of internet service providers and hostile foreign governments. Traffic from the host servers can be throttled or halted altogether if the owners of cables and routers so choose. However, in case of the LBRY protocol content comes from anywhere and everywhere, and is therefore not so easily stifled. </p>
|
||||
|
||||
<p>Additionally, the market mechanisms of LBRY create a strong incentive for efficient distribution, which will save the costs of producers and ISPs alike. These properties, along with LBRY’s infringement disincentivizing properties, make LBRY an appealing technology for large existing data or content distributors.</p>
|
||||
<h4>Transaction Settlement</h4>
|
||||
<p>While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of offchain settlement.</p>
|
||||
|
||||
<p>Essentially, rather than issue a transaction to the core blockchain, transactions are issued to a 3rd-party provider. These providers have a substantial number of coins which are used to maintain balances internally and settle a smaller number of transactions to the core chain. In exchange, these providers earn a small fee, less than the fee required to issue the transaction directly to the blockchain.</p>*
|
||||
*/ ?>
|
|
@ -3,7 +3,6 @@
|
|||
<?php Response::setMetaDescription('Learn about the inspiration behind LBRY\'s revolutionary content distribution system.') ?>
|
||||
<?php echo View::render('nav/header', ['isDark' => false]) ?>
|
||||
<main>
|
||||
<div class="content"><h1>Why?</h1></div>
|
||||
<div class="hero hero-quote hero-img spacer2" style="background-image: url(/img/cover-jcole.jpg)">
|
||||
<div class="hero-content-wrapper">
|
||||
<div class="hero-content">
|
||||
|
@ -14,6 +13,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content"><h1>Why?</h1></div>
|
||||
<div class="content spacer2">
|
||||
<h3>The World We Live In</h3>
|
||||
<p>Annual internet video traffic is approximately 500 exabytes (500,000,000,000 GB)<sup><a href="http://www.cisco.com/c/en/us/solutions/collateral/service-provider/ip-ngn-ip-next-generation-network/white_paper_c11-481360.html">1</a></sup>.
|
|
@ -1,10 +1,9 @@
|
|||
<h3><?php echo __('Also On') ?></h3>
|
||||
<div class="spacer1">
|
||||
<a href="//twitter.com/lbryio" class="link-primary"><span class="icon icon-twitter"></span><span class="btn-label">Twitter</span></a>
|
||||
<a href="//twitter.com/lbryio" class="link-primary"><span class="icon-twitter icon-fw"></span><span class="btn-label">Twitter</span></a>
|
||||
</div>
|
||||
<div class="spacer1">
|
||||
<a href="//www.facebook.com/lbryio" class="link-primary"><span class="icon icon-facebook"></span> <span class="btn-label">Facebook</span></a>
|
||||
<a href="//www.facebook.com/lbryio" class="link-primary"><span class="icon-facebook icon-fw"></span><span class="btn-label">Facebook</span></a>
|
||||
</div>
|
||||
<div class="spacer1">
|
||||
<a href="//reddit.com/r/lbry" class="link-primary"><span class="icon icon-reddit"></span><span class="btn-label">Reddit</span></a>
|
||||
<a href="//reddit.com/r/lbry" class="link-primary"><span class="icon-reddit icon-fw"></span><span class="btn-label">Reddit</span></a>
|
||||
</div>
|
11
view/template/social/_listDev.php
Normal file
11
view/template/social/_listDev.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php /*
|
||||
<div class="spacer1">
|
||||
<a class="link-primary" href="/docs"><span class="icon-file-code-o icon-fw"></span><span class="btn-label">Documentation</span></a>
|
||||
</div>
|
||||
*/ ?>
|
||||
<div class="spacer1">
|
||||
<a href="//github.com/lbryio" class="link-primary"><span class="icon-github icon-fw"></span><span class="btn-label">GitHub (source code)</span></a>
|
||||
</div>
|
||||
<div class="spacer1">
|
||||
<a href="/slack" class="link-primary"><span class="icon-slack icon-fw"></span><span class="btn-label">Slack (chat)</span></a>
|
||||
</div>
|
Binary file not shown.
Before Width: | Height: | Size: 236 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue