keyoxide-web/README.md

87 lines
3.8 KiB
Markdown
Raw Permalink Normal View History

2024-01-28 02:00:09 -07:00
# keyoxide-web
2020-06-25 10:01:06 -06:00
2024-01-28 02:00:09 -07:00
[![status-badge](https://ci.codeberg.org/api/badges/5919/status.svg)](https://ci.codeberg.org/repos/5919)
2024-01-28 02:15:26 -07:00
[![License](https://img.shields.io/badge/license-AGPL--v3-blue?style=flat)](https://codeberg.org/keyoxide/keyoxide-web/src/branch/main/LICENSE)
2024-01-28 02:00:09 -07:00
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/keyoxide/keyoxide?sort=semver&style=flat)](https://hub.docker.com/r/keyoxide/keyoxide)
[![Docker Pulls](https://img.shields.io/docker/pulls/keyoxide/keyoxide?style=flat)](https://hub.docker.com/r/keyoxide/keyoxide)
[![Mastodon Follow](https://img.shields.io/mastodon/follow/247838?domain=https%3A%2F%2Ffosstodon.org&style=flat)](https://fosstodon.org/@keyoxide)
[![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/keyoxide?style=flat)](https://opencollective.com/keyoxide)
2020-08-12 03:41:01 -06:00
2024-01-28 02:00:09 -07:00
`keyoxide-web` is the web client that powers [keyoxide.org](https://keyoxide.org) and which you can freely host on your own infrastructure.
2020-06-25 10:01:06 -06:00
2024-01-28 02:00:09 -07:00
## Hosting keyoxide-web
2020-08-12 03:41:01 -06:00
Self-hosting Keyoxide is an important aspect of the project. Users need to trust the Keyoxide instance they're using to reliably verify identities. Making Keyoxide itself decentralized means no one needs to trust a central server. If a friend or family member is hosting a Keyoxide instance, it becomes much easier to trust the instance!
### Docker
2024-06-02 08:23:57 -06:00
The Docker container allows you to easily self-host the [Keyoxide](https://keyoxide.org) project. To get started, run:
2020-08-12 03:41:01 -06:00
2023-09-14 02:31:11 -06:00
```sh
docker run -d -p 3000:3000 codeberg.org/keyoxide/keyoxide-web:latest
```
2020-08-12 03:41:01 -06:00
2024-06-02 08:23:57 -06:00
Keyoxide will now be available at [http://localhost:3000](localhost:3000).
2020-08-12 03:41:01 -06:00
2024-01-28 02:00:09 -07:00
More information available in the [documentation](https://docs.keyoxide.org/guides/self-hosting/).
## Local development
Install `node` in one of the following ways:
- [nix](https://nixos.org/guides/install-nix.html) with [direnv](https://direnv.net/)
- using [fnm](https://github.com/Schniz/fnm)
- using [nvm](https://github.com/nvm-sh/nvm)
- directly from their [website](https://nodejs.org/)
2024-06-02 08:23:57 -06:00
Install the dependencies and run the server:
2024-01-28 02:00:09 -07:00
2024-06-02 08:23:57 -06:00
```sh
npm install
npm run dev
```
The web client will now be available at [http://localhost:3000](localhost:3000).
### Using nix
Enter a development shell:
```sh
nix develop
npm run dev
```
Alternatively, start a local server directly:
```sh
nix develop --command bash -c "npm run dev"
```
2022-11-17 14:54:23 -07:00
2020-08-12 03:47:28 -06:00
## Contributing
2024-01-28 02:00:09 -07:00
Anyone can contribute!
2020-08-12 03:48:31 -06:00
2024-01-28 02:00:09 -07:00
Developers are invited to:
2020-08-12 03:47:28 -06:00
2024-01-28 02:00:09 -07:00
- fork the repository and play around
- submit PRs to [implement new features or fix bugs](https://codeberg.org/keyoxide/keyoxide-web/issues)
2020-08-12 03:48:31 -06:00
2024-01-28 02:00:09 -07:00
If you are new to contributing to open source software, we'd love to help you! To get started, here's a [list of "good first issues"](https://codeberg.org/keyoxide/keyoxide-web/issues?q=&type=all&state=open&labels=183598) that you could look into.
Everyone is invited to:
2020-08-12 03:56:42 -06:00
2024-01-28 02:00:09 -07:00
- find and [report bugs](https://codeberg.org/keyoxide/keyoxide-web/issues/new/choose)
- suggesting [new features](https://codeberg.org/keyoxide/keyoxide-web/issues/new/choose)
- [help with translations](https://translate.codeberg.org/projects/keyoxide/)
- [improve documentation](https://codeberg.org/keyoxide/keyoxide-docs)
- start using open source software and promote it
Please note that this project has a [Code of Conduct](https://codeberg.org/keyoxide/web/src/branch/main/CODE_OF_CONDUCT.md) that all contributors agree to abide when participating.
2020-08-12 03:56:42 -06:00
2024-01-28 02:01:06 -07:00
## About the Keyoxide project
2020-08-12 03:56:42 -06:00
2024-01-28 02:02:05 -07:00
The Keyoxide project strives for a healthier internet for all and has made its efforts fully [open source](https://codeberg.org/keyoxide). Our [community](https://docs.keyoxide.org/community/) is open and welcoming, feel free to say hi!
2020-08-12 03:56:42 -06:00
2024-01-28 02:02:05 -07:00
Funding for the project comes from the [NLnet foundation](https://nlnet.nl/), [NGI0](https://www.ngi.eu/) and the people supporting our [OpenCollective](https://opencollective.com/keyoxide). The project is grateful for all your support.