realcoloride / node_characterai

Unofficial Character AI wrapper for node.
https://beta.character.ai/
341 stars 72 forks source link

Thinking about rewriting the whole package in TypeScript (2.0 roadmap) #180

Open realcoloride opened 1 month ago

realcoloride commented 1 month ago

Hello!

First of, thank you all for the support you guys bring to node_characterai.

I come here to talk about the fact I want to switch to the new endpoints and much more. I also feel limited by the codebase and I'd like to use something much more strongly typed and better written. Make a much more easier interface for beginners and a less confusing one as well.

In fact I have started to get very comfortable with programming in TypeScript and such I'd like to really make a better environment for node_characterai.

If you have suggestions for the rewrite please let me know.

Roadmap:

Current branch: https://github.com/realcoloride/node_characterai/tree/2.0

Let me know if you guys are interested in a rewrite and or if you have ideas/feedback.

realcoloride commented 1 month ago

Note: switching to the new endpoint will cut off features like guest mode, and some endpoints/features might be removed since they are not available on the new interface.

realcoloride commented 1 month ago

Hello there again, I've opened a new branch (2.0) to handle directly here: https://github.com/realcoloride/node_characterai/tree/2.0

Currently work in progress. I am busy working on another project at the same time, but I will try my best to keep up for a new update.

matsukky commented 2 weeks ago

Hi, do you think it will be possible to use/manage persona?

realcoloride commented 2 weeks ago

What do you mean by persona?

matsukky commented 2 weeks ago

Persona

realcoloride commented 2 weeks ago

Hello everyone,

I come forward to indicate the migration might be happening sooner than I thought. Announced today, the CharacterAI team have officially announced the departure of the old characterAI interface and endpoints (which will inevitably break the older versions of node_characterai).

Source: https://www.reddit.com/r/CharacterAI/s/W0T6cZ3B9q

Personally, I think this is a bad idea. I believe the new website has a worse interface and worse language capabilities and the model quality isn't the same and plenty of features are missing. Most of the community is against it (including me) but this is probably not going to change the matter.

So, I recommend users of node_characterai to prepare for these changes as the new rewrite of the package will come sooner than expected and everyone will probably have to migrate, and I will have to also handle the new package version faster.

The new migration will also take new features in place, and they will probably be in newer versions of the 2.0+ branch. image

The changes will take immediate effect on September 10th.

realcoloride commented 2 weeks ago

Persona

Sure. This will be probably added as a feature in node_characterai if possible.

realcoloride commented 1 week ago

Hello, anyone else been having issues using the new interface? I am getting a lot of CORS related errors whilst using the website. chrome_y3JI4lFkbn image image

ming736 commented 1 week ago

Hello, anyone else been having issues using the new interface? I am getting a lot of CORS related errors whilst using the website. chrome_y3JI4lFkbn image image

I just checked, and I'm not having any issues currently.