Giter Site home page Giter Site logo

novelaiukb's People

Contributors

aedial avatar daralimah avatar fresh-glitch avatar tapwavezodiac avatar zkandell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

novelaiukb's Issues

"Starting your First Story" first image is too wide

On my 1080p screen and even with the table of contents hidden, I still have to scroll sideways to see the other edge of the image, see below.
image
As you can see, the left side of the image (the one with the stories list) is cut off.

StoryContent contains MessagePack data

The response from the /user/storycontent endpoint contains a field called "document" that is Base64 encoded (and I believe deflated too). When decoded, the field contains a blob byte array that must be unpacked using a customized version of MessagePack.

The full MessagePack schema can be found at:
https://github.com/msgpack/msgpack/blob/master/spec.md

The version that NovelAI seems to use appears to be a custom extended version of:
https://github.com/kriszyp/msgpackr

I have implemented a working unpacker and submitted it as a pull request to Draco18's C# library:
Draco18s/NovelAPI#14

Additionally, I have a working C# sample Implementation of Draco18's library at:
https://github.com/JasonLWalker/net.novelai.api.testsuite/tree/MessagePackr

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.