all the info in the readme.md
#KRS PHONE
1 messages · Page 1 of 1 (latest)
👊
Nice! 🤝
Thanks so much brother
react b4 you learn about state management libraries 🥀
What is the problem?
I've been developing with React for about 4 months, and I don't see what the problem is if I choose to use React or any other technology to learn and improve.
Unfortunately, I often see people who are quick to criticize or belittle other people's work instead of offering constructive feedback. If you don't like the project, you're completely free not to download it or use it.
On top of that, Krs Phone is a completely free and open-source resource, released so that anyone can study it, modify it, and contribute to its growth. Those who want to use it are welcome to do so; those who aren't interested can simply move on.
I'm honestly tired of people who always think they're better than everyone else. I've never been able to stand that kind of attitude. Everyone starts somewhere, and the point should be helping each other improve, not trying to put others down.
Have a good day. 👍
If that was supposed to be bait, then that's fine. My point still stands. I released Krs Phone for free and open source so people can learn from it and improve it. Constructive feedback is always welcome, pointless criticism isn't. 👍
why did you immediately take offense
I mean you could've said something nice and productive but instead you decided to be a little stinker 
The response is completely understandable
Or maybe yous should grow a pair between them legs and understand that not everything in life is an attack but instead maybe a joke with some criticism baked in
♥️
@split frost can you add me ? Sorry for the tag ❤️
Yes Bro
good job karos
Thanks so much brother
What technologies did you use? I haven't been able to see the project in detail, specifically the interface.
Hey Marco! For the interface, I built it using React (with TypeScript) and Mantine UI for the components and styling. It really helps to get that clean, smooth iOS look!
Thank you for your contribution to the community; it's truly a pleasure to have developers like you.
Thanks so much brother ❤️
@split frost any plans on making an android UI at all bro
No, not for Android at the moment. I'll try to work on that later when I have some free time.
THIS IS QBOX?
Looks nice! Good job 👍🏼
okay
Do we have to remove npwd
is there any need for depency or anything??
So, if you read the readme.md file carefully, the krs_phone isn't complete. I've left a basic guide for everyone to create a phone.
So you need to at least know the basics of building it. If you don't know how, you'd better keep npwd.
Para el tema de las imágenes y vídeos es por fivemanage? @split frost
At the moment I'm using screenshot-basic, but I'm still trying to understand how LB-Phone manages to display the game camera inside the phone, and also how they show the player in selfie mode. I'm curious about the technique they're using because I'd like to implement something similar in my own phone system.
Use framer and screenshot
I now how to build it bro .
I dont have any problem for building it .
Perfect brother, I didn't mean to be rude, I apologize if I expressed myself badly ❤️
No maybe i ask my question wrong . Sry for my english .
I ask is this phone cover all npwd functions?
It doesn't support all these things yet, and it has to be built gradually, but I'm trying to expand it little by little
Any help u need i can contrabiute
No bro, the apps are not updated you have to do it yourself
What I'm doing is not finished
Okay
@split frost Nice phone, but please add Instagram integration, Discord webhook support, a camera system, emergency phone numbers, and messaging.
Also add an active job sign/status and more future features for the phone.
yes later I will add all these things guys, as I continue it
@split frost I want to add Bangladeshi phone numbers. Could you please provide the phone number format for that?
Bangladeshi numbers look like this: 01963283659
@long aspen Test it
local function formatPhoneNumber(rawNumber)
if not rawNumber or #rawNumber ~= 11 then return rawNumber end
return string.format("%s-%s-%s", rawNumber:sub(1, 3), rawNumber:sub(4, 7), rawNumber:sub(8, 11))
end
local function generatePhoneNumber()
local prefixes = {"013", "014", "015", "016", "017", "018", "019"}
local prefix = prefixes[math.random(1, #prefixes)]
local number
repeat
local suffix = ""
for i = 1, 8 do
suffix = suffix .. tostring(math.random(0, 9))
end
number = prefix .. suffix
local exists = MySQL.scalar.await("SELECT 1 FROM krs_phone_users WHERE phone_number = ?", { number })
until not exists
return number
end
Which file should I make the changes in?
Server side
How long might it take for this update to arrive?
Okay, what needs to be changed in the config file?
local function formatPhoneNumber(rawNumber)
local expectedLength = 3 + Config.PhoneNumber.Length
if not rawNumber or #rawNumber ~= expectedLength then return rawNumber end
return string.format("%s-%s-%s", rawNumber:sub(1, 3), rawNumber:sub(4, 7), rawNumber:sub(8, 11))
end
local function generatePhoneNumber()
local prefix = Config.PhoneNumber.Prefixes[math.random(1, #Config.PhoneNumber.Prefixes)]
local number
repeat
local suffix = ""
for i = 1, Config.PhoneNumber.Length do
suffix = suffix .. tostring(math.random(0, 9))
end
number = prefix .. suffix
local exists = MySQL.scalar.await("SELECT 1 FROM krs_phone_users WHERE phone_number = ?", { number })
until not exists
return number
end
Config.PhoneNumber = {
Length = 8,
Prefixes = { "013", "014", "015", "016", "017", "018", "019" }
}
How long might it take for this update to arrive?
The update won't be released right away. It will take time, even for the tests, because I'm not always at home; I work. And I do these things when I'm at home.
@split frost Can i DM you?
Nice fire Bro ❤️🔥
Estoy intentando hacer lo de la cámara pero no funciona bien JAJSJJS
I'll pass you the code later, my brother.
@split frost Hello,
All the apps on my phone say this, none of them open except for the settings app. What could be the problem?
There is actually no problem with the phone. The version I released was intentionally made this way to give developers the opportunity to build and customize their own apps and phone features.
It's not a bug it's working exactly as intended. At the moment, only the Settings app is functional by default, while the other apps are placeholders and display the "under development" message until they are implemented.
nice work, it makes me smile though you used ts but you don't use it because for the most part you pass any, but it does nothing, great work anyway
Ah, okay. So, which files can I edit and customize the applications to my liking?
You can modify your entire phone
But which files can I then modify in the applications?
If you don't know what you're reading or what you're modifying, it's difficult for me to explain it to you. You need to learn the basics first. The phone is fully customizable, but understanding which files to edit depends on your knowledge of the structure and the framework you're working with. Once you understand the fundamentals, you'll know exactly where and what to modify.
Thanks, I appreciate the feedback. I've only been using React for about 4 months, so I'm still learning and figuring out the best practices myself. Some parts of the code may not be perfect yet, and I'm constantly improving and refactoring as I learn more. Still, I'm glad you liked the work, and I appreciate you taking the time to point that out.
I sent you a friend request, can you accept it when you have a moment?
Yes
im new to all this sorry but i changed it to false so you can move while using the phone saved it and all that but i still cant move with the phone am i missing something
Just delete them
@split frost Any Update?