move gopher-index generator to bin/, update URL for git repo - bitreich-tv - Meme TV encoding and streaming HTML git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tv DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit 6a1d8a37b922c8e31242f6d9b5fbc2f30c0b5c44 DIR parent ee30ff7e48ddb6ef3d0236c900ca37f7831a3a9f HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 3 Nov 2020 13:51:39 +0100 move gopher-index generator to bin/, update URL for git repo Diffstat: A bin/brtv-generate-gopher-index.sh | 84 +++++++++++++++++++++++++++++++ D brtv-generate-gopher-index.sh | 84 ------------------------------- M brtv-generate-playlists.sh | 2 +- 3 files changed, 85 insertions(+), 85 deletions(-) --- DIR diff --git a/bin/brtv-generate-gopher-index.sh b/bin/brtv-generate-gopher-index.sh @@ -0,0 +1,84 @@ +#!/bin/sh +cat <<__EOF__ + o + o / + \ / + \ / + +-------------v--------------------+ + | ,----------------------. __ | + | | | / \ | + | | B I T R E I C H | \__/ | + | | _____ | ...... | + | | | \ / | ...... | + | | | \ / | | + | | | v | ====== | + | | | ====== | + | \`----------------------\` | + | stereo [_] | + +----------------------------------+ + / \\ + +Welcome to the first TV channel on Gopherspace! + +Please see our different channels with its varieties of content, to make +you happy and give you pleasure at the same time. + +The playlists are regenerated every hour and are best viewed using mpv(1) +by passing the playlist url as an argument. For mplayer(1), vlc(1) there +is gopher:// link support. We are working on playlist support. + +_____[[ C_H_A_N_N_E_L_S ]] + +[9|News|/tv/news.m3u|server|port] + +__EOF__ + +for f in *.m3u; do + case "$f" in + all.m3u|news.m3u) continue;; + esac + printf '[9|%s Memes|/tv/%s|server|port]\n' \ + "$(printf '%s' "${f%.m3u}" | \ + awk '{print toupper(substr($1,1,1)) substr($1,2)}')" "$f" +done + +cat <<__EOF__ + +[9|All Memes|/tv/all.m3u|server|port] + +_____[[ W_H_Y_? ]] + +First Problem / Solution: + +The memecache is growing every day. People need to remember them, but +with over 4096 memes, it is nearly impossible to know all of them. With +tthe new visual representation in a stream, the case of people remembering +and thus using the meme hashtag are higher. + +Second Problem / Solution: + +Gopher is about simplicity, showing how problems can be solved in a different +way. The web is scaling up to complexity, of streaming servers, wasting band- +width, not using simple tools which can be recombined, all tunneled over one +protocol, making it too complex over time. + +The technology behind bitreich tv is simply the common text standard of +playlists, referencing different protocols, interpreted by players like +mpv(1), vlc(1) or any ffmpeg-based player, which now support the gopher +protocol and beyond. + +Hopefully this will inspire others to create their TV channels on gopher. + +See the presentation of adc on the technical background of the channel: + +[0|Bitreich TV Introduction Talk by adc|/tv/bitreich-tv-introduction-adc.md|server|port] +(Best viewed using pointools + catpoint(1); git://bitreich.org/catpoint , + git://bitreich.org/pointtools .) + +[h|Git: git://bitreich.org/bitreich-tv|URL:git://bitreich.org/bitreich-tv|server|port] +(Will move to bitreich.org.) + + +[1|<< back to bitreich.org|/|server|port] + +__EOF__ DIR diff --git a/brtv-generate-gopher-index.sh b/brtv-generate-gopher-index.sh @@ -1,84 +0,0 @@ -#!/bin/sh -cat <<__EOF__ - o - o / - \ / - \ / - +-------------v--------------------+ - | ,----------------------. __ | - | | | / \ | - | | B I T R E I C H | \__/ | - | | _____ | ...... | - | | | \ / | ...... | - | | | \ / | | - | | | v | ====== | - | | | ====== | - | \`----------------------\` | - | stereo [_] | - +----------------------------------+ - / \\ - -Welcome to the first TV channel on Gopherspace! - -Please see our different channels with its varieties of content, to make -you happy and give you pleasure at the same time. - -The playlists are regenerated every hour and are best viewed using mpv(1) -by passing the playlist url as an argument. For mplayer(1), vlc(1) there -is gopher:// link support. We are working on playlist support. - -_____[[ C_H_A_N_N_E_L_S ]] - -[9|News|/tv/news.m3u|server|port] - -__EOF__ - -for f in *.m3u; do - case "$f" in - all.m3u|news.m3u) continue;; - esac - printf '[9|%s Memes|/tv/%s|server|port]\n' \ - "$(printf '%s' "${f%.m3u}" | \ - awk '{print toupper(substr($1,1,1)) substr($1,2)}')" "$f" -done - -cat <<__EOF__ - -[9|All Memes|/tv/all.m3u|server|port] - -_____[[ W_H_Y_? ]] - -First Problem / Solution: - -The memecache is growing every day. People need to remember them, but -with over 4096 memes, it is nearly impossible to know all of them. With -tthe new visual representation in a stream, the case of people remembering -and thus using the meme hashtag are higher. - -Second Problem / Solution: - -Gopher is about simplicity, showing how problems can be solved in a different -way. The web is scaling up to complexity, of streaming servers, wasting band- -width, not using simple tools which can be recombined, all tunneled over one -protocol, making it too complex over time. - -The technology behind bitreich tv is simply the common text standard of -playlists, referencing different protocols, interpreted by players like -mpv(1), vlc(1) or any ffmpeg-based player, which now support the gopher -protocol and beyond. - -Hopefully this will inspire others to create their TV channels on gopher. - -See the presentation of adc on the technical background of the channel: - -[0|Bitreich TV Introduction Talk by adc|/tv/bitreich-tv-introduction-adc.md|server|port] -(Best viewed using pointools + catpoint(1); git://bitreich.org/catpoint , - git://bitreich.org/pointtools .) - -[h|Git: git://src.adamsgaard.dk/bitreich-tv|URL:git://src.adamsgaard.dk/bitreich-tv|server|port] -(Will move to bitreich.org.) - - -[1|<< back to bitreich.org|/|server|port] - -__EOF__ DIR diff --git a/brtv-generate-playlists.sh b/brtv-generate-playlists.sh @@ -26,6 +26,6 @@ grep -E "^#[A-z0-9-]*gopher[A-z0-9-]* " "${annna}/${tagfile}" | \ bin/brtv-generate-playlist.sh | \ bin/brtv-playlist-to-m3u.sh > gopher.m3u -./brtv-generate-gopher-index.sh > index.gph +./bin/brtv-generate-gopher-index.sh > index.gph mv *.m3u index.gph /br/gopher/tv/