GithubHelp home page GithubHelp logo

craigrobertwhite / hanatsu Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 1.04 MB

A means to watch anime on the Amazon Fire TV

Home Page: https://hanatsu.net

HTML 1.36% Vue 90.28% JavaScript 8.17% CSS 0.19%
anime firetv

hanatsu's People

Contributors

craigrobertwhite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

emtee40 blogclub

hanatsu's Issues

Replace status ring with different icons and colors

The current implementation for displaying an anime's status is just doing what we're doing for the type -- placing it in a ring:
image
Not only does it look weird because of the line height--making the bottom of some letters almost touch the ring--but we can do better. I'm thinking something like
image
We could also just make the icon a different color--as we're doing with the rating. Just a thought.

Implement Fire TV support

This is kind of the whole point of this project. I was able to demo this locally but the architecture of moving the user to and from different items and dimensions (sections, modals) is something that some more thought should be poured into.

document.addEventListener('amazonPlatformReady', () => {
    document.addEventListener('keydown', (event) => {
        const selectedElement = document.getElementById(this.selectedItemId);

        switch (event.code) {
            case 'ArrowLeft':
                if (this.selectedIndex !== 0) {
                    this.selectedIndex--;
                }
                break;
            case 'ArrowRight':
                if (this.selectedIndex !== this[this.selectedSection].length - 1) {
                    this.selectedIndex++;
                }
                break;
        }
    });
}, false);
WIN_20220811_01_38_41_Pro.mp4

Resources

https://developer.amazon.com/docs/fire-tv/getting-started-with-web-apps.html
https://docs.aws.amazon.com/ivs/latest/userguide/player-web.html

Anilist Auth

A big goal I want for this project is to have users authenticate with their Anilist accounts so that their lists are shown and they can see the status of the anime they are watching, click on it, and start watching quickly.

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.