puter/tools
2024-12-06 11:39:07 -05:00
..
comment-parser dev(license-headers): fix excludes list 2024-07-10 16:25:14 -04:00
comment-writer tweak: disable 4o-mini and mistral in comment writer 2024-12-02 12:18:46 -05:00
file-walker dev(license-headers): fix excludes list 2024-07-10 16:25:14 -04:00
keygen feat: add message encryption between Puter peers 2024-08-08 15:13:32 -04:00
license-headers chore: remove duplicate headers 2024-07-10 16:53:54 -04:00
migrations-test test: add database migration tests 2024-07-28 04:02:16 -04:00
module-docgen doc: generate puterai docs and is a docgen bug 2024-12-04 16:58:45 -05:00
token-count-accuracy tool: token count testing 2024-11-22 17:21:48 -05:00
.commit Move .commit to /tools 2024-07-09 15:58:55 -07:00
build_relay.sh dev: add build script for relay 2024-09-18 16:21:07 -04:00
build_v86.sh dev: update v86, switch twisp to epoxy-server with twisp feature 2024-10-07 22:04:41 -04:00
check-translations.js chore: remove duplicate headers 2024-07-10 16:53:54 -04:00
gen-release-notes.js release: v2.4.2 2024-07-22 20:23:40 -04:00
l_checker_config.json chore: cleanup root directory 2024-07-09 04:18:55 -04:00
README.md doc: document tools directory (README.md) 2024-12-06 11:39:07 -05:00
run-selfhosted.js refactor: move WebServerService and socketio to module 2024-12-03 14:19:26 -05:00

Tools Directory

This directory contains tools for developing and running puter. Each directory inside /tools is an npm workspace, so it can have its own package.json file and dependencies.

Scripts

run-selfhosted.js

This is the main script for running a local instance of Puter. It verifies the version of node.js you are running and attempts to explain any errors that come up if initiating boot fails.

Puter is booted with essential modules, and modules required for local file storage.

gen-release-notes.js

Generates release notes between a hard-coded pair of versions. These versions need to be modified manually in the script source before running.

check-translations.js

Checks for missing translations in src/gui/src/i18n/translations

Utilities

comment-writer

Generates comments in source files using generative AI via Puter's AI drivers.

To use this:

  • cd into the tools/comment-writer directory
  • Edit config.json and replace auth_token with your own
  • Run with a specified direcotry; for example: node main.js ../../src/backend/services

module-docgen

Document a module.

Libraries

comment-parser

This is a package used by the license-headers tool to process existing comments.

file-walker

This is used by license-headers and comment-writer to walk through source files.