An open API service indexing awesome lists of open source software.

https://github.com/phi-ag/rvt-app

Display Revit file information in the browser
https://github.com/phi-ag/rvt-app

revit

Last synced: 11 months ago
JSON representation

Display Revit file information in the browser

Awesome Lists containing this project

README

          

# rvt.app

[![Production](https://shields.io/badge/production-0369a1?style=for-the-badge)](https://rvt.app)
[![Preview](https://shields.io/badge/preview-c2410c?style=for-the-badge)](https://preview.rvt.app)
[![Coverage](https://img.shields.io/codecov/c/github/phi-ag/rvt-app?style=for-the-badge)](https://app.codecov.io/github/phi-ag/rvt-app)

rvt-app displays the basic [Revit](https://www.autodesk.com/products/revit) `RVT` or `RFA` file information contained in `BasicFileInfo` in the browser using TypeScript.

You can try it out by simply dropping an `RVT` BIM file into the [rvt.app](https://rvt.app/) web site.

## Development

Install [fnm](https://github.com/Schniz/fnm?tab=readme-ov-file#installation) or [nvm](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating) ([nvm-windows](https://github.com/coreybutler/nvm-windows?tab=readme-ov-file#installation--upgrades))

Install `Node.js`

fnm use

Install `pnpm`

corepack enable
corepack prepare --activate

Install packages

pnpm i

Watch

pnpm dev

Test

pnpm test
pnpm test:dev

End-to-End tests

pnpm playwright install chromium
pnpm test:e2e --project=chromium
pnpm test:e2e:dev --project=chromium

Deploy

pnpm build
pnpm run deploy
pnpm run deploy:production

Stream logs

pnpm tail
pnpm tail:production

List deployments

pnpm wrangler pages deployment list

## Setup

### Cloudflare API token

Create a personal API token for Terraform with the following permissions

- Account / Cloudflare Pages / Edit
- Zone / DNS / Edit

Copy the token into your Terraform Cloud Workspace variables as `cloudflare_api_token` (sensitive).

Create a API token for GitHub with the following permissions

- Account / Cloudflare Pages / Edit

Copy the token into your GitHub Action Secrets as `CLOUDFLARE_API_TOKEN`.