mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Wed Dec 18 17:37:00 EET 2024
Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
parent
29b956eaf6
commit
e5806fecb2
10 changed files with 139 additions and 62 deletions
109
blog.json
109
blog.json
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Binary file not shown.
After Width: | Height: | Size: 291 KiB |
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
|
@ -128,5 +128,83 @@
|
||||||
"ext": "png",
|
"ext": "png",
|
||||||
"mime": "image/png",
|
"mime": "image/png",
|
||||||
"uploaded": 1734475065.128174
|
"uploaded": 1734475065.128174
|
||||||
|
},
|
||||||
|
"b9abe926ef51ca448d61381d2d8ffd1822363cbe289ac458c4b1d2fdae01b469": {
|
||||||
|
"type": "image",
|
||||||
|
"width": 720,
|
||||||
|
"height": 1600,
|
||||||
|
"alt": "A mobile screenshot of the ari.lt website showing that 1 million people have visited it",
|
||||||
|
"purpose": "To show 1 million visitors on ari-web",
|
||||||
|
"title": "Ari-web 1 millionth visitor",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"credit": "LDA",
|
||||||
|
"ext": "png",
|
||||||
|
"mime": "image/png",
|
||||||
|
"uploaded": 1734527486.868667
|
||||||
|
},
|
||||||
|
"d4d01a7052822c08567dc62578a5574b26e15792c713da83a1a96830b378d568": {
|
||||||
|
"type": "image",
|
||||||
|
"width": 3072,
|
||||||
|
"height": 1920,
|
||||||
|
"alt": "A screenshot of ari-web. Text in the centre reads \"happy 3rd birthday, ari-web !\" with a confetti background",
|
||||||
|
"purpose": "To show the 3rd birthday screen of ari-web",
|
||||||
|
"title": "3rd birthday screen of ari-web",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"credit": "Ari Archer",
|
||||||
|
"ext": "jpeg",
|
||||||
|
"mime": "image/jpeg",
|
||||||
|
"uploaded": 1734527643.644962
|
||||||
|
},
|
||||||
|
"f304b3ee8dfdc51d91fe2819b64a45a8d49ad918329b8fb0aabac1166385d465": {
|
||||||
|
"type": "image",
|
||||||
|
"width": 3072,
|
||||||
|
"height": 1728,
|
||||||
|
"alt": "A screenshot of the ari.lt website showing the birthday page of ari-web for its 2nd anniversary. The text in the centre reads \"Happy 2nd birthday, ari-web!\" while confetti in the background falls",
|
||||||
|
"purpose": "To show the 2nd birthday screen of ari-web",
|
||||||
|
"title": "Ari-web 2nd birthday",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"credit": "Ari Archer",
|
||||||
|
"ext": "jpeg",
|
||||||
|
"mime": "image/jpeg",
|
||||||
|
"uploaded": 1734527808.637102
|
||||||
|
},
|
||||||
|
"467da37b61b8edee2e7ba9f5cd871d5e766d589e3d4a4ba0d077e3d656ccbab1": {
|
||||||
|
"type": "image",
|
||||||
|
"width": 570,
|
||||||
|
"height": 490,
|
||||||
|
"alt": "An enneagram result chart",
|
||||||
|
"purpose": "To show my enneagram results :)",
|
||||||
|
"title": "Ari's enneagram type chart",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"credit": "Ari Archer, truity.com",
|
||||||
|
"ext": "png",
|
||||||
|
"mime": "image/png",
|
||||||
|
"uploaded": 1734528001.909138
|
||||||
|
},
|
||||||
|
"9b9a2aff1530592cf4eae3e4bffa4e09a2f424343f8f9b85922d81488c97e110": {
|
||||||
|
"type": "image",
|
||||||
|
"width": 690,
|
||||||
|
"height": 389,
|
||||||
|
"alt": "A screenshot of a netlify network statistics panel showing that 5GB of bandwidth was used on a small static page",
|
||||||
|
"purpose": "To show that Ari-web has gotten a lot of traffic",
|
||||||
|
"title": "Ari-web blowing up with a lot of bandwidth used",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"credit": "Ari Archer, Netlify",
|
||||||
|
"ext": "jpeg",
|
||||||
|
"mime": "image/jpeg",
|
||||||
|
"uploaded": 1734528120.500828
|
||||||
|
},
|
||||||
|
"974aaeaf72e8958f6d612e3d39d59dc9389b453f01e7d31a5e528de3e490cc48": {
|
||||||
|
"type": "image",
|
||||||
|
"width": 640,
|
||||||
|
"height": 628,
|
||||||
|
"alt": "The june pikachu meme which reads \"it's \"june\" which mean it's ILLEGAL TO BE STRAIGHT anything caught NOT being a GAY will be immediately reported to the FBI. asexuals are OK but y'all are on thin fucking ice.\"",
|
||||||
|
"purpose": "For the funi",
|
||||||
|
"title": "Illegal to be straight",
|
||||||
|
"license": "Unknown",
|
||||||
|
"credit": "Author unknown",
|
||||||
|
"ext": "jpeg",
|
||||||
|
"mime": "image/jpeg",
|
||||||
|
"uploaded": 1734528317.965137
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,3 +2,4 @@ pyfzf
|
||||||
requests
|
requests
|
||||||
pillow
|
pillow
|
||||||
python-magic
|
python-magic
|
||||||
|
fuzzysearch
|
||||||
|
|
|
@ -1762,6 +1762,19 @@ def blog(config: dict[str, typing.Any]) -> int:
|
||||||
return OK
|
return OK
|
||||||
|
|
||||||
|
|
||||||
|
@cmds.new
|
||||||
|
def search(config: dict[str, typing.Any]) -> int:
|
||||||
|
"""search for a term"""
|
||||||
|
|
||||||
|
q: str = iinput("query")
|
||||||
|
|
||||||
|
for p in config["posts"].items():
|
||||||
|
if q.lower() in str(p).lower():
|
||||||
|
llog(f"In post: {p[0]}")
|
||||||
|
|
||||||
|
return OK
|
||||||
|
|
||||||
|
|
||||||
@cmds.new
|
@cmds.new
|
||||||
def media(config: dict[str, typing.Any]) -> int:
|
def media(config: dict[str, typing.Any]) -> int:
|
||||||
"""add media"""
|
"""add media"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue