mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28: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?
|
## 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
|
- A PostgreSQL database
|
||||||
- (Optional but recommended) A Linux-based operating system
|
- (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
|
### Installation
|
||||||
|
|
||||||
1. Clone this repository
|
1. Clone this repository
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/CPlusPatch/fedi-project.git
|
git clone https://github.com/CPlusPatch/lysand.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install the dependencies
|
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.
|
> **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:
|
Planned federation features are:
|
||||||
- Activities: `Follow`, `Accept`, `Reject`, `Block`, `Undo`, `Announce`, `Like`, `Dislike`, `Flag`, `Ignore` and more
|
- Activities: `Follow`, `Accept`, `Reject`, `Block`, `Undo`, `Announce`, `Like`, `Dislike`, `Flag`, `Ignore` and more
|
||||||
|
|
@ -60,7 +60,7 @@ Planned federation features are:
|
||||||
|
|
||||||
## API
|
## 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:
|
Working endpoints are:
|
||||||
|
|
||||||
|
|
|
||||||
4
index.ts
4
index.ts
|
|
@ -8,7 +8,7 @@ const router = new Bun.FileSystemRouter({
|
||||||
dir: process.cwd() + "/server/api",
|
dir: process.cwd() + "/server/api",
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("[+] Starting FediProject...");
|
console.log("[+] Starting Lysand...");
|
||||||
|
|
||||||
const config = getConfig();
|
const config = getConfig();
|
||||||
const requests_log = Bun.file(process.cwd() + "/logs/requests.log");
|
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",
|
"module": "index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
|
|
@ -10,9 +10,9 @@
|
||||||
"url": "https://cpluspatch.com"
|
"url": "https://cpluspatch.com"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"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",
|
"license": "AGPL-3.0",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"federated",
|
"federated",
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/CPlusPatch/fedi-project.git"
|
"url": "git+https://github.com/CPlusPatch/lysand.git"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Login with FediProject</title>
|
<title>Login with Lysand</title>
|
||||||
{{STYLES}}
|
{{STYLES}}
|
||||||
<style>
|
<style>
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ export default async (): Promise<Response> => {
|
||||||
// TODO: Implement this
|
// TODO: Implement this
|
||||||
return jsonResponse({
|
return jsonResponse({
|
||||||
version: "2.0",
|
version: "2.0",
|
||||||
software: { name: "fediproject", version: "0.0.1" },
|
software: { name: "lysand", version: "0.0.1" },
|
||||||
protocols: ["activitypub"],
|
protocols: ["activitypub"],
|
||||||
services: { outbound: [], inbound: [] },
|
services: { outbound: [], inbound: [] },
|
||||||
usage: {
|
usage: {
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ export const configDefaults: ConfigType = {
|
||||||
port: 5432,
|
port: 5432,
|
||||||
username: "postgres",
|
username: "postgres",
|
||||||
password: "postgres",
|
password: "postgres",
|
||||||
database: "fediproject",
|
database: "lysand",
|
||||||
},
|
},
|
||||||
validation: {
|
validation: {
|
||||||
max_displayname_size: 50,
|
max_displayname_size: 50,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue