Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/purarue/animeshorts
code for generating and maintaining my (static) site for anime short films/series
https://github.com/purarue/animeshorts
anime jikan myanimelist shortfilms
Last synced: 2 months ago
JSON representation
code for generating and maintaining my (static) site for anime short films/series
- Host: GitHub
- URL: https://github.com/purarue/animeshorts
- Owner: purarue
- License: other
- Created: 2019-01-21T03:44:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T19:44:04.000Z (3 months ago)
- Last Synced: 2024-10-28T00:07:29.021Z (3 months ago)
- Topics: anime, jikan, myanimelist, shortfilms
- Language: Python
- Homepage: https://sean.fish/animeshorts/
- Size: 3.76 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# animeshorts
[animeshorts](http://animeshorts.pythonanywhere.com/) is a website I made, a successor to [this post](https://redd.it/5nsjw5) I made on /r/anime in 2017.
The code to generate the webpages is written in python3, using [yattag](http://www.yattag.org/) to generate static Bootstrap HTML. `./generate` generates a static html site at `./output`
Feel free to make a [PR](https://github.com/purarue/animeshorts/pulls) if you wish to contribute in general. Final say on what goes on the list is up to me, but I'm glad to take suggestions.
Served with `nginx` like:
```
location /animeshorts {
if ($request_uri ~ ^/(.*)\.html$) {
return 302 /$1;
}
try_files $uri $uri.html $uri/ =404;
}
```to remove the `.html` from the URI.
The `check_links` script checks the external URLs (all the videos/databases) this links to to make sure they're all still valid.