2020-06-19 05:45:51 +00:00
//- Needs rssEnabled, allUnblocked, torAvailable, hasPrivacyPolicy, onionLocation
2020-02-01 08:17:10 +00:00
2020-01-28 10:37:19 +00:00
doctype html
html
head
title Bibliogram
2020-02-05 06:05:18 +00:00
include includes/head
2020-01-28 10:37:19 +00:00
body.homepage
header
h1.banner
2020-02-18 00:39:20 +00:00
img.banner-image(src="/static/img/banner-min.svg" alt="Bibliogram")
2020-05-09 15:20:13 +00:00
2020-01-28 10:37:19 +00:00
.go-sections-container
.go-sections
section
h2.title Go to profile
form(method="get" action="/u").pair-entry
2020-05-19 13:23:38 +00:00
input(type="text" name="u" placeholder="Username or URL").text
2020-01-28 10:37:19 +00:00
input(type="submit" value="Go").button
section
h2.title Go to post
form(method="get" action="/p").pair-entry
input(type="text" name="p" placeholder="Shortcode or URL").text
input(type="submit" value="Go").button
2020-05-09 15:20:13 +00:00
2020-01-28 10:37:19 +00:00
.about-container
section.about
h2 About Bibliogram
p.
2020-01-28 11:37:08 +00:00
Bibliogram is a website that takes data from Instagram's public profile views and puts it into
a friendlier page that loads faster, gives downloadable images, eliminates ads,
2020-05-29 10:44:58 +00:00
generates RSS feeds, and doesn't urge you to sign up. #[a(href=(constants.featured_profiles.length ? "#featured-profiles" : "/u/instagram")).example-link See an example.]
2020-01-28 10:37:19 +00:00
p.
Bibliogram does #[em not] allow you to anonymously post, like, comment, follow, or view private profiles.
It does not preserve deleted posts.
2020-05-09 15:20:13 +00:00
2020-02-01 08:17:10 +00:00
h2 About this instance
ul
2020-06-19 05:45:51 +00:00
if onionLocation
li: a(href=onionLocation) Onion site available
2020-05-29 08:46:45 +00:00
li: a(href=settingsReferrer) Settings
2020-02-05 10:11:00 +00:00
if hasPrivacyPolicy
li: a(href="/privacy") Privacy policy
else
li Owner has not written a privacy policy
2020-05-19 15:54:22 +00:00
if allUnblocked
li Instance is not blocked
else
2020-07-16 12:14:11 +00:00
li: a(href="https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instagram%20rate%20limits.md#tldr-what-does-it-mean-if-an-instance-is-blocked") Instance is partially blocked
2020-02-01 08:17:10 +00:00
li RSS feeds are #{rssEnabled ? "enabled" : "disabled"}
2020-05-09 15:20:13 +00:00
2020-02-01 08:17:10 +00:00
h2 External links
2020-05-09 15:20:13 +00:00
ul
2020-01-28 10:37:19 +00:00
-
const links = [
2020-07-16 10:20:40 +00:00
["https://sr.ht/~cadence/bibliogram/", "Code on sourcehut", "noopener noreferrer"],
["https://matrix.to/#/#bibliogram:matrix.org", "Discussion room on Matrix", "noopener noreferrer"],
["https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md", "Other Bibliogram instances", "noopener noreferrer"],
["https://cadence.moe/about/contact", "Contact the developer", "noopener noreferrer"]
2020-01-28 10:37:19 +00:00
]
each entry in links
2020-07-16 10:20:40 +00:00
li: a(href!=entry[0] target="_blank" rel=entry[2])= entry[1]
2020-05-29 10:44:58 +00:00
if constants.featured_profiles.length
.featured-profiles#featured-profiles
h2.featured-profiles-header Featured profiles
table.featured-profile-table
tbody
each profile in constants.featured_profiles
tr
td.username: a(href=`/u/${profile.username}`) @#{profile.username}
td= profile.description
details
summary What's this?
.details-content
p The owner of this website personally thinks that these profiles are interesting.
p These are not endorsements from the Bibliogram project.