Commit graph

47 commits

Author SHA1 Message Date
Nikita Karamov
8d44d9b4d4
Reduce amount of placeholders 2024-02-12 19:24:08 +01:00
Nikita Karamov
e6c4c42590
Hide "Prevously used" if there are no previously used instances 2023-09-02 22:40:38 +02:00
Nikita Karamov
2bc66c7f04
Update to Astro v3 2023-09-02 22:15:57 +02:00
Nikita Karamov
0f95c6ec58
Add OG tags 2023-09-02 21:57:01 +02:00
Nikita Karamov
725d7316c4
Replace /api/share with / + errors 2023-09-02 21:57:01 +02:00
Nikita Karamov
9828b123d9
Move form to page 2023-09-02 21:57:00 +02:00
Nikita Karamov
12aa0823d9
Move non-form content to Layout 2023-09-02 21:57:00 +02:00
Nikita Karamov
6fdeee1269
Better API code structure 2023-09-02 21:57:00 +02:00
Nikita Karamov
a5c41729c1
Update licence to AGPL-3.0-only 2023-09-02 21:57:00 +02:00
Nikita Karamov
e2208315d4
Improve caching 2023-09-02 21:56:59 +02:00
Nikita Karamov
0a6b2f7ae2
Rewrite licence and privacy as components 2023-09-02 21:56:55 +02:00
Nikita Karamov
84af92f7e7
Remove Pleroma support
Apparently, there is no endpoint in Pleroma-FE that we could use :(

See also: https://github.com/kytta/share2fedi/issues/44
2023-09-02 21:56:55 +02:00
Nikita Karamov
8c47346470
Fix pre-commit.ci 2023-09-02 21:56:54 +02:00
Nikita Karamov
ccc2f2376e
Add Russian locale 2023-09-02 21:56:54 +02:00
Nikita Karamov
89bb338065
Implement translations
See also: https://github.com/kytta/share2fedi/pull/43
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
2023-09-02 21:56:54 +02:00
Nikita Karamov
31d95aa834
Remove 'New' badge 2023-09-02 21:56:54 +02:00
Nikita Karamov
8439c8835d
Add GlitchCafe support 2023-09-02 21:56:53 +02:00
Nikita Karamov
762dd8051b
Add Misskey forks support 2023-09-02 21:56:53 +02:00
Nikita Karamov
6971f4e40f
Add Fedibird support 2023-09-02 21:56:53 +02:00
Nikita Karamov
af241cfce9
Refactor /api/detect/[] 2023-09-02 21:56:53 +02:00
Nikita Karamov
256aa8fbd0
Improve /api/instances 2023-09-02 21:56:53 +02:00
Nikita Karamov
ce3e19626f
Normalize domain on /api/share 2023-09-02 21:56:50 +02:00
Nikita Karamov
56db514d15
Extract form as a separate component 2023-09-02 21:56:50 +02:00
Nikita Karamov
f0df611c16
Rearrange files 2023-09-02 21:56:50 +02:00
Nikita Karamov
343fcd7bc9
Extract layout 2023-09-02 21:56:50 +02:00
Nikita Karamov
e4feeb5903
Fix link to manifest 2023-09-02 21:56:49 +02:00
Nikita Karamov
b556e7f12d
Remove GoatCounter 2023-09-02 21:56:49 +02:00
Nikita Karamov
ea48a7f29a
Extract license and privacy policy into separate pages 2023-09-02 21:56:49 +02:00
Nikita Karamov
4842d9954f
Implement Hometown support 2023-09-02 21:56:48 +02:00
Nikita Karamov
f4506ae4bc
Detect Akkoma as Pleroma 2023-09-02 21:56:48 +02:00
Nikita Karamov
2ad24a91da
Improve instance detection
Instance detection is now based on NodeInfo, which is standardized and
lighterweight.
2023-09-02 21:56:48 +02:00
Nikita Karamov
6d4eca0131
Improve instance list
This now returns the list of instances of multiple Fediverse projects.
Currently pretty slow because of the Mastodon and Pleroma being too big.
2023-09-02 21:56:48 +02:00
Nikita Karamov
effac10b7e
Mention other networks 2023-09-02 21:56:47 +02:00
Nikita Karamov
546c9029aa
Make detect return 404 instead of 400 2023-09-02 21:56:47 +02:00
Nikita Karamov
4dfe43918f
Add Misskey (untested) 2023-09-02 21:56:47 +02:00
Nikita Karamov
cb0fc3e11d
Kinda implement Hubzilla? 2023-09-02 21:56:47 +02:00
Nikita Karamov
e1aa6966c0
Use a stricter TypeScript config 2023-09-02 21:56:47 +02:00
Nikita Karamov
4031a76291
Use a more specific path for GNU Social 2023-09-02 21:56:47 +02:00
Nikita Karamov
2c8a6c7da8
Implement Friendica 2023-09-02 21:56:46 +02:00
Nikita Karamov
808ab27ed4
Return empty list if no instances could be fetched 2023-09-02 21:56:46 +02:00
Nikita Karamov
f811ba371d
Add copyright notices 2023-09-02 21:56:45 +02:00
Nikita Karamov
9771d67af9
Re-add GoatCounter script 2023-09-02 21:56:45 +02:00
Nikita Karamov
47c498ad2e
Re-implement prefilling instance and text 2023-09-02 21:56:44 +02:00
Nikita Karamov
378351a5d8
Add host detection
This re-implements the posting that was achieved in v3.
2023-09-02 21:56:44 +02:00
Nikita Karamov
6f338966d7
Fix lint error 2023-09-02 21:56:44 +02:00
Nikita Karamov
d3fb510bbb
Rewrite the instance selector
This commit adds a new '/api/instances' endpoint that returns
the domains of the available Mastodon instances. This also changes the
input field, making it accept a host rather than the full domain.
2023-09-02 21:56:43 +02:00
Nikita Karamov
6031d959ea
Migrate HTML file and basic API functionality 2023-09-02 21:56:43 +02:00