Please do not post questions in the shout-box as it will be lost in a few days. Open your own topic in the appropriate section. Thank you.

Recent posts

#51
PhantomSDR Software / Phantom and the RAM !
Last post by F1NSK - Feb 08, 2026, 10:56 AM
Hello everybody

Its not a bug, just a remark

I've start my Core I7 server with 8Go RAM.
The stats show 1.6 RAM use and about 23% CPU use

I've push the RAM to 16Go ...
The stats show now the same 1.6 RAM use but the CPU use dropdown to  11/12% !

I use OpenCL and the comparative is made with the same number of users.

The CPU temp dropdown equally when I push the RAM. A green safe temp about 60/65°

It seems that the power of the CPU can be low, Core I3 for example if you have a lot of RAM

73's
#52
General Discussion / Re: Removing the version switc...
Last post by F1NSK - Feb 08, 2026, 10:28 AM
Hello Emmanuel

I will make the mods on the old server and give you the feedback. Quiete and safe.  ;D

The production server is helpfull for my friends in France and they appreciate your job.

The audio spectrum is a fantastic tool for equalizer tuning !

Phantom 1s a really nice project !

73's
#53
General Discussion / Re: Removing the version switc...
Last post by Emmanuel SV1BTL - Feb 08, 2026, 12:16 AM
Quote from: F1NSK on Feb 07, 2026, 10:53 PMI've made the mod but frontend won't compile...

Well, it is rather difficult to understand your situation. Before writing down this solution, I've made the modification to my server and worked as expected.
There is nothing else to do, but to "say" to *.svelte file not to build the window with the function. The only thing I can suggest that a copy-paste error is done. Maybe to try once more keeping of course a backup. If any errors during compile occur, please paste them here to help me to understand.
#54
General Discussion / Re: Removing the version switc...
Last post by F1NSK - Feb 07, 2026, 11:36 PM
I've run install.sh from the Phantom directory.

The first time, error 404 again.
install.sh a second time an now the server work fine ....

Mistery !  ;D
#55
General Discussion / Re: Removing the version switc...
Last post by F1NSK - Feb 07, 2026, 10:53 PM
I've made the mod but frontend won't compile... ::)

I've return to the original file. compile run ok

But now i'm sticked to error 404 !  :D  :D

My old core I5 compiled with a fresh standard files give me the same error 404

The requested URL / was not found on this server.

I'm lost !  ;D  ;D 
#56
General Discussion / Re: Removing the version switc...
Last post by Emmanuel SV1BTL - Feb 07, 2026, 02:01 PM
Quote from: F1NSK on Feb 06, 2026, 04:07 PMI want run only V2 Analog and remove the version choice menu

  • Choose what app.svelte you'll use - in your case App__v2_analog_smeter_.svelte.
  • Open an editor and find this section (around line 3615:
  {#if !Device.isMobile}
    <VersionSelector />
  {/if}

  • Comment it:
<!--
{#if !Device.isMobile}
  <VersionSelector />
{/if}
-->
and save.

  • Recompile frontend as usual, selecting THIS .svelte to be your default. Select ALL when prompt.

All versions are build, but in the default version there will be no more the window to select them.
#57
General Discussion / Removing the version switch
Last post by F1NSK - Feb 06, 2026, 04:07 PM
Hello

I want run only V2 Analog and remove the version choice menu.  :o

Probably in app.svelte ?
I've made several mods but they don't work !  ;D  ;D

A little Help ?

73's
#58
PhantomSDR Wishlist / Re: Chat messages log with IP-...
Last post by F1NSK - Feb 05, 2026, 02:37 PM
Sorry ! Don't Work on a new session ! Bad way !  ::)
#59
PhantomSDR Wishlist / Re: Chat messages log with IP-...
Last post by F1NSK - Feb 05, 2026, 01:32 PM
Hello Bas

I've not find the solution but something useful.

In /src/chat.cpp

std::string ChatClient::get_or_generate_username(const std::string& user_id) {
    auto it = user_id_to_name.find(user_id);
    if (it != user_id_to_name.end()) {
        return it->second;
    } else {
        std::hash<std::string> hasher;
        auto hashed = hasher(user_id);
        std::string numeric_part = std::to_string(hashed).substr(0, 6);
        std::string username = "Call?" + numeric_part;

// Check if the username is blocked
    if (!is_valid_username(username)) {
        // Generate a random username
        std::string random_username = "Call?" + std::to_string(rand() % 1000000);
        printf("Blocked username '%s' detected. Assigned random username: %s\n", username.c_str(), random_username.c_str());
        username = random_username;

I've replaced "user" by "Call?"

Now the Chatbox show : Chatting as [Anonymous] and you can't post a message

This force a name or Call to be registred before posting

I will study Chat.cpp for made something better but i'm not an expert with code !  :)  :)

73's

#60
PhantomSDR Software / Phantom server remote admin.
Last post by F1NSK - Feb 05, 2026, 01:01 PM
Hello Guys

It' not the century idea  :)  but useful if your server is in remote location.

I've loaded AnyDesk on my server and open a permanent session.

Works fine with a very litte CPU load.

73's
Powered by EzPortal