Rename to Ditto

This commit is contained in:
Alex Gleason 2023-04-02 14:10:50 -05:00
parent d8e0a1c7fc
commit ecf3841ee4
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
3 changed files with 8 additions and 5 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Ditto
⚠️ This software is a work in progress.

View File

@ -2,7 +2,7 @@ import type { Context } from '@/deps.ts';
const FAKE_APP = { const FAKE_APP = {
id: '1', id: '1',
name: 'Nostrverse', name: 'Ditto',
website: null, website: null,
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob', redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',

View File

@ -7,9 +7,9 @@ function instanceController(c: Context) {
return c.json({ return c.json({
uri: host, uri: host,
title: 'Nostrverse', title: 'Ditto',
description: 'An adapter between Mastodon API and Nostr.', description: 'An efficient and flexible social media server.',
short_description: 'An adapter between Mastodon API and Nostr.', short_description: 'An efficient and flexible social media server.',
registrations: false, registrations: false,
max_toot_chars: POST_CHAR_LIMIT, max_toot_chars: POST_CHAR_LIMIT,
configuration: { configuration: {
@ -37,7 +37,7 @@ function instanceController(c: Context) {
urls: { urls: {
streaming_api: `wss://${host}`, streaming_api: `wss://${host}`,
}, },
version: '0.0.0 (compatible; Nostrverse 0.0.1)', version: '0.0.0 (compatible; Ditto 0.0.1)',
rules: [], rules: [],
}); });
} }