Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtime display logs with front-end support, using fastapi & jquery … #276

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

costlife
Copy link

@costlife costlife commented Mar 8, 2025

Features

  • Add front-end support
  • Display the result using streaming.

Influence
2 extra python libraries are required.
fastapi~=0.115.11
starlette~=0.46.0

Result
image

Other
Using log_interceptor, so that's why it works. no more modified in the codebase.

@costlife
Copy link
Author

costlife commented Mar 8, 2025

Simply run:

python web_server.py

and you'll instantly get an elegant, user-friendly front-end experience.

@str02
Copy link

str02 commented Mar 9, 2025

http://127.1.0.0:8000/out windwos

@costlife
Copy link
Author

http://127.1.0.0:8000/out windwos

Sorry,I don't understand, what does it mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants