Compare commits
4 Commits
f9f1939aaf
...
cc479378ef
Author | SHA1 | Date |
---|---|---|
Jez Cope | cc479378ef | |
Jez Cope | bc09db66b2 | |
Jez Cope | 6db97a1957 | |
Jez Cope | f7dc0749fb |
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: Twitter archive
|
||||
slug: twitter-archive
|
||||
date: 2023-07-10T19:02:14+01:00
|
||||
type: note
|
||||
tags:
|
||||
- Social Media
|
||||
- Twitter
|
||||
---
|
||||
|
||||
Just a quick note to say
|
||||
that since I've deleted my Twitter account,
|
||||
I've set up a [static archive of all my tweets](/twitter-archive/).
|
||||
Yes, even those embarrassing first ones.
|
||||
|
||||
This was made possible by Darius Kazemi:
|
||||
<https://tinysubversions.com/twitter-archive/make-your-own/>
|
||||
|
||||
You can still
|
||||
[find me on Mastodon as @petrichor:digipres.club](https://digipres.club/@petrichor)
|
||||
or via any of the other links at the bottom of the page.
|
|
@ -4,7 +4,8 @@
|
|||
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
inputs.twitter-archive = {
|
||||
url = "https://codeberg.org/api/v1/repos/jezcope/twitter-archive/archive/main.tar.gz";
|
||||
url =
|
||||
"https://codeberg.org/api/v1/repos/jezcope/twitter-archive/archive/main.tar.gz";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
|
@ -24,7 +25,8 @@
|
|||
paths = [ iosevka iosevka-aile iosevka-etoile ];
|
||||
};
|
||||
|
||||
erambler = pkgs.callPackage ./nix/build.nix { inherit fonts twitter-archive; };
|
||||
erambler =
|
||||
pkgs.callPackage ./nix/build.nix { inherit fonts twitter-archive; };
|
||||
|
||||
inherit twitter-archive;
|
||||
};
|
||||
|
@ -39,8 +41,8 @@
|
|||
in {
|
||||
packages = {
|
||||
inherit (pkgs) erambler iosevka iosevka-aile iosevka-etoile fonts;
|
||||
default = pkgs.erambler;
|
||||
};
|
||||
defaultPackage = pkgs.erambler;
|
||||
|
||||
devShell = pkgs.callPackage ./nix/shell.nix { };
|
||||
});
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
locations = {
|
||||
"~ ^/(feed|rss)(\\.xml|/)".return = "301 /index.xml";
|
||||
"~ ^/tags/([a-zA-Z-]+)\\.xml".return = "301 /tags/$1/index.xml";
|
||||
"~ ^/20(0\\d|1[0-5])/\\d\\d/\\d//d/(.*)".return = "301 /blog/$2";
|
||||
|
||||
"/index.xml".extraConfig = ''
|
||||
add_header Link '<https://erambler.co.uk/rss.xml>; rel="self"';
|
||||
|
|
|
@ -7,5 +7,6 @@ mkShell {
|
|||
(py: with py; [ python invoke rich requests ruamel_yaml sh ]))
|
||||
yarn
|
||||
hugo
|
||||
simple-http-server
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue