Skip to content

Commit 15565f1

Browse files
committed
docs: add http_debugger and socket_io_debugger badges to README
1 parent 82111ed commit 15565f1

File tree

2 files changed

+63
-51
lines changed

2 files changed

+63
-51
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@
2727
<p align="center">
2828
<a href="https://pub.dev/packages/network_debugger"><img src="https://img.shields.io/pub/v/network_debugger.svg" alt="network_debugger on pub.dev" /></a>
2929
<a href="https://pub.dev/packages/dio_debugger"><img src="https://img.shields.io/pub/v/dio_debugger.svg" alt="dio_debugger on pub.dev" /></a>
30+
<a href="https://pub.dev/packages/http_debugger"><img src="https://img.shields.io/pub/v/http_debugger.svg" alt="http_debugger on pub.dev" /></a>
3031
<a href="https://pub.dev/packages/web_socket_debugger"><img src="https://img.shields.io/pub/v/web_socket_debugger.svg" alt="web_socket_debugger on pub.dev" /></a>
3132
<a href="https://pub.dev/packages/web_socket_channel_debugger"><img src="https://img.shields.io/pub/v/web_socket_channel_debugger.svg" alt="web_socket_channel_debugger on pub.dev" /></a>
33+
<a href="https://pub.dev/packages/socket_io_debugger"><img src="https://img.shields.io/pub/v/socket_io_debugger.svg" alt="socket_io_debugger on pub.dev" /></a>
3234
</p>
3335

3436
![Запись экрана 2025-10-02 в 13 06 06](https://github.com/user-attachments/assets/43044ece-e6b4-4702-80bc-0584e844c042)

frontend/lib/features/landing/presentation/pages/integrations_page.dart

Lines changed: 61 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -602,32 +602,34 @@ class _IntegrationsPageState extends State<IntegrationsPage> {
602602
'Fedora/RHEL: place in /etc/pki/ca-trust/source/anchors/ and run update-ca-trust extract (root)',
603603
),
604604
],
605-
const SizedBox(height: 12),
606-
const SelectableText('Option B (CLI):'),
607-
const SizedBox(height: 8),
608-
if (Platform.isMacOS)
609-
TerminalCommand(
610-
command:
611-
'sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ' +
612-
_quoteForShell(_suggestedCAPath()),
613-
)
614-
else if (Platform.isWindows)
615-
TerminalCommand(
616-
command:
617-
'certutil -user -addstore Root ' +
618-
_quoteForShell(_suggestedCAPath()),
619-
)
620-
else if (Platform.isLinux) ...[
621-
TerminalCommand(
622-
command:
623-
'sudo cp ' +
624-
_quoteForShell(_suggestedCAPath()) +
625-
' /usr/local/share/ca-certificates/',
626-
),
627-
const SizedBox(height: 4),
628-
const TerminalCommand(
629-
command: 'sudo update-ca-certificates',
630-
),
605+
if (_lastCAPath != null) ...[
606+
const SizedBox(height: 12),
607+
const SelectableText('Option B (CLI):'),
608+
const SizedBox(height: 8),
609+
if (Platform.isMacOS)
610+
TerminalCommand(
611+
command:
612+
'sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ' +
613+
_quoteForShell(_suggestedCAPath()),
614+
)
615+
else if (Platform.isWindows)
616+
TerminalCommand(
617+
command:
618+
'certutil -user -addstore Root ' +
619+
_quoteForShell(_suggestedCAPath()),
620+
)
621+
else if (Platform.isLinux) ...[
622+
TerminalCommand(
623+
command:
624+
'sudo cp ' +
625+
_quoteForShell(_suggestedCAPath()) +
626+
' /usr/local/share/ca-certificates/',
627+
),
628+
const SizedBox(height: 4),
629+
const TerminalCommand(
630+
command: 'sudo update-ca-certificates',
631+
),
632+
],
631633
],
632634
],
633635
),
@@ -705,31 +707,6 @@ class _IntegrationsPageState extends State<IntegrationsPage> {
705707
),
706708
),
707709
const SizedBox(height: 16),
708-
if (!(_sysProxy && _hasCA))
709-
Card(
710-
child: Padding(
711-
padding: const EdgeInsets.all(16),
712-
child: Column(
713-
crossAxisAlignment: CrossAxisAlignment.start,
714-
children: const [
715-
SelectableText(
716-
'Step 4. Verification',
717-
style: TextStyle(fontWeight: FontWeight.w600),
718-
),
719-
SizedBox(height: 8),
720-
_Bullet(
721-
text:
722-
'Open any HTTPS website/client — requests will appear in the inspector',
723-
),
724-
_Bullet(
725-
text:
726-
'Apps with certificate pinning will not allow MITM — use dev builds without pinning',
727-
),
728-
],
729-
),
730-
),
731-
),
732-
const SizedBox(height: 16),
733710

734711
if (nativeAutomationAvailable() &&
735712
_sysProxy &&
@@ -763,6 +740,39 @@ class _IntegrationsPageState extends State<IntegrationsPage> {
763740
),
764741
),
765742
),
743+
const SizedBox(height: 12),
744+
Card(
745+
child: Padding(
746+
padding: const EdgeInsets.all(16),
747+
child: Row(
748+
crossAxisAlignment: CrossAxisAlignment.start,
749+
children: [
750+
Icon(Icons.info_outline, color: cs.onSurfaceVariant),
751+
const SizedBox(width: 12),
752+
const Expanded(
753+
child: Column(
754+
crossAxisAlignment: CrossAxisAlignment.start,
755+
children: [
756+
SelectableText(
757+
'Verification',
758+
style: TextStyle(fontWeight: FontWeight.w600),
759+
),
760+
SizedBox(height: 8),
761+
_Bullet(
762+
text:
763+
'Open any HTTPS website/client — requests will appear in the inspector',
764+
),
765+
_Bullet(
766+
text:
767+
'Apps with certificate pinning will not allow MITM — use dev builds without pinning',
768+
),
769+
],
770+
),
771+
),
772+
],
773+
),
774+
),
775+
),
766776
],
767777
),
768778
),

0 commit comments

Comments
 (0)