Renamed project to imgin

Corrected home page
This commit is contained in:
Kevin F 2021-10-03 06:19:51 +00:00
parent e369dd7f8d
commit f73c461711
12 changed files with 11 additions and 11 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
venv/* venv/*
helloworld/__pycache__/* imgin/__pycache__/*
testdata/* testdata/*
.vscode/* .vscode/*

4
imgin/config.py Normal file
View File

@ -0,0 +1,4 @@
IMAGE_CACHE = '/tmp/imgin-imgur-images/'
SINGLE_IMAGE_DELETE_AFTER_SECS = 60
ALBUM_DELETE_AFTER_SECS = 120
template_dir = 'imgin/web/'

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charself="utf-8"> <meta charself="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>imgmine - minimal & private imgur proxy</title> <title>imgin - minimal & private imgur proxy</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📷</text></svg>"> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📷</text></svg>">
<link rel="stylesheet" href="/static/theme.css"> <link rel="stylesheet" href="/static/theme.css">
</head> </head>

View File

@ -4,18 +4,18 @@
<head> <head>
<meta charself="utf-8"> <meta charself="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>imgmine - minimal & private imgur proxy</title> <title>imgin - minimal & private imgur proxy</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📷</text></svg>"> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📷</text></svg>">
<link rel="stylesheet" href="/static/theme.css"> <link rel="stylesheet" href="/static/theme.css">
</head> </head>
<body> <body>
<h1> <h1>
imgmine imgin
</h1> </h1>
<hr> <hr>
<p> <p>
A minimalist read-only Imgur proxy insipired by software like <a href="https://invidio.us/">Invidious</a>, <a href="https://nitter.net/">Nitter</a>, and <a href="https://bibliogram.art/">Bibliogram</a>. <wbr> A minimalist read-only Imgur proxy insipired by software like <a href="https://invidio.us/">Invidious</a>, <a href="https://nitter.net/">Nitter</a>, and <a href="https://bibliogram.art/">Bibliogram</a>. <wbr>
This service does not use the official This service does not use the official Imgur API because I reject the notion that normal HTTP GET isn't a valid way to access a public website.
</p> </p>
<p> <p>
This project was started because <a href="https://chaoswebs.net/">Kevin Froman</a> got fed up with Imgur breaking with Tor because of cow-dung JS. This project was started because <a href="https://chaoswebs.net/">Kevin Froman</a> got fed up with Imgur breaking with Tor because of cow-dung JS.

View File

@ -1,4 +0,0 @@
IMAGE_CACHE = '/tmp/imgmine-imgur-images/'
SINGLE_IMAGE_DELETE_AFTER_SECS = 60
ALBUM_DELETE_AFTER_SECS = 120
template_dir = 'imgmine/web/'

4
run.py
View File

@ -1,3 +1,3 @@
import imgmine import imgin
imgmine.start_server() imgin.start_server()