covenant.tsx 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. import BasicPage from "../components/BasicPage"
  2. import Head from "next/head"
  3. import Hero from "../components/Hero"
  4. import Layout from "../components/Layout"
  5. const Covenant = () => (
  6. <Layout>
  7. <div dir="ltr" className="[unicode-bidi:plaintext]">
  8. <Hero>
  9. <h1 className="h1">Mastodon Server Covenant</h1>
  10. </Hero>
  11. <BasicPage>
  12. <CovenantSection
  13. heading="All Mastodon servers we link to from our server picker commit to the following:"
  14. rules={[
  15. {
  16. heading:
  17. "Active moderation against racism, sexism, homophobia and transphobia",
  18. text: "Users must have the confidence that they are joining a safe space, free from white supremacy, anti-semitism and transphobia of other platforms.",
  19. },
  20. {
  21. heading: "Daily backups",
  22. text: "It is important for users to have the confidence that a trip over the power cable or a rogue bit flip will not erase all of their data. Having a backup strategy is a basic necessity of providing a public service.",
  23. },
  24. {
  25. heading:
  26. "At least one other person with emergency access to the server infrastructure",
  27. text: "Various circumstances can prevent the original owner of the Mastodon server from answering technical emergencies. For this reason, more than one person must have that capability.",
  28. },
  29. {
  30. heading:
  31. "Commitment to give users at least 3 months of advance warning in case of shutting down",
  32. text: "Sometimes services shut down, it is the cycle of life. But users must have the confidence that their account will not disappear overnight, so that they have time to export their data and find another server.",
  33. },
  34. ]}
  35. />
  36. <hr className="my-16 border-gray-3" />
  37. <section>
  38. <h2 className="h4">Submitting your server</h2>
  39. <p className="mt-4">
  40. If you are a server owner, and your server passes these
  41. requirements, you can send an e-mail to{" "}
  42. <span className="font-bold">servers@joinmastodon.org</span> with the
  43. subject &quot;Server submission&quot; to be listed on this website.
  44. Please include the <strong>domain name</strong>, whether you are a
  45. private individual or represent an organization, in which country
  46. the server is legally situated in, and which category would fit it
  47. best.
  48. </p>
  49. <p className="mt-4">
  50. Because our goal is giving new users a smooth and reliable start
  51. into the decentralized social network of Mastodon rather than simply
  52. promoting individual servers, we are generally not interested in
  53. promoting brand new and unproven servers, so the submission should
  54. not be your primary strategy of growing your community.
  55. </p>
  56. </section>
  57. <hr className="my-16 border-gray-3" />
  58. <CovenantSection
  59. heading="Metadata guidelines"
  60. description="Your server's metadata should be in a presentable state:"
  61. rules={[
  62. {
  63. heading: "Short description",
  64. text: "This is your place to express what makes your server different from others. Do not describe what Mastodon is. Is it hosted by a specific organization? Is it operated from a specific country or region? Stick to one or two sentences. Attention is a limited resource. If your server's target audience speaks a different language than English, write the description in that language.",
  65. },
  66. {
  67. heading: "Thumbnail",
  68. text: "Avoid the default. Express the visual identity of your server. A high quality image will make your server look professional. Stick close to the recommended dimensions of 1200x630px and use only JPG and PNG formats. Avoid transparency. We will proxy the image to avoid sending traffic from our visitors directly to your host.",
  69. },
  70. {
  71. heading: "Language",
  72. text: "If you are running a language-specific server, make sure to set DEFAULT_LOCALE in your configuration to prevent Mastodon from showing the interface in the language of the visitor.",
  73. },
  74. {
  75. heading: "Rules",
  76. text: "Make sure to create server rules — free-text rules in extended server description are not enough. Server rules are an integral part of onboarding. They must be kept short and to the point (you can elaborate in the extended server description). As a rule they should fit on a typical phone screen without having to scroll through. You want the visitor to be able to read them quickly. Do not include items that are covered by hardcoded report reasons, such as spam.",
  77. },
  78. {
  79. heading: "Contact information",
  80. text: `Have a valid and reachable e-mail address for inquiries ("business e-mail"). We may contact you through that address. And in cases of legal matters, it is generally preferable to receive e-mails through your own address rather than through your web host's abuse contact. You shoud also have a contact account ("Contact username") though it does not have to be your personal account.`,
  81. },
  82. ]}
  83. />
  84. <hr className="my-16 border-gray-3" />
  85. <CovenantSection
  86. heading="Incompatible policies"
  87. description="There are some things you should avoid if you want us to promote your server:"
  88. rules={[
  89. {
  90. heading: "Blocking major e-mail providers",
  91. text: "Most people only have one e-mail address and few are willing to create a new one to satisfy the requirements of a social network they are checking out. Avoid blocking sign-ups from major e-mail providers like GMail, Outlook and so on, as this creates an incredibly frustrating onboarding experience that reflects badly on Mastodon as a whole.",
  92. },
  93. {
  94. heading: "Running in limited-federation mode",
  95. text: "Mastodon is a decentralized social network and we are interested in promoting decentralization. While we respect the use cases of running Mastodon without federation in academic and private contexts, users arriving through our page should be able to participate in the Mastodon network without excessive limitations.",
  96. },
  97. ]}
  98. />
  99. <hr className="my-16 border-gray-3" />
  100. <CovenantSection
  101. heading="After submission"
  102. description="Submissions are reviewed manually. Our service periodically checks if your server is up and if it is accepting sign-ups. We only show servers that are up and accepting sign-ups."
  103. />
  104. <Head>
  105. <title>Mastodon Server Covenant - Mastodon</title>
  106. <meta
  107. property="og:title"
  108. content="Mastodon Server Covenant for joinmastodon.org"
  109. />
  110. </Head>
  111. </BasicPage>
  112. </div>
  113. </Layout>
  114. )
  115. const CovenantSection = ({
  116. heading,
  117. description,
  118. rules,
  119. }: {
  120. heading?: string
  121. description?: React.ReactNode | string
  122. rules?: { heading: string; text: string }[]
  123. }) => {
  124. return (
  125. <section>
  126. {heading && <h2 className="h4">{heading}</h2>}
  127. {description && <p className="mt-4">{description}</p>}
  128. {rules && (
  129. <ol className="mt-8 list-inside list-decimal space-y-4">
  130. {rules.map((rule) => {
  131. return (
  132. <li key={rule.heading}>
  133. <h2 className="inline font-bold">{rule.heading}</h2>
  134. <p className="mt-2 ">{rule.text}</p>
  135. </li>
  136. )
  137. })}
  138. </ol>
  139. )}
  140. </section>
  141. )
  142. }
  143. export default Covenant