diff --git a/.gitignore b/.gitignore index abcb1cb..9556ed4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ venv/* -helloworld/__pycache__/* +imgin/__pycache__/* testdata/* .vscode/* diff --git a/imgmine/__init__.py b/imgin/__init__.py similarity index 100% rename from imgmine/__init__.py rename to imgin/__init__.py diff --git a/imgin/config.py b/imgin/config.py new file mode 100644 index 0000000..ff340c7 --- /dev/null +++ b/imgin/config.py @@ -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/' \ No newline at end of file diff --git a/imgmine/get.py b/imgin/get.py similarity index 100% rename from imgmine/get.py rename to imgin/get.py diff --git a/imgmine/web/gallery.html b/imgin/web/gallery.html similarity index 94% rename from imgmine/web/gallery.html rename to imgin/web/gallery.html index 4eff7b8..f556b57 100644 --- a/imgmine/web/gallery.html +++ b/imgin/web/gallery.html @@ -4,7 +4,7 @@
-
A minimalist read-only Imgur proxy insipired by software like Invidious, Nitter, and Bibliogram.
This project was started because Kevin Froman got fed up with Imgur breaking with Tor because of cow-dung JS. diff --git a/imgmine/web/theme.css b/imgin/web/theme.css similarity index 100% rename from imgmine/web/theme.css rename to imgin/web/theme.css diff --git a/imgmine/__pycache__/__init__.cpython-39.pyc b/imgmine/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index f565fba..0000000 Binary files a/imgmine/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/imgmine/__pycache__/config.cpython-39.pyc b/imgmine/__pycache__/config.cpython-39.pyc deleted file mode 100644 index eb6652b..0000000 Binary files a/imgmine/__pycache__/config.cpython-39.pyc and /dev/null differ diff --git a/imgmine/__pycache__/get.cpython-39.pyc b/imgmine/__pycache__/get.cpython-39.pyc deleted file mode 100644 index 2ee801b..0000000 Binary files a/imgmine/__pycache__/get.cpython-39.pyc and /dev/null differ diff --git a/imgmine/config.py b/imgmine/config.py deleted file mode 100644 index 5cc0401..0000000 --- a/imgmine/config.py +++ /dev/null @@ -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/' \ No newline at end of file diff --git a/run.py b/run.py index 834f28a..f10ff40 100644 --- a/run.py +++ b/run.py @@ -1,3 +1,3 @@ -import imgmine +import imgin -imgmine.start_server() \ No newline at end of file +imgin.start_server() \ No newline at end of file