1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-12-23 18:41:22 +00:00
ibis/README.md

60 lines
4.1 KiB
Markdown
Raw Permalink Normal View History

2024-11-06 13:44:46 +00:00
![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/Nutomic/ibis.svg)
[![Build Status](https://woodpecker.join-lemmy.org/api/badges/Nutomic/ibis/status.svg)](https://woodpecker.join-lemmy.org/Nutomic/ibis)
[![License](https://img.shields.io/github/license/Nutomic/ibis.svg)](LICENSE)
2024-03-13 13:05:52 +00:00
About Ibis
2023-11-15 00:38:16 +00:00
===
2024-11-11 09:28:22 +00:00
![](assets/logo.png)
2024-06-11 09:15:32 +00:00
Ibis is a federated online encyclopedia similar to Wikipedia. Users can read, create and edit articles seamlessly across instances. It uses the Activitypub protocol to connect users across different websites, similar to Mastodon or Lemmy. This ensures that there is no single point of control which may be used for global censorship. Instead each Ibis instance is independent and controlled by its admin. Admins can decide which rules to enforce, which content to allow and which instances to connect with. Users who are unhappy with the rules can easily setup their own Ibis instance with their own rules.
2024-06-11 09:21:24 +00:00
The project uses the same technology as [Lemmy](https://join-lemmy.org/) and benefits from lessons learned during its development. It is currently in a proof of concept stage. Core features are already working, including creation and editing of articles, full federation and a basic frontend. You can see it in action on [ibis.wiki](https://ibis.wiki). However more work is needed to get the project ready for production use, to add features like moderation tools, user account management, media support, article discussions and better web design. Contributions are welcome!
2024-03-13 13:05:52 +00:00
Read the [Project Announcement](https://ibis.wiki/article/Announcing_Ibis,_the_federated_Wikipedia_Alternative) for more information.
2023-11-15 00:38:16 +00:00
## Community
Discuss with other Ibis users on Matrix or Lemmy:
- [Matrix](https://matrix.to/#/#ibis:matrix.org)
- [Lemmy](https://lemmy.ml/c/ibis)
2024-03-08 15:09:51 +00:00
## Useful links
2023-12-20 16:08:19 +00:00
2024-03-08 15:09:51 +00:00
- [Usage Instructions](https://ibis.wiki/article/Usage_Instructions)
- [Setup Instructions](https://ibis.wiki/article/Setup_Instructions)
2024-02-14 13:45:58 +00:00
2024-03-08 15:09:51 +00:00
## Name
2024-02-14 13:45:58 +00:00
2024-03-08 15:09:51 +00:00
The Ibis is a [bird which is related to the Egyptian god of knowledge and science](https://en.wikipedia.org/wiki/African_sacred_ibis#In_myth_and_legend).
2024-02-14 13:45:58 +00:00
2024-01-09 11:41:44 +00:00
## Development
First install PostgreSQL and setup the development database:
```sh
psql -c "CREATE USER ibis WITH PASSWORD 'ibis' SUPERUSER;" -U postgres
psql -c "CREATE DATABASE ibis WITH OWNER ibis;" -U postgres
```
2024-10-30 11:09:08 +00:00
You need to install [cargo](https://rustup.rs/), [pnpm](https://pnpm.io/) and [cargo-leptos](https://github.com/leptos-rs/cargo-leptos). Use `pnpm install` to get Javascript dependencies. Then run `cargo leptos watch` which automatically rebuilds the project after changes. Open the site at [localhost:3000](http://localhost:3000/). You can login with user `ibis` and password `ibis`.
2024-01-29 15:06:24 +00:00
By default the frontend runs on port 3000, which can be changed with env var `TRUNK_SERVE_PORT`. The backend port is 8081 and can be changed with `IBIS_BACKEND_PORT`.
2024-01-30 11:32:02 +00:00
2024-03-13 13:05:52 +00:00
## Federation
Main objects in terms of federation are the `Instance` and `Article`. Each article belongs to a single origin instance, the one where it was originally created. Articles have a collection of `Edit`s a custom ActivityPub type containing a diff. The text of any article can be built by starting from empty string and applying all associated edits in order. Instances can synchronize their articles with each other, and follow each other to receive updates about articles. Edits are done with diffs which are generated on the backend, and allow for conflict resolution similar to git. Editing also works over federation. In this case an activity `Update/Edit` is sent to the origin instance. If the diff applies cleanly, the origin instance sends the new text in an `Update/Article` activity to its followers. In case there is a conflict, a `Reject` activity is sent back, the editor needs to resolve and resubmit the edit.
## Donate
Developing a project like this takes a significant amount of work. You can help funding it with donations:
- [Liberapay](https://liberapay.com/Ibis/)
2024-12-09 21:18:20 +00:00
- Bitcoin: `bc1q6mqlqc84q2h55jkkjvex4kc6h9h534rj87rv2l`
- Monero: `84xnACZv82UNTEGNkttLTH8sCeV9Cdr8dHMJSNP6V2hEJW7C17S9xQTUCghwG8TePrRD9wfiPRWcwYvSTHUNoyJ4AXnQYLD`
2023-11-15 00:38:16 +00:00
## License
[AGPL](LICENSE)