Skip to content

[Mostly Vibe Coded] Add account info endpoint and improve documentation#6

Merged
WorldObservationLog merged 13 commits intoWorldObservationLog:mainfrom
glomatico:main
Nov 28, 2025
Merged

[Mostly Vibe Coded] Add account info endpoint and improve documentation#6
WorldObservationLog merged 13 commits intoWorldObservationLog:mainfrom
glomatico:main

Conversation

@glomatico
Copy link
Copy Markdown

  • Add HTTP account info endpoint for getting the storefront, dev token, and music token of the current account.
  • Add build from source instructions on README.
  • Adjust Dockerfile to use debian:stable-slim instead of Ubuntu.

@glomatico glomatico changed the title [Vibe Coded] Add account info endpoint and improve documentation [Mostly Vibe Coded] Add account info endpoint and improve documentation Nov 28, 2025
Comment thread main.c Outdated
static char *g_dev_token = NULL;
static char *g_music_token = NULL;

// Forward declarations
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code in the forward declarations section is redundant.

Comment thread main.c Outdated
pthread_detach(m3u8_thread);

pthread_t account_thread;
struct shared_ptr *ctx_ptr = (struct shared_ptr *)malloc(sizeof(struct shared_ptr));
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to obtain the ctx_ptr. Just simply pass NULL in pthread_create.

    pthread_t account_thread;
    pthread_create(&account_thread, NULL, &new_socket_account, NULL);
    pthread_detach(account_thread);

@glomatico
Copy link
Copy Markdown
Author

ok

@WorldObservationLog WorldObservationLog merged commit 2d5318e into WorldObservationLog:main Nov 28, 2025
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