Code Monkey home page Code Monkey logo

mma's Introduction

MoringMark Archive

https://moringmark.grzegorzkoperwas.site/

An archive of The Owl House comics made by u/makmark and posted to the subreddit.

Made cause I wanted to read all the parts of Grom Factor in order.

Features:

  • Individual comics are merged into series
  • A sortable list of comics
  • OCR in alt text
  • Automatic update via scheduled jobs

It is just a static website built from json files, what more do you expect from it.

Technical stuff

I used this project to learn AWS.

The website is hosted by an s3, proxied by cloudfront.

Two ECS tasks (built by github actions) process reddit posts and store them in s3, simple stuff.

How to develop

Requirements:

  • A unixlike operating system
  • node and npm
  • python 3.12 and poetry

Instructions:

  1. Clone the repo
  2. Acquire reddit API secret and export it into env variable SECRET.
    • Alternatively use the ./get_example_results_from_scraper.sh to download example data for frontend development
  3. Go to ./scraper and launch poetry install to install scraper dependencies
  4. Launch poetry run -m src to gather the data from reddit
    • You can pass an env parameter COMIC_LIMIT to limit the amount of comics
  5. Go to ./front and launch npm install
  6. Run npm run dev to see the development version in your browser
  7. Run npm run build to see the final result

There is also a docker-compose file, you could add some volumes to make it work locally or add references to two s3 buckets in BUCKET and DESTINATION env variables.

mma's People

Contributors

hakiergrzonzo avatar tomw1605 avatar dependabot[bot] avatar

Stargazers

 avatar Tostiman avatar Nikita avatar

Watchers

 avatar

Forkers

tomw1605

mma's Issues

Create a tag system

We need to introduce a way for the users to only browse the comics of a certain type, for example:

  • Lumity
  • Ayzee

add reddit link to rss feed

just thought it might be worth adding a link to the origonal reddit post to the rss feed

think the easiest way to do this is to stick

description += `<p><a href="${comic.link}">Origonal Post</a></p>\`;

after the loop that adds the images

i think at the bottom is better since that is where people will be when they want to go to the reddit post (ie, to read comments)

i dont think it should be the main link since that is used to link to spesific points in a series as well and this site is a better interface for looking at a series that reddit.

[FR] RSS feed

do you think it would be practical to add an RSS feed to this? there seems to be a well used node rss feed generator and it should be fairly easy to add it in. if you would be open to a PR i would love to give it a shot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.