A progressive web app to display the angle bisector of two angles given by zodiac sign, degrees and minutes.
TypeScript 77.7%
JavaScript 11.7%
HTML 8.3%
CSS 2.3%
56 1 0

Clone this repository

https://tangled.org/releasecandidate.bsky.social/bisectriz https://tangled.org/did:plc:bsvlnvc2ypnlpvcttd7b5jlz/bisectriz
git@tangled.org:releasecandidate.bsky.social/bisectriz git@tangled.org:did:plc:bsvlnvc2ypnlpvcttd7b5jlz/bisectriz

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

Bisectriz PWA#

AGPLv3 license Badge: deploy to Codeberg Pages status

Bisectriz logo

A progressive web app to display the angle bisector of two angles given by zodiac sign, degrees and minutes. The angle bisector of the two given angles is always calculated counterclockwise from the smaller to the bigger angle, the order in the input fields does not matter. The two angles are given as zodiac sign -- starting at aries (0°), ending at pisces (330°) -- the rest given in degrees between 0° and 29° (inclusive) and minutes between 0' and 59' (inclusive).

Bisectriz at Codeberg Pages

Usage#

Install all development dependencies using npm:

% npm install --save-dev

Available Scripts#

In the project directory, you can run:

  • npm run dev - Runs the app in the development mode. Open https://localhost:5173 to view it in the browser. Only works with certificate files ../https_cert-key.pem and ../https_cert.pem. See ./vite.config.ts:

  • npm run build - Builds the app for production to the ./http folder. To be used with a local npm run preview.

  • npm run build-codeberg - Builds the app for production and hosting at Codeberg pages to the ./http folder.

  • npm run preview - Run the app in production mode. Open https://localhost:4173 to view it in the browser. Only works with certificate files ../https_cert-key.pem and ../https_cert.pem. See ./vite.config.ts:

    server: {
              https: {
                  key: fs.readFileSync("../localhost_https_cert-key.pem"),
                  cert: fs.readFileSync("../localhost_https_cert.pem"),
              },
          },
    
  • npm run test - Run the Mocha tests.

License#

Bisectriz is licensed under the AGPLv3 and later. See file ./LICENSE for details.