kopia lustrzana https://github.com/snarfed/bridgy-fed
set up ap.brid.gy protocol bot user
rodzic
11eb082190
commit
0e8b9ece7e
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1"
|
||||
],
|
||||
"type": "Application",
|
||||
"id": "https://ap.brid.gy/ap.brid.gy",
|
||||
"url": "https://ap.brid.gy/",
|
||||
"preferredUsername": "ap.brid.gy",
|
||||
"summary": "<a href='https://fed.brid.gy/'>Bridgy Fed</a> bot user for the <a href='https://en.wikipedia.org/wiki/Fediverse'>fediverse</a>. To bridge your Bluesky account to the fediverse, follow this account. <a href='https://fed.brid.gy/docs'>More info here.</a>",
|
||||
"name": "Bridgy Fed for the fediverse",
|
||||
"attachment": [{
|
||||
"name": "Web site",
|
||||
"type": "PropertyValue",
|
||||
"value": "<a rel=\"me\" href=\"https://fed.brid.gy\"><span class=\"invisible\">https://</span>fed.brid.gy</a>"
|
||||
}],
|
||||
"image": [
|
||||
{
|
||||
"type": "Image",
|
||||
"url": "https://fed.brid.gy/static/bridgy_logo.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Bridgy Fed for the fediverse",
|
||||
"type": "Image",
|
||||
"url": "https://fed.brid.gy/static/bridgy_logo_square.jpg"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"name": "Bridgy Fed for the fediverse",
|
||||
"type": "Image",
|
||||
"url": "https://fed.brid.gy/static/bridgy_logo_square.jpg"
|
||||
}
|
||||
}
|
|
@ -8,7 +8,7 @@
|
|||
"url": "https://bsky.brid.gy/",
|
||||
"preferredUsername": "bsky.brid.gy",
|
||||
"summary": "<a href='https://fed.brid.gy/'>Bridgy Fed</a> bot user for <a href='https://bsky.social/'>Bluesky</a>. To bridge your fediverse account to Bluesky, follow this account or reply <em>yes</em> when it promps you with a DM. <a href='https://fed.brid.gy/docs'>More info here.</a>",
|
||||
"name": "Bridgy Fed",
|
||||
"name": "Bridgy Fed for Bluesky",
|
||||
"attachment": [{
|
||||
"name": "Web site",
|
||||
"type": "PropertyValue",
|
||||
|
@ -28,6 +28,6 @@
|
|||
"icon": {
|
||||
"name": "Bridgy Fed for Bluesky",
|
||||
"type": "Image",
|
||||
"url": "https://fed.brid.gy/oauth_dropins_static/bluesky.svg"
|
||||
"url": "https://fed.brid.gy/static/bridgy_logo_square.jpg"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<!-- For Mastodon profile link verification
|
||||
https://fed.brid.gy/docs#mastodon-link-verification
|
||||
-->
|
||||
<a rel="me" href="https://ap.brid.gy/"></a>
|
||||
<a rel="me" href="https://bsky.brid.gy/"></a>
|
||||
<a rel="me" href="https://fed.brid.gy/"></a>
|
||||
<a rel="me" href="https://web.brid.gy/"></a>
|
||||
|
|
2
web.py
2
web.py
|
@ -123,7 +123,7 @@ class Web(User, Protocol):
|
|||
# subdomains, eg @bsky.brid.gy@bsky.brid.gy.
|
||||
#
|
||||
# So, this property tracks which subdomain a given Web user's AP actor uses.
|
||||
ap_subdomain = ndb.StringProperty(choices=['bsky', 'fed', 'web'],
|
||||
ap_subdomain = ndb.StringProperty(choices=['ap', 'bsky', 'fed', 'web'],
|
||||
default='web')
|
||||
|
||||
# OLD. some stored entities still have these; do not reuse.
|
||||
|
|
Ładowanie…
Reference in New Issue