Commit Graph

365 Commits

Author SHA1 Message Date
dba8410146 feat: default accounts appear on homepage if not following an account 2025-11-22 15:19:12 -03:00
73360e6972 feat: added homepage feed showing followed accounts 2025-11-21 23:03:58 -03:00
443996df96 fix: don't show search panel when viewing quote tweets 2025-11-20 08:00:47 -03:00
441ea68fd7 chore+feat(css): added styling for follow button and new search in navbar 2025-11-19 21:06:36 -03:00
2fd13de8e1 feat: added following system using cookies 2025-11-19 18:09:37 -03:00
5a79ec025a feat(pref): add ability to hide NSFW content 2025-11-19 12:28:26 -03:00
4df434a7c6 fix(ui): added indication for dropdown in prefences 2025-11-18 19:24:23 -03:00
57a1fc6820 feat(pref): add ability to hide verfied badges 2025-11-18 19:23:45 -03:00
3167cab01d feat: minor css and nim layout changes 2025-11-17 14:36:32 -03:00
6ef9816c4f chore(md): added instance description in about.md with donation paths to instance maintainer 2025-11-17 12:53:24 -03:00
Kuu7o
9c8310f473 Merge remote-tracking branch 'upstream/master' 2025-11-17 10:10:27 -03:00
Zed
824a7e346a Fix rss icon tag 2025-11-17 12:08:44 +01:00
Zed
bb6eb81a20 Add support for tweet views 2025-11-17 10:59:50 +01:00
Kuu7o
2feed68232 Fix quoted tweet RSS strucutre
Some checks failed
Docker / tests (push) Has been cancelled
Docker / build-docker-amd64 (push) Has been cancelled
Docker / build-docker-arm64 (push) Has been cancelled
2025-11-16 19:24:17 -03:00
Andre Gil
039f637cae Include quoted tweet body in RSS 2025-11-16 19:22:03 -03:00
Faye Duxovni
95236b4f15 Don't try to render unavailable tweets in RSS feeds
Some checks failed
Docker / tests (push) Has been cancelled
Docker / build-docker-amd64 (push) Has been cancelled
Docker / build-docker-arm64 (push) Has been cancelled
Fixes #868.

Conflicts:
  src/views/rss.nimf
2025-11-16 19:11:13 -03:00
IRUZZ
c3e818f5bd Add button to view quote tweets
Some checks failed
Docker / tests (push) Has been cancelled
Docker / build-docker-amd64 (push) Has been cancelled
Docker / build-docker-arm64 (push) Has been cancelled
2025-11-16 18:51:47 -03:00
Zed
32b04a772b Include pinned tweets in RSS
Fixes #1262
2025-11-15 06:57:15 +01:00
Zed
b9af77a9bd Change main page search to "Tweets" search 2025-02-05 19:28:10 +01:00
Zed
7728899948 Add lazy loading for images 2025-02-05 03:18:49 +01:00
jackyzy823
cdff5e9b1c Fix for #1147, Proxy for audio URL and upgrade hls.js (#1178)
* Revert "Fix broken video playback by forcing fmp4"

This reverts commit 52db03b73a.

* Fix audio url in video m3u8

* Upgrade hls.js to 1.5.1 and use full version
2024-02-21 23:10:54 +00:00
Zed
a9740fec8b Fix compilation with old Nim again 2023-11-25 10:11:57 +00:00
Zed
f8254c2f0f Add support for business and gov verification
Also improve icon rendering on Firefox
2023-11-25 10:07:28 +00:00
Zed
f881226b22 Fix video embed 2023-07-14 21:35:43 +02:00
Zed
b290f6fd29 Optimize timeline data structure 2023-07-12 01:34:39 +02:00
Zed
0bc3c153d9 Fix everything (#927)
* Switch bearer token and endpoints, update parser

* Enable user search, disable tweet search

* Disable multi-user timelines for now

* Fix parsing of pinned tombstone
2023-07-10 11:25:34 +02:00
Zed
1ac389e7c7 GraphQL timeline (#812)
* Update deps

* Replace profile timeline with GraphQL endpoint

* Update GraphQL endpoint versions

* Use GraphQL for profile media tab

* Fix UserByRestId request

* Improve routing, fixes #814

* Fix token pool JSON

* Deduplicate GraphQL timeline endpoints

* Update list endpoints

* Use GraphQL for list tweets

* Remove debug leftover

* Replace old pinned tweet endpoint with GraphQL

* Validate tweet ID

* Minor token handling fix

* Hide US-only commerce cards

* Update config example

* Remove http pool and gzip from token pool

* Support tombstoned tweets in threads

* Retry GraphQL timeout errors

* Remove unnecessary 401 retry

* Remove broken timeout retry

* Update karax, use new bool attribute feature

* Update card test

* Fix odd edgecase with broken retweets

* Replace search endpoints, switch Bearer token

* Only parse user search if it's a list

* Fix quoted tweet crash

* Fix empty search query handling

* Fix invalid user search errors again
2023-04-21 14:41:30 +02:00
Zed
670a3bca6e Revert "Revert "Replace tweet endpoint with GraphQL""
This reverts commit 36c72f9860.
2023-02-24 01:01:22 +01:00
Zed
36c72f9860 Revert "Replace tweet endpoint with GraphQL"
This reverts commit 19adc658c3.
2023-02-02 12:38:58 +01:00
Zed
19adc658c3 Replace tweet endpoint with GraphQL 2023-02-02 12:31:49 +01:00
Zed
cd163b26a3 Use webp for thumbnails when available 2023-01-09 00:29:59 +01:00
Zed
78b6877b02 Add "Search (...)" to tab title
Fixes #247
2022-11-27 16:19:30 +01:00
Zed
096d44856f Remove Location field autofocus from search panel 2022-11-27 16:06:36 +01:00
Zed
85316f8f8d Reduce usage of strformat, minor perf improvement 2022-11-27 15:50:08 +01:00
HookedBehemoth
5e827c91aa emit body and doctype on iframe embed endpoint (#640) 2022-06-16 18:46:41 +02:00
Zed
21e8f04fa4 Use strformat more 2022-06-04 02:18:26 +02:00
Zed
6709f6f1b5 Fix "playback disabled" message 2022-06-04 01:32:02 +02:00
Zed
2a5541c126 Merge branch 'fork-graveyard/master' 2022-06-04 01:23:55 +02:00
Zed
90135d44e1 Merge branch 'original-image-urls' 2022-06-04 00:47:56 +02:00
girst
e2b8e17f85 use largest resolution mp4 video available 2022-05-18 19:52:17 +02:00
girst
0633ec2c39 Prefer mp4 to m3u8 for Video Playback if proxyVideos is off
m3u8 videos only work when the proxy is enabled. Further, this allows
video playback without Javascript.

This is only done when proxying is disabled to avoid excessive memory
usage on the nitter instance that would result from loading longer
videos in a single chunk.
2022-05-18 19:51:38 +02:00
Zed
683c052036 Fix placeholders in photo rail 2022-05-13 20:31:42 +02:00
Curtis
baf5bf89e7 Implement requested changes 2022-02-26 19:00:06 -05:00
110Percent
b031ea762e Add source label to main tweets 2022-02-26 13:37:17 -05:00
jackyzy823
67c937a3a2 ignore banner url startwith hash in link preload 2022-02-14 14:47:01 +01:00
niladic
3e2756df6f Fix RSS <source> tag 2022-02-11 08:50:32 +01:00
decoy-walrus
644fe41a08 Use the correct format string for fetching files from twitter.
Per their docs https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities#photo_format
2022-02-08 14:50:56 -05:00
decoy-walrus
4cdb8f78cb Add new endpoint for original resolution images
This change is to work around the issue that chromium based browsers have handling the "name=orig" parameter appended to URLs. This parameter is needed to retrieve the full resolution image from twitter, but causes those browsers to fill in "jpg_name=orig" as the extension on the filename.

This change adds a new endpoint, "/pic/orig/<encoded media>". This new endpoint will internally fetch the URL with ":orig" appended on the end for the full res image. Externally, the endpoint will serve the image without the extra parameter to expose the real extension to the browser.

This new endpoint is used when rendering tweets with attached images. The old endpoint is still in place for all other proxied images, and for any legacy links.

I also updated the "?name=small" parameter to ":small" since that seems to be the new pattern for image sizing.

This should fix issue #458.
2022-02-07 16:21:20 -05:00
Mitarashi
e01f3960cb Embed CSS tweak 2022-02-05 19:43:13 +02:00
Zed
b1a90cd52b Disable input autocomplete
Fixes #433
2022-01-30 17:19:00 +01:00