Metadata-Version: 2.4
Name: miarchive
Version: 0.0.2
Summary: Self-hosted internet archive
Author-email: LunarWatcher <oliviawolfie@pm.me>
License-Expression: MIT
Project-URL: Homepage, https://codeberg.org/LunarWatcher/MIArchive
Project-URL: Documentation, https://codeberg.org/LunarWatcher/MIArchive
Project-URL: Repository, https://codeberg.org/LunarWatcher/MIArchive.git
Project-URL: Issues, https://codeberg.org/LunarWatcher/MIArchive/issues
Project-URL: Changelog, https://github.com/LunarWatcher/MIArchive/releases
Keywords: archival,web archiving,internet archiving,web,browser,download,preservation
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Topic :: System :: Archiving
Classifier: Topic :: Utilities
Classifier: Framework :: aiohttp
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: undetected-geckodriver-lw
Requires-Dist: selenium-wire-lw[uf]
Requires-Dist: beautifulsoup4==4.13.3
Requires-Dist: psycopg==3.2.9
Requires-Dist: aiohttp==3.12.13
Requires-Dist: aiohttp-jinja2==1.6
Requires-Dist: aiohttp_cors==0.8.1
Requires-Dist: msgspec>=0.19.0
Requires-Dist: loguru>=0.7.3
Requires-Dist: requests
Dynamic: license-file

# MIArchive

Small internet archive for self-hosted, private archival.

For more comprehensive information about MIArchive, see the [full README on Codeberg](https://codeberg.org/LunarWatcher/MIArchive#readme). This README is a special PyPI README, because PyPI does not support the markdown features used in the main README.

## Requirements

* Linux-based server
* PostgreSQL
* Python 3.10+


## Installation

You can either do it manually:
```bash
# Set up directory
cd /opt
sudo mkdir miarchive
sudo chown $USER miarchive
cd miarchive

# Set up venv
python3 -m venv env
source env/bin/activate

# Install MIA
pip3 install miarchive

# Set up environment
miarchive setup
```
Or using an install script featuring the exact same commands:
```bash
bash <(curl -L https://codeberg.org/LunarWatcher/MIArchive/raw/branch/master/scripts/install.sh)
```

The bulk of the setup systems are scripted in Python for everyone's convenience.
