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

t-rsnchat

v2.0.8

Published

A package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon

Downloads

42

Readme

rsnchat

This package package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon without restrictions or limits

Installation

Installation For CLI

npm i -g rsnchat

Installation

npm i rsnchat

APIKEY

Discord : https://discord.gg/r5QWdKfQxr

Join discord server and create account with /new slash command and get your apikey with /key slash command for free!

Usage GPT4

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

rsnchat.gpt('Hello, what is your name?')
  .then(response => {
    console.log(response.message);
  })

Usage OpenChat

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

rsnchat.openchat('Hello, what is your name?')
  .then(response => {
    console.log(response.message);
  })

Usage Bard

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

rsnchat.bard('Hello, what is your name?')
  .then(response => {
    console.log(response.message);
  })

Usage Gemini

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

rsnchat.gemini('Hello, what is your name?')
  .then(response => {
    console.log(response.message);
  })

Usage LlaMa

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

rsnchat.llama('Hello, what is your name?')
  .then(response => {
    console.log(response.message);
  })

Usage Mixtral

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

rsnchat.mixtral('Hello, what is your name?')
  .then(response => {
    console.log(response.message);
  })

Usage Prodia

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";
const model = "absolutereality_v181.safetensors [3d9d4d2b]";

rsnchat.prodia(prompt, negative_prompt, model)
  .then(response => {
    console.log(response);
  })

Prodia Models

List of prodia models

  • 3Guofeng3_v34.safetensors [50f420de]
  • absolutereality_V16.safetensors [37db0fc3]
  • absolutereality_v181.safetensors [3d9d4d2b]
  • amIReal_V41.safetensors [0a8a2e61]
  • analog-diffusion-1.0.ckpt [9ca13f02]
  • anythingv3_0-pruned.ckpt [2700c435]
  • anything-v4.5-pruned.ckpt [65745d25]
  • anythingV5_PrtRE.safetensors [893e49b9]
  • AOM3A3_orangemixs.safetensors [9600da17]
  • blazing_drive_v10g.safetensors [ca1c1eab]
  • cetusMix_Version35.safetensors [de2f2560]
  • childrensStories_v13D.safetensors [9dfaabcb]
  • childrensStories_v1SemiReal.safetensors [a1c56dbb]
  • childrensStories_v1ToonAnime.safetensors [2ec7b88b]
  • Counterfeit_v30.safetensors [9e2a8f19]
  • cuteyukimixAdorable_midchapter3.safetensors [04bdffe6]
  • cyberrealistic_v33.safetensors [82b0d085]
  • dalcefo_v4.safetensors [425952fe]
  • deliberate_v2.safetensors [10ec4b29]
  • deliberate_v3.safetensors [afd9d2d4]
  • dreamlike-anime-1.0.safetensors [4520e090]
  • dreamlike-diffusion-1.0.safetensors [5c9fd6e0]
  • dreamlike-photoreal-2.0.safetensors [fdcf65e7]
  • dreamshaper_6BakedVae.safetensors [114c8abb]
  • dreamshaper_7.safetensors [5cf5ae06]
  • dreamshaper_8.safetensors [9d40847d]
  • edgeOfRealism_eorV20.safetensors [3ed5de15]
  • EimisAnimeDiffusion_V1.ckpt [4f828a15]
  • elldreths-vivid-mix.safetensors [342d9d26]
  • epicrealism_naturalSinRC1VAE.safetensors [90a4c676]
  • ICantBelieveItsNotPhotography_seco.safetensors [4e7a3dfd]
  • juggernaut_aftermath.safetensors [5e20c455]
  • lofi_v4.safetensors [ccc204d6]
  • lyriel_v16.safetensors [68fceea2]
  • majicmixRealistic_v4.safetensors [29d0de58]
  • mechamix_v10.safetensors [ee685731]
  • meinamix_meinaV9.safetensors [2ec66ab0]
  • meinamix_meinaV11.safetensors [b56ce717]
  • neverendingDream_v122.safetensors [f964ceeb]
  • openjourney_V4.ckpt [ca2f377f]
  • pastelMixStylizedAnime_pruned_fp16.safetensors [793a26e8]
  • portraitplus_V1.0.safetensors [1400e684]
  • protogenx34.safetensors [5896f8d5]
  • Realistic_Vision_V1.4-pruned-fp16.safetensors [8d21810b]
  • Realistic_Vision_V2.0.safetensors [79587710]
  • Realistic_Vision_V4.0.safetensors [29a7afaa]
  • Realistic_Vision_V5.0.safetensors [614d1063]
  • redshift_diffusion-V10.safetensors [1400e684]
  • revAnimated_v122.safetensors [3f4fefd9]
  • rundiffusionFX25D_v10.safetensors [cd12b0ee]
  • rundiffusionFX_v10.safetensors [cd4e694d]
  • sdv1_4.ckpt [7460a6fa]
  • shoninsBeautiful_v10.safetensors [25d8c546]
  • theallys-mix-ii-churned.safetensors [5d9225a4]
  • timeless-1.0.ckpt [7c4971d4]
  • toonyou_beta6.safetensors [980f6b15]

Usage Kandinsky

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";

rsnchat.kandinsky(prompt, negative_prompt)
  .then(response => {
    console.log(response);
  })

Usage Absolutebeauty

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";

rsnchat.absolutebeauty(prompt, negative_prompt)
  .then(response => {
    console.log(response);
  })

Usage Sdxl

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";

rsnchat.sdxl(prompt, negative_prompt)
  .then(response => {
    console.log(response);
  })

Usage Dalle

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

const prompt = "beautiful girl";

rsnchat.dalle(prompt)
  .then(response => {
    console.log(response);
  })

Usage AI Icon

const RsnChat = require('rsnchat');

const rsnchat = new RsnChat('chatgpt_××××××××××××××××××××××');

const prompt = "beautiful girl";

rsnchat.icon(prompt)
  .then(response => {
    console.log(response);
  })

Example CLI Command

rsnchat