feat: convert from browser to REST API
Showing
.env.example
0 → 100644
media/cookies.png
0 → 100644
448 KB
| { | { | ||
| "name": "chatgpt", | "name": "chatgpt", | ||
| "version": "0.4.2", | "version": "0.4.2", | ||
| "description": "Node.js wrapper around ChatGPT. Uses headless Chrome until the official API is released.", | "description": "Node.js client for the unofficial ChatGPT API.", | ||
| "author": "Travis Fischer <travis@transitivebullsh.it>", | "author": "Travis Fischer <travis@transitivebullsh.it>", | ||
| "repository": "transitive-bullshit/chatgpt-api", | "repository": "transitive-bullshit/chatgpt-api", | ||
| "license": "MIT", | "license": "MIT", | ||
| ... | @@ -34,18 +34,22 @@ | ... | @@ -34,18 +34,22 @@ |
| "test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check" | "test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "html-to-md": "npm:@fisch0920/html-to-md@^0.8.1", | "eventsource-parser": "^0.0.5", | ||
| "playwright": "^1.28.1" | "expiry-map": "^2.0.0", | ||
| "node-fetch": "^3.3.0", | |||
| "remark": "^14.0.2", | |||
| "strip-markdown": "^5.0.0", | |||
| "uuid": "^9.0.0" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@trivago/prettier-plugin-sort-imports": "^4.0.0", | "@trivago/prettier-plugin-sort-imports": "^4.0.0", | ||
| "@types/node": "^18.11.9", | "@types/node": "^18.11.9", | ||
| "@types/uuid": "^9.0.0", | |||
| "del-cli": "^5.0.0", | "del-cli": "^5.0.0", | ||
| "delay": "^5.0.0", | "dotenv-safe": "^8.2.0", | ||
| "husky": "^8.0.2", | "husky": "^8.0.2", | ||
| "lint-staged": "^13.0.3", | "lint-staged": "^13.0.3", | ||
| "npm-run-all": "^4.1.5", | "npm-run-all": "^4.1.5", | ||
| "ora": "^6.1.2", | |||
| "prettier": "^2.8.0", | "prettier": "^2.8.0", | ||
| "tsup": "^6.5.0", | "tsup": "^6.5.0", | ||
| "tsx": "^3.12.1", | "tsx": "^3.12.1", | ||
| ... | ... |
This diff is collapsed.
This diff is collapsed.
src/utils.ts
0 → 100644