Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zopieux/hastygram
A lightweight frontend for Instagram. No fuss, just navigate to /username and enjoy the content.
https://github.com/zopieux/hastygram
fastapi frontend instagram python
Last synced: 13 days ago
JSON representation
A lightweight frontend for Instagram. No fuss, just navigate to /username and enjoy the content.
- Host: GitHub
- URL: https://github.com/zopieux/hastygram
- Owner: zopieux
- License: gpl-3.0
- Created: 2021-01-10T00:48:18.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-22T19:05:49.000Z (almost 4 years ago)
- Last Synced: 2024-12-15T09:45:09.252Z (24 days ago)
- Topics: fastapi, frontend, instagram, python
- Language: JavaScript
- Homepage: https://pypi.org/project/hastygram/
- Size: 907 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hastygram
[![Build status](https://github.com/Zopieux/hastygram/workflows/Package/badge.svg)](https://github.com/Zopieux/hastygram/actions)A lightweight frontend for Instagram. No fuss, just navigate to `/` and enjoy the content.
This supports images, videos and "groups" thereof – Instagram call them *sidecars*.Click on a media to enlarge it to its original resolution. No more ridiculously small pictures!
### Usage
1. You need an account, otherwise Instagram will quickly rate-limit your anonymous session.
2. Connect to Instagram using the [website](https://instagram.com), then using the browser devtools, copy the `sessionid`
cookie value to the clipboard.
3. On your Hastygram frontend, use the **Authenticate** button to paste the cookie value. This is necessary only once.
4. If you encounter errors after a while, follow the same procedure again with a fresh `sessionid` cookie.### Building and deploying
See [`/example`](/example) for an example deployment using Nginx.
```shell
# The frontend:
# You'll have to serve the resulting web/build/ directory as static files.
$ ( cd web && yarn run build )# The Python backend:
# You'll have to reverse-proxy :8000 in location /_.
$ pip install hastygram 'uvicorn[standard]'
$ uvicorn hastygram.app:app --port 8000
```### License
[GNU General Public License v3.0 or later](https://spdx.org/licenses/GPL-3.0-or-later.html).
### Screenshot
![screenshot](.github/screenshot.jpeg)