Skip to content

feat: add Real-Debrid API client for premium download speeds#325

Open
mvanhorn wants to merge 6 commits into
SurgeDM:mainfrom
mvanhorn:feat/debrid-integration
Open

feat: add Real-Debrid API client for premium download speeds#325
mvanhorn wants to merge 6 commits into
SurgeDM:mainfrom
mvanhorn:feat/debrid-integration

fix: reduce host cache TTL to 5min and use consistent time reference

491e35e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 20, 2026 in 29s

Annotations

Check failure on line 387 in internal/tui/view_settings.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=SurgeDM_Surge&issues=AZ2siq1FhIxN7G5tMq4J&open=AZ2siq1FhIxN7G5tMq4J&pullRequest=325

Check failure on line 335 in internal/tui/view_settings.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=SurgeDM_Surge&issues=AZ2siq1FhIxN7G5tMq4I&open=AZ2siq1FhIxN7G5tMq4I&pullRequest=325

Check failure on line 592 in internal/tui/view_settings.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=SurgeDM_Surge&issues=AZ2siq1FhIxN7G5tMq4L&open=AZ2siq1FhIxN7G5tMq4L&pullRequest=325

Check failure on line 428 in internal/tui/view_settings.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=SurgeDM_Surge&issues=AZ2siq1FhIxN7G5tMq4K&open=AZ2siq1FhIxN7G5tMq4K&pullRequest=325

Check failure on line 18 in internal/tui/view_settings.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 38 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=SurgeDM_Surge&issues=AZ2siq1FhIxN7G5tMq4H&open=AZ2siq1FhIxN7G5tMq4H&pullRequest=325