mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Rename project to Lysand
This commit is contained in:
parent
bc6873422f
commit
768d1858dc
10
README.md
10
README.md
|
|
@ -1,4 +1,4 @@
|
|||
# FediProject
|
||||
# Lysand
|
||||
|
||||
## What is this?
|
||||
|
||||
|
|
@ -16,14 +16,14 @@ This project aims to be a fully featured social network, with a focus on privacy
|
|||
- A PostgreSQL database
|
||||
- (Optional but recommended) A Linux-based operating system
|
||||
|
||||
> **Note**: We will not be offerring support to Windows or MacOS users. If you are using one of these operating systems, please use a virtual machine or container to run FediProject.
|
||||
> **Note**: We will not be offerring support to Windows or MacOS users. If you are using one of these operating systems, please use a virtual machine or container to run Lysand.
|
||||
|
||||
### Installation
|
||||
|
||||
1. Clone this repository
|
||||
|
||||
```bash
|
||||
git clone https://github.com/CPlusPatch/fedi-project.git
|
||||
git clone https://github.com/CPlusPatch/lysand.git
|
||||
```
|
||||
|
||||
2. Install the dependencies
|
||||
|
|
@ -52,7 +52,7 @@ Contributions are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) fil
|
|||
|
||||
> **Warning**: Federation has not been tested outside of automated tests. It is not recommended to use this software in production.
|
||||
|
||||
FediProject is currently able to federate basic `Note` objects with `Create`, `Update` and `Delete` activities supported.
|
||||
Lysand is currently able to federate basic `Note` objects with `Create`, `Update` and `Delete` activities supported.
|
||||
|
||||
Planned federation features are:
|
||||
- Activities: `Follow`, `Accept`, `Reject`, `Block`, `Undo`, `Announce`, `Like`, `Dislike`, `Flag`, `Ignore` and more
|
||||
|
|
@ -60,7 +60,7 @@ Planned federation features are:
|
|||
|
||||
## API
|
||||
|
||||
FediProject implements the Mastodon API, with some extensions. The API is currently in early alpha, and is not recommended for use in production.
|
||||
Lysand implements the Mastodon API, with some extensions. The API is currently in early alpha, and is not recommended for use in production.
|
||||
|
||||
Working endpoints are:
|
||||
|
||||
|
|
|
|||
4
index.ts
4
index.ts
|
|
@ -8,7 +8,7 @@ const router = new Bun.FileSystemRouter({
|
|||
dir: process.cwd() + "/server/api",
|
||||
});
|
||||
|
||||
console.log("[+] Starting FediProject...");
|
||||
console.log("[+] Starting Lysand...");
|
||||
|
||||
const config = getConfig();
|
||||
const requests_log = Bun.file(process.cwd() + "/logs/requests.log");
|
||||
|
|
@ -73,4 +73,4 @@ Bun.serve({
|
|||
},
|
||||
});
|
||||
|
||||
console.log("[+] FediProject started!");
|
||||
console.log("[+] Lysand started!");
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "fedi-project",
|
||||
"name": "lysand",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
|
|
@ -10,9 +10,9 @@
|
|||
"url": "https://cpluspatch.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/CPlusPatch/fedi-project/issues"
|
||||
"url": "https://github.com/CPlusPatch/lysand/issues"
|
||||
},
|
||||
"icon": "https://github.com/CPlusPatch/fedi-project",
|
||||
"icon": "https://github.com/CPlusPatch/lysand",
|
||||
"license": "AGPL-3.0",
|
||||
"keywords": [
|
||||
"federated",
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/CPlusPatch/fedi-project.git"
|
||||
"url": "git+https://github.com/CPlusPatch/lysand.git"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<head>
|
||||
<title>Login with FediProject</title>
|
||||
<title>Login with Lysand</title>
|
||||
{{STYLES}}
|
||||
<style>
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ export default async (): Promise<Response> => {
|
|||
// TODO: Implement this
|
||||
return jsonResponse({
|
||||
version: "2.0",
|
||||
software: { name: "fediproject", version: "0.0.1" },
|
||||
software: { name: "lysand", version: "0.0.1" },
|
||||
protocols: ["activitypub"],
|
||||
services: { outbound: [], inbound: [] },
|
||||
usage: {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export const configDefaults: ConfigType = {
|
|||
port: 5432,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
database: "fediproject",
|
||||
database: "lysand",
|
||||
},
|
||||
validation: {
|
||||
max_displayname_size: 50,
|
||||
|
|
|
|||
Loading…
Reference in a new issue