npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

starrail-infinity

v0.1.1

Published

API proxy to fetch and interact with data from Honkai: Star Rail

Downloads

11

Readme

🌠 StarRail Infinity 🌠

🌠 StarRail Infinity is a fan-made API proxy to fetch and interact with data from Honkai: Star Rail.

Built with a vision to improve and simplify data access, this project reflects my passion for the game and the broader community. It is currently a work-in-progress with no hard timelines -- it's a passion project.

classDiagram
    class StarRailElysiaServer {
        <<Service>>
    }

    class StarRailService {
        <<Service>>
    }

    class StarRailApi {
        <<API Interface>>
    }

    class HoyoApi {
        <<External API>>
    }

    class User {
        <<Data Model>>
    }

    class Player {
        <<Data Model>>
    }

    class Character {
        <<Data Model>>
    }

    class Equipment {
        <<Data Model>>
    }

    StarRailElysiaServer --> StarRailService : Uses
    StarRailService --> User : Manages
    StarRailService --> StarRailApi : Uses
    User --> Player : Contains
    User --> Character : Contains
    Character --> Equipment : Contains
    StarRailApi --> HoyoApi : Interacts with

✨ Features:

Current:

  • Proxy Access: Directly fetch publicly available game data.
  • Basic Caching: Minimize redundant API calls.
  • Fully Typed: Built with TypeScript, ensure type-safe interactions and predictable responses.
  • Comprehensive Testing: Utilises Bun's built-in testing functionality to ensure reliability.

Upcoming:

  1. Indexing: The plan isn't just to fetch, but to remember. I'm aiming to index player data for even swifter retrievals down the line.
  2. Insights: I'm excited about the potential to delve into the nuances of player data. Imagine drawing meaningful patterns, understanding trends, and even perhaps making game strategy suggestions. The data holds stories, and I intend to narrate them.

💻 Getting Started:

This project is built with:

  • Bun - Bun is a fast Javascript all-in-one toolkit. It's similar to node.
  • Elysia - ElysiaJS is a fast, and friendly Bun web framework.

You'll need Bun to be able to run bun commands. Install Bun with these instructions first!

After you have Bun installed:

  1. Install Dependencies:

    bun install
  2. Test:

     bun test
  3. Run the Server:

    bun start

    or in dev mode

    bun dev
  4. Documentation and Testing:

🤝 Contribution and Maintenance

This is a personal side-project, developed out of passion and interest; a labor of love for the community. Contributions are warmly welcomed! If you'd like to contribute, feel free to fork the repository, make your changes, and submit a pull request. If you have any ideas, suggestions, or issues, don't hesitate to open an issue to discuss it.

⚠️ Disclaimer & License

StarRail Infinity is not affiliated, associated, authorized, endorsed by, or in any way officially connected with the official game or any of its subsidiaries or affiliates. The official game website can be found at https://hsr.hoyoverse.com/.

The software provided as part of StarRail Infinity is distributed under the terms of the MIT License. This means the software is provided "as is", without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. I, nor any contributors to this project, shall be held liable for any claim, damages, or other liability, whether in action of contract, tort, or otherwise, arising from, out of, or in connection with the software or its use or other dealings in the software.

  • StarRail Infinity does not claim any rights or ownership over the data fetched from Honkai: Star Rail. All data remains the property of the official game and its developers.

  • Users of StarRail Infinity are expected to respect and adhere to the official Honkai: Star Rail EULA. Any misuse of the data fetched through StarRail Infinity that violates the official game's EULA is strictly the responsibility of the user.

  • This project does not modify, reproduce, distribute, or use the fetched data for any commercial endeavors. It solely acts as a proxy to access publicly available information.

  • StarRail Infinity is not sponsored, endorsed, or in any way affiliated with the official game. Any representations or implications contrary to this fact are unintentional and will be corrected upon notice.

For the complete terms of the MIT License, please refer to the LICENSE file in this repository.

📞 Contact

If you have any concerns or feedback regarding this project, please feel free open an issue, or get in touch:

Please note that response times may vary, and replies are on a best-effort basis, as this is a personal side project.