Federated forge client web app
Find a file
André Jaenisch 9c4c8f04f4
refactor: break out routes into components
For now I'm following the Atomic Design philosophy with respect to
organising the components. I started with Avatar which wraps the
SvelteKit library with some defaults. I test it using vitest which is
now configured accordingly. All dependencies were updated to their
latest version.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-02-09 11:19:08 +01:00
.vscode build: upgrade all dependencies 2023-12-20 23:18:17 +01:00
src refactor: break out routes into components 2024-02-09 11:19:08 +01:00
static Initial commit, using the "Skeleton Welcome" template 2023-05-03 12:28:02 +03:00
tests refactor: break out routes into components 2024-02-09 11:19:08 +01:00
.eslintignore Initial commit, using the "Skeleton Welcome" template 2023-05-03 12:28:02 +03:00
.eslintrc.cjs build: upgrade all dependencies 2023-12-20 23:18:17 +01:00
.gitignore refactor: break out routes into components 2024-02-09 11:19:08 +01:00
.node-version Update README and add .node-version 2023-05-03 17:37:18 +03:00
.npmrc Initial commit, using the "Skeleton Welcome" template 2023-05-03 12:28:02 +03:00
.prettierignore Initial commit, using the "Skeleton Welcome" template 2023-05-03 12:28:02 +03:00
.prettierrc build: upgrade all dependencies 2023-12-20 23:18:17 +01:00
COPYING Create first-start page & add COPYING 2023-05-03 17:41:33 +03:00
package-lock.json refactor: break out routes into components 2024-02-09 11:19:08 +01:00
package.json refactor: break out routes into components 2024-02-09 11:19:08 +01:00
playwright.config.ts Initial commit, using the "Skeleton Welcome" template 2023-05-03 12:28:02 +03:00
postcss.config.cjs build: upgrade all dependencies 2023-12-20 23:18:17 +01:00
README.md README: Single-page mode might be useful to support in forge-hosted version 2023-05-03 17:51:29 +03:00
svelte.config.js build: upgrade all dependencies 2023-12-20 23:18:17 +01:00
tailwind.config.js build: upgrade all dependencies 2023-12-20 23:18:17 +01:00
tsconfig.json refactor: break out routes into components 2024-02-09 11:19:08 +01:00
vite.config.ts refactor: break out routes into components 2024-02-09 11:19:08 +01:00
vitest.config.ts refactor: break out routes into components 2024-02-09 11:19:08 +01:00

Anvil

/!\ work in progress!

Kanban | Chat

Anvil is a web client app for interacting with federated forges. It's meant to allow you to:

  • Create an account of a federated forge
  • Browse software projects
  • Create and manage your software projects
  • Create and manage teams and organizations
  • Participate and interact with software projects: Repo, issues, PRs, CI, etc. etc.

It's meant to be deployed in 3 ways:

  1. Tauri app, packaged with Flatpak, that you can install on your desktop
  2. Independent fully-client-side hosted app you can access using a web browser and connect to any forge (we will probably host one on Anvil's website for convenient outreach, but anyone can host on their server)
  3. Hosted app served by federated forge servers as their default UI, supporting both multi-page mode with pre-rendered pages and regular single-page mode

Status (May 2023): Implementation is in very early initial stages.

Tech stack:

  • SvelteKit
  • TypeScript
  • Tailwind
  • Skeleton.dev

Soon also:

  • Tauri
  • ActivityPub
  • ForgeFed

Developing

Install NodeJS. Recommended method: FNM.

Install dependencies:

npm install

Launch development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Quick overview of the structure of the codebase:

This repo was started via npm create skeleton-app@latest with the "Welcome" template.

More components can be added using create-svelte.

Building

We haven't yet installed adapters for the target environments. Coming soon.

To create a production version of the app:

npm run build

To preview the production build:

npm run preview

Software freedoms (a.k.a license)

GNU AGPL v3 or later. For the legal detail, see COPYING.