initial commit

This commit is contained in:
Kegan Myers 2023-07-22 02:00:12 -05:00
commit 813bdaa620
20 changed files with 124 additions and 0 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
.dockerignore
Dockerfile

2
Dockerfile Normal file
View file

@ -0,0 +1,2 @@
FROM nginx:1.24-alpine
COPY static /usr/share/nginx/html

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
static/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

31
static/index.html Normal file
View file

@ -0,0 +1,31 @@
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta content='width=device-width,initial-scale=1' name='viewport'>
<meta content='IE=edge' http-equiv='X-UA-Compatible'>
<meta content='yes' name='apple-mobile-web-app-capable'>
<title>nrd.li</title>
<meta content='nrd.li' property='og:site_name'>
<meta content='website' property='og:type'>
<meta content='nrd.li' property='og:title'>
<meta content='A former Mastodon instance.' property='og:description'>
<meta content='https://nrd.li/mastodon-logo.png' property='og:image'>
<meta content='400' property='og:image:width'>
<meta content='400' property='og:image:height'>
<meta content='summary' property='twitter:card'>
<link href='/mastodonish.css' rel='stylesheet'>
</head>
<body>
<div class='wrapper'>
<h1>
<img alt='Mastodon Logo' src='/mastodon-logo.png'> nrd.li </h1>
<h3>What happened to nrd.li?</h3>
<p>Nobody was using it. It was severely out of date (and needed significant changes to be rebased). It was not working right. I didn't have time to maintain it. </p>
<p>Ultimately, it was not useful and presented a security risk.</p>
<h3>Is there an alternative?</h3>
<p>There is an <a href="https://akkoma.nrd.li/">Akkoma instance</a> if you want a microblogging-focused fediverse server, and there is also a <a href="https://lemmy.nrd.li/">Lemmy instance</a> if you are looking for a reddit alternative. These are running without modifications and are substantially easier to maintain than Mastodon, so are likely to stick around longer than the original.</p>
<h3>How can I get my data?</h3>
<p>You can't, all data from the nrd.li Mastodon instance has been deleted.</p>
</div>
</body>
</html>

BIN
static/mastodon-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

87
static/mastodonish.css Normal file
View file

@ -0,0 +1,87 @@
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 400;
src: local("Roboto");
src: url(/roboto-regular-webfont.eot);
src: url(/roboto-regular-webfont.eot?#iefix) format("embedded-opentype"),url(/roboto-regular-webfont.woff2) format("woff2"),url(/roboto-regular-webfont.woff) format("woff"),url(/roboto-regular-webfont.ttf) format("truetype"),url(/roboto-regular-webfont.svg#roboto-regular-webfont) format("svg")
}
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 700;
src: local("Roboto");
src: url(/roboto-bold-webfont.eot);
src: local("Roboto bold"),local("roboto-bold"),url(/roboto-bold-webfont.eot?#iefix) format("embedded-opentype"),url(/roboto-bold-webfont.woff2) format("woff2"),url(/roboto-bold-webfont.woff) format("woff"),url(/roboto-bold-webfont.ttf) format("truetype"),url(/roboto-bold-webfont.svg#roboto-bold-webfont) format("svg")
}
@font-face {
font-family: Montserrat;
font-style: normal;
font-weight: 400;
src: local("Montserrat");
src: url(/Montserrat-Regular.eot);
src: url(/Montserrat-Regular.eot?#iefix) format("embedded-opentype"),url(/Montserrat-Regular.woff2) format("woff2"),url(/Montserrat-Regular.woff) format("woff"),url(/Montserrat-Regular.ttf) format("truetype")
}
body,div,h1,h3,html,p {
border: 0;
font-size: 100%;
font: inherit;
margin: 0;
padding: 0;
vertical-align: baseline
}
body {
text-rendering: optimizelegibility;
-webkit-font-feature-settings: "kern";
font-feature-settings: "kern";
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
background: #282c37 url(/background.jpg);
background-attachment: fixed;
background-size: cover;
color: #fff;
font-family: Roboto,sans-serif;
font-size: 13px;
font-weight: 400;
line-height: 18px;
padding-bottom: 140px
}
.wrapper {
color: #9baec8;
margin: 0 auto;
max-width: 600px;
padding-bottom: 50px;
padding-top: 50px
}
h1 {
color: #2b90d9;
font: 46px/52px Roboto,sans-serif;
font-weight: 600;
padding: 20px 0
}
h1,h3 {
margin-bottom: 20px
}
h3 {
color: #d9e1e8;
font-family: Montserrat,sans-serif;
font-size: 20px;
font-weight: 400;
line-height: 28px
}
img {
height: 46px;
margin-bottom: -5px;
margin-right: 5px;
width: 46px
}
p {
font: 16px/28px Montserrat,sans-serif;
font-weight: 400;
margin-bottom: 12px
}
a {
color: #2b90d9;
text-decoration: underline
}

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.