diff --git a/README.md b/README.md index 401d15f..d551ff3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Matrix Public Archive +# Matrix Public Archive (Stealth Edition) Join the community and get support at #matrix-public-archive:matrix.org @@ -7,7 +7,7 @@ Gitter](https://github.com/vector-im/roadmap/issues/26), the goal is to make a public archive site for `world_readable` Matrix rooms like Gitter's archives which search engines can index and keep all of the content accessible/available. -#### Try it out: [archive.matrix.org](https://archive.matrix.org/) 🌌 +#### Try it out: [matrix-archive.evulid.cc](https://matrix-archive.evulid.cc/) 🌌 Room directory homepage | Archive room view @@ -16,7 +16,7 @@ Room directory homepage | Archive room view ## Demo videos -- [![](https://user-images.githubusercontent.com/558581/206083768-d18456de-caa3-463f-a891-96eed8054686.png) May 2023](https://www.youtube.com/watch?v=4KlNILNItGQ&t=1046s): Introducing [archive.matrix.org](https://archive.matrix.org/), the shiny new public instance of the Matrix Public Archive that everyone can share and link to. +- [![](https://user-images.githubusercontent.com/558581/206083768-d18456de-caa3-463f-a891-96eed8054686.png) May 2023](https://www.youtube.com/watch?v=4KlNILNItGQ&t=1046s): Introducing [matrix-archive.evulid.cc](https://matrix-archive.evulid.cc/), the shiny new public instance of the Matrix Public Archive that everyone can share and link to. - [![](https://user-images.githubusercontent.com/558581/206083768-d18456de-caa3-463f-a891-96eed8054686.png) Aug 2022](https://www.youtube.com/watch?v=6KHQSeJTXm0&t=583s) ([blog post](https://matrix.org/blog/2022/08/05/this-week-in-matrix-2022-08-05#matrix-public-archive-website)): A quick intro of what the project looks like, the goals, what it accomplishes, and how it's a new portal into the Matrix ecosystem. - [![](https://user-images.githubusercontent.com/558581/206083768-d18456de-caa3-463f-a891-96eed8054686.png) Oct 2022](https://www.youtube.com/watch?v=UT6KSEqDUf8&t=548s): Showing off the room directory landing page used to browse everything available in the archive. diff --git a/docs/faq.md b/docs/faq.md index 0cec888..42677f7 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -3,7 +3,7 @@ ## Can I run my own instance? Yes! We host a public canonical version of the Matrix Public Archive at -[archive.matrix.org](https://archive.matrix.org/) that everyone can use but feel free to +[matrix-archive.evulid.cc](https://matrix-archive.evulid.cc/) that everyone can use but feel free to also run your own instance (setup instructions in the [readme](../README.md)). ## How is this different from [`view.matrix.org`](https://view.matrix.org/)? @@ -34,7 +34,7 @@ Forbidden` in that case. The Matrix Public Archive doesn't hold onto any data (it's stateless) and requests the messages from the homeserver every time. The -[archive.matrix.org](https://archive.matrix.org/) instance has some caching in place, 5 +[matrix-archive.evulid.cc](https://matrix-archive.evulid.cc/) instance has some caching in place, 5 minutes for the current day, and 2 days for past content. The Matrix Public Archive only allows rooms with `world_readable` history visibility to diff --git a/test/server/matrix-utils/get-server-name-from-matrix-room-id-or-alias-tests.js b/test/server/matrix-utils/get-server-name-from-matrix-room-id-or-alias-tests.js index 8eaa992..5060b33 100644 --- a/test/server/matrix-utils/get-server-name-from-matrix-room-id-or-alias-tests.js +++ b/test/server/matrix-utils/get-server-name-from-matrix-room-id-or-alias-tests.js @@ -14,8 +14,8 @@ describe('getServerNameFromMatrixRoomIdOrAlias', () => { }, { name: 'can parse sub-domain', - input: '!foo:archive.matrix.org', - expected: 'archive.matrix.org', + input: '!foo:matrix-archive.evulid.cc', + expected: 'matrix-archive.evulid.cc', }, { name: 'can parse domain with port', diff --git a/test/test-utils/parse-archive-url-for-room.js b/test/test-utils/parse-archive-url-for-room.js index eada9b4..784981e 100644 --- a/test/test-utils/parse-archive-url-for-room.js +++ b/test/test-utils/parse-archive-url-for-room.js @@ -4,7 +4,7 @@ const { VALID_ENTITY_DESCRIPTOR_TO_SIGIL_MAP, } = require('matrix-public-archive-shared/lib/reference-values'); -// http://archive.matrix.org/r/some-room:matrix.org/date/2022/11/16T23:59:59?at=$xxx +// http://matrix-archive.evulid.cc/r/some-room:matrix.org/date/2022/11/16T23:59:59?at=$xxx function parseArchiveUrlForRoom(archiveUrlForRoom) { const urlObj = new URL(archiveUrlForRoom); const urlPathname = urlObj.pathname;