You are browsing as a guest. Sign up (or log in) to start making projects!

Erox

@Erox

Joined June 2nd, 2026

  • 44Devlogs
  • 6Projects
  • 6Ships
  • 62Votes
I use arch btw
Ship

What started as a small python privacy project eventually and became a full Rust implementation with a Python interface.
The current version has

A memory safe rust crate published on crates , it has an ml tht was trained on more than 5k examples to eval if a detected word shld be masked or not based on the context , near by words and it has achieved over 90% accuracy in doin it , the ml is faster than human blink and max can do 22k iteration/s , for python high level guys i made pyo3 bridge , and it works on python flawlessly too but pyo3 overhead, yeah python guys arent performance maniac like me also i made the extractor of what shld be masked or not nothing and let the user put it via rs or json.

Limitations ->
It isnt always right(classic ml)

The extractors need regex and regex mighnt catch the target masking unit sometime

No ocr for documents

It doesnt have built in stt so we need external stt fir voice to text and then masking

How it works->
It decides mask/release a defined regex unit and places a placeholder instead of the value and saves the value to metadata , based on context , on top of a user prompt , then send the masked prompt to llm , llm generates response and then the engine swaps the placeholder with the value saved on metadata cache.

  • 3 devlogs
  • 6h
Try project → See source code →
Open comments for this post

26m 41s logged

Finished the final retouching and now the website shld work too , the website isnt part of this proj in hackatime but it is indeed , also my remaining 6 hrs of last debugging shld recieve stardust, i got a mail abt tht , otherwise i had forgotten abt it lol

0
0
14
Ship Changes requested

Distroller is a rust based hyprland exclusive cli tool , it manages displays in a normal hyprland setup , check out my repo for more info abt the commands , also there is a demo video , showing how distroller works on my pc(dual moniter one internal laptop one and 2nd is hdmi 100hz 1080p) , heres the link :

“https://youtu.be/UKzd1IbrFVo”

see the installation steps mentioned in readme to install it in your arch :yay2:

  • 10 devlogs
  • 12h
Try project → See source code →
Open comments for this post

50m 46s logged

wrote the readme and the PKGBUILD, did a lot of tries , but still wasnt able to put the video in readme so gonna use the yt link

0
0
13
Open comments for this post

26m 25s logged

wow what a idiot i aam , forgot to add the use in helps lol , fixed tht anyways , now i will publish it to aur and gonna write a readme
ahh i cant push to aur , its denying my public key anyways i think i will make the video first before pushing on aur ok done all things , now js readme and then done , see the demo vid and we are ready to ship
:“https://youtu.be/UKzd1IbrFVo”

0
0
22
Open comments for this post

2h 19m 20s logged

ok so i saw when i use the share , it scales the monitors differently so we need to pass both , dont change scale and then do it , and if scale changed then revert the scale , i use arch btw , i am pro .ok use works flawlessly now , anyways found a bug , i cant use 100hz on my hdmi monitor tht supports 100hz i have no fking idea why but i cant so needa fix tht .

wow i am such a idiot , changed the vec in ls then thought shld push so reverted then changed in io and now suffering lol anyways gotta fix tht

bruh wtf i am getting prob on refreshrate , tht right but i named a full struct wrong and hyprctl doesnt parse tht correctly so i am getting no sup on 100hz lol , do i even have more than 1 braincel?

ok after rechaingin my vec to string to vec to string to vec i finally got it to work lol . kk removed the training wheels , i mean println for helping me done .

now the final thing , its cli , i mean i am done using cargo run …. lets implant usable distroller ….

OHH DONE , i made the PKGBUild and it WORKS , now i can publish it to aur too , i js need a readme now hell yeah

0
0
19
Open comments for this post

1h 25m 27s logged

ok so i saw when i use the share , it scales the monitors differently so we need to pass both , dont change scale and then do it , and if scale changed then revert the scale , i use arch btw , i am pro .ok use works flawlessly now , anyways found a bug , i cant use 100hz on my hdmi monitor tht supports 100hz i have no fking idea why but i cant so needa fix tht .

wow i am such a idiot , changed the vec in ls then thought shld push so reverted then changed in io and now suffering lol anyways gotta fix tht

bruh wtf i am getting prob on refreshrate , tht right but i named a full struct wrong and hyprctl doesnt parse tht correctly so i am getting no sup on 100hz lol , do i even have more than 1 braincel?

ok after rechaingin my vec to string to vec to string to vec i finally got it to work lol . kk removed the training wheels , i mean println for helping me done

0
0
19
Open comments for this post

1h 27m 11s logged

ok so made a new formula for the workspace logic , its easy res(len)*scale^(-1) + c and here frm my tests i got c=10 for 1080p monitors. It works flawlessly in my setup but i still havent tested it on diff moniters so cant say its universal .okk added shr.rs and the logic is clean af . js do basic math easy , i made c configureable with a integer pass , pass the val of c and youre good , to go but i still havent decided vals for c for other setups , lets them try lol .bruh i added use fn branch after command and wondering , why i am getting unknown command “use” lol.wow got an error thread 'main' (15889) panicked at src/ls.rs:32:10:cant parse monitor data: Error("missing field `available`", line: 45, column: 1)note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace[erox@archbtw distroller]$ ok pretty good , there was a prob with the avalible in the struct in ls but i js used serde def haha always false if no val , i have hyprctl monitors all -j so nothing to worry anyways it works now

0
0
22
Open comments for this post

1h 12m 18s logged

this time i am making a shared window for both monitors so user can move mouse between them , after a lot of trail and err , in main.rs then in terminal and then in arch wiki finally pulled it off , safe position is 1290x0 for m2 and m1 will be 0x0 but its for 1.5x scaling not 1x or diff , oh now i need to make it diff for scaling’s too ahh god it sucks

0
0
22
Open comments for this post

44m 3s logged

ok now i am working on it to use it as cli tool not js cargo run and pray so i think i will start with passing a value in cargo for now .ok did some work and got the refresh rate thing working too , now cargo run –list , cargo run – scale and refresh works , and works pretty fine i will need to add some restrictions because scalling max is 10 , higher gives hypr err , higher ref rate on external hdmi = no signal also disabling eDP kills the waybar too oh thts my fault lemme fix my own waybar , done took a lil time but fixed , also i changed hyprctl monitors -j to hyprctl monitors all -j because after disabling one moniter , hyprctl monitors was ignoring the disabled one

0
0
18
Open comments for this post

20m 48s logged

added another feature it does the scaling thing , hm so i used hyprctl eval 'hl.monitor({ output = "eDP-1", scale = 1.0 })' hyprctl commands obviously and scaled the monitors i think now imma gonna add separate display scaling , not a prob for me as i still havent implanted any cli commands , but also i added refresh rate impl too in the io.rs js didnt used tht in main.rs gonna do tht soon
check the video here “https://youtu.be/PTmcT2p5NYg”

0
0
7
Open comments for this post

3h 9m 18s logged

Recently i got a monitor (thx stardance) and connected it to my laptop right away , but my hyprland didnt had anything to assign to the moniter , so it just went with the default one ,a diff workspace and i had to configure it a lot then finally got it to work but now i think i will make a rust based cli tool to automate those things . Easy right? for users not me lol .
see the poc :
distroller list
distroller use 1 (here 1 means the 1st moniter like for laptop , it is eDP-1, while the other moniters will turn off maybe? define the state in distroller.conf )
distroller use 2 (HDMI-A-1)
distroller use 1,2… (it gives each moniter diff workspace)
distroller use 1,2 –share (it makes both share a workspace but more like a single monitor )
distroller use 1,2 –copy (show the same thing)
i made it a codeblock but the comments () arent valid so dont copy these things ,
now imma gonna start building the base
so built the initial struct , btw i used u8 for height and width at first but it doesnt store 1920 or 1080 so i used u16 as it is better than u32 atleast i think so , also i used f32 for the refreash rate as hyprland give things like 59.64 sometimes , wait wtf am i explain? its basics nah i dont needa explain, nah, i’wd build .
ok added another struct to copy the vals to new struct wait wait , why am i such a fool? why did i made a struct to js push a value to next struct? wait i again figured a thing , i can js follow the hyprctl output’s structure lol ,
[erox@archbtw ~]$ hyprctl monitors -j
[{
“id”: 0,
“name”: “eDP-1”,
“description”: “BOE 0x094A”,
“make”: “BOE”,
“model”: “0x094A”,
“width”: 1920,
“height”: 1080,
“physicalWidth”: 340,
“physicalHeight”: 190,
“refreshRate”: 60.00400,
“x”: 0,
“y”: 0,
“activeWorkspace”: {
“id”: 1,
“name”: “1”
},
{
“id”: 1,
“name”: “HDMI-A-1”,
“description”: “XXX HDMI”,
“make”: “XXX”,
“model”: “HDMI”,
“serial”: “”,
“width”: 1920,
“height”: 1080,
“physicalWidth”: 10,
“physicalHeight”: 10,
“refreshRate”: 60.00000,
“x”: 1280,
“y”: 0,
“activeWorkspace”: {
“id”: 4,
“name”: “4”
},]
[erox@archbtw ~]$

made the best struct
pub struct Disp {
pub name: String,
pub refreshRate: f32,
pub w: u16,
pub h: u16,
pub focused: bool,
pub disabled: bool,
}
now just gonna fetch frm the hyprctl output and print done
ok added the code to run hyprlctl monitors -j and fetch the info , but then i got err js because i forgot to add the deserializer and then after i fixed lol cargo toml didnt have derde lol , and now i imported it as macro another lol , and now i forgot to import the feature deserialize with serde .
bruh this time i js got a err of version mismatch tht was added by cargo , how life can be worser?
ohhh it worked finally :

but wait the 2nd moniter was supposed to be 100hz default , ik its downsampled because of the other moniter , anyways i ’ll fix tht later hmhm now imma gonna make the other features .
okk broke main.rs and made ls.rs and main.rs , currently i kept the hypr func (the one to execute hyprctl with structed args as u want ) in ls as idh any hypr.rs , but i will soon move tht to somewhere else as ls.rs is for listing only , yeah thts why i named it ls , i didnt steal the name of ls bash command , wait i kinda did to be honest .ok after a lot of research , i found hyprctl eval ‘hl.monitor({ output = “eDP-1”, disabled = true })’ works to turn of the display so i can make a function inside my new io.rs and use it to turn off on on the display hmhm.
now imma gonna work on the turn off and on function
done it works , i js used hyprctl command to do it , it wasnt much hard
after finding some repos i found this hyprctl eval ‘hl.monitor({ output = “eDP-1”, disabled = true })’ it ran well so i made a file named
io.rs and implanted on main done and now it works though its not usable on terminal , cargo run does the work fine .

0
0
6
Open comments for this post

22m 44s logged

Bruh they literally returned it because it wasnt a ing frm working bot but the pfp of the bot , ok i respect your decision hereby i change the banner

0
0
25
Open comments for this post

16m logged

done hosted on nest and it works fine on slack too . o n the way it wasnt working , i tried all sorts of methods , systemd , the one it etc , pm2 but it didnt work and at last i saw in ssh idh the .env :lol2: . next is to ship it and write a good enough readme .

0
0
21
Open comments for this post

20m 48s logged

asked for ssh in nest , tried the bot a lot of times , it works fine now waitin for review of nest .

0
0
20
Loading more…

Followers

Loading…