From ecf3841ee4d3c486f5b8e93e9be8d0c41c17e991 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 2 Apr 2023 14:10:50 -0500 Subject: [PATCH] Rename to Ditto --- README.md | 3 +++ src/api/apps.ts | 2 +- src/api/instance.ts | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6bccec3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Ditto + +⚠️ This software is a work in progress. \ No newline at end of file diff --git a/src/api/apps.ts b/src/api/apps.ts index e7aea57..2ea7fe8 100644 --- a/src/api/apps.ts +++ b/src/api/apps.ts @@ -2,7 +2,7 @@ import type { Context } from '@/deps.ts'; const FAKE_APP = { id: '1', - name: 'Nostrverse', + name: 'Ditto', website: null, redirect_uri: 'urn:ietf:wg:oauth:2.0:oob', client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', diff --git a/src/api/instance.ts b/src/api/instance.ts index 0b432b0..008ca24 100644 --- a/src/api/instance.ts +++ b/src/api/instance.ts @@ -7,9 +7,9 @@ function instanceController(c: Context) { return c.json({ uri: host, - title: 'Nostrverse', - description: 'An adapter between Mastodon API and Nostr.', - short_description: 'An adapter between Mastodon API and Nostr.', + title: 'Ditto', + description: 'An efficient and flexible social media server.', + short_description: 'An efficient and flexible social media server.', registrations: false, max_toot_chars: POST_CHAR_LIMIT, configuration: { @@ -37,7 +37,7 @@ function instanceController(c: Context) { urls: { streaming_api: `wss://${host}`, }, - version: '0.0.0 (compatible; Nostrverse 0.0.1)', + version: '0.0.0 (compatible; Ditto 0.0.1)', rules: [], }); }