#SwiftUI Webkit Alto Browser
2281 messages ยท Page 3 of 3 (latest)
yk what thats valid
Arc had it right?
yeah related elements thingy
alr it just toggles between 2 profiles I made but it now in fact works
profile system is sold
it stores and everything
I know have a better understanding of userdefaults so im gonna need to recode the preference manager since it was a dumb system
damn u guys build faster than TBC does with 130 ppl on a payroll
srsly nice job
We should make the command panel slightly transparent like the material of the arc one
Or glass ass lol
ngl the whole Alto repo is going to undergo a rework
the UI is just kinda their for testing rn
so real
I wanna work on the UI so bad
then do!
ive got no problem with it
i just recomended JS bc i assumed it would be your forte
Im gonna work on js the boosts are gonna need ui anyways
I don't wanna bloat up the codebase before the backend is steady
Besides any UI would need backend functionality
i mean, @devout shore I can issue is I can't find a nice way of displaying settings, so it's just the raw Chrome extension "works."
There is a settings menu in the works by cat dev maybe he can make a pull request even if it is half baked just with the basic components for people to add settings
wrong settings menu, in this context i mean the actual extension settings.
hmmm
what exactly is the issue? just the extra settings or the window size?
Ohh okay mb
Is that ublock origin???
yes
Just some backend Swift to JS that doesn't seem to want to load as a module.
hmmm is it on your gihub?
I can take a look
not yet
if you make a commit I can pull your fork
only if this was made ontop of chromium it'd be so much easier ๐ญ
@serene olive we needa ban her
LMFAOOO
wat you want me to have JOSH
if it said ARC sure
id be down but JOSH just confuses people who dont know he is the CEO of the browser company
yeah but then we need to bridge to chromium
what
oh if its swift native
yea depends
it is if you want sites to work
@devout shore pushed to a branch
the settings don't work for extensions, there isn't a new tab creating method yet, storage isn't fully made, there is still a lot it's a beta thing
i think a native ad blocker to make would be easier at this point
native ad block is going to be the best solution but this is nice for extention suport in future
agreed
which download did you use for this? I want to make sure we use the same thing
this one? https://github.com/gorhill/uBlock.git
No
Actual ublock origin from the source
Like the actual extension code back but downloading it from the repo would be fine.
where did you get the extention code?
By downloading the extension source Iโll give you the code in a second.
nvm i got it
uhh
I fixed the previous issue
but when I pulled from the dev branch
the packages are missing
manually adding the packages to them also makes xcode crash
Canโt remember the exact steps but you need to go into Xcode in a different place and delete them.
uhh in the deriveddata folder?
ty!
delete it completely from here under targets in the xcode project and re-add them to the app
works, but adding openadk crashes xcode...
adding other packages also me a warning
(only this warning seems to be useful)
logs or more info?
yeah im looking for them rn
do it from source, maybe some setting got pushed that is causing problems
@dim hazel couldn't find any more useful crash reports, the rest are just console logs with a bunch of random debug stuff
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Xcode [83918]
Application Specific Information:
abort() called
xcode just crashes
do you just want a full tutorial?
?
yes please
I'm really stuck rn
I want to contribute but the thing just can't build
just swap this to dev when adding (make sure to remove the old one)
that worked for me
i think the main branch is more up to date for alto than it is for OpenADK ig
When cloning you can pass โbranch NAME instead of going through extra hassle.
Thank you! Finally works now
wild
what the3 windows have different radius
finder is rounded asf
terminal is rouded but fine
arc is just arc from sequoia
Itโs an intentional new design in macOS Tahoe
(Itโs very annoying though)
even the difference isnt unified
fr, like they be messing w the wrong things, obsessing over ai. but the ease of use and design elegance is like a minor detail to them ๐ฅฒ
So real
If steve job rises from the dead he will probably have a heart attack and lay back down after seeing the inconsistencies in appleโs design now
alr Im working on making to profile system better and adding better support for spaces rn
@idle bobcat @dreamy dome hows it goin
(im not saying you need to be doing anything im just checking in)
I got a system for injecting css and js to websites selectively but it's inside adk , only UI left probs
nice!
Yeah and it's all swift so native no need for js ๐๐๐
now that is really nice
js injection allways feels a bit shaky
Surprisingly there is a mechanism for it so it wasn't that bad but needed some troubleshooting
noice
spaces can now have isolated profiles and cookies
@idle bobcat @dreamy dome @stiff panther what we defiantly are going to need is a icon picker that allows for emojis and select sf icons. (for selecting icons for spaces)
it would be a good way to learn swiftUI and swift while working on the project
ngl the Arc icon picker is kinda lame
@serene olive any good icon/emoji pickers you like?
im gonna go ahead and get tab persistence working
Ive got a native ad blocker in the words, it's preforming pretty good actually
is it based of wBlock? or are you rolling your own?
@aspiringubi made https://github.com/0xCUB3/wBlock
i tried it and it and it even handles youtube ads
- its 100% swift
Rolling own
That's hype
But ngl it may be easier to just implement wBlock
thats disgusting
๐ฏ agreed
I'm not one for taking others' code; I rarely do it in any language and prefer to make everything myself, even if it takes more time, as I know what's there and what it does. If something breaks, it's on me.
also afaik wblock relies on the safari extension apis
which are not included in webkit
^ most likely this i've not read the code so i can't say
I so want to include defaults ๐ญ writing userdefaults keys each time is such a hassle
gl on ur own adblocking tho
it's working pretty well, i just dislike how i've done the code so i'm in for a full new recode!
damn
first was more a proof of concept now it's somewhat the real deal/better ways of doing it instead of the hacking method
how r u doing it tho?
how, same as BNCY tbh
via injecting js code?
bc idt system webkit exposes enough info to do it any other way
that is part of the plan to add the remove function from uBlock to remove elements via js/css
lol
A bit like boosts but a focus of removal
lmaooo, I messed up by forgetting I was storing my files in the raw defaults key, and I was confused when I got a massive readout that I've now filled the defaults (max limit of 5 MB). I saw I was saving my lists there for testing and didn't move them over to the actual list manager...
Linear
Send a pic it's kinda hard to look it up
I woke up 30 seconds ago, will send when I'm wet my laptop
Wild amount of time to get wet from your laptop
I'm guessing you're using ublock origin lite's approach -- bypassing custom apis to load all filter lists as js scriptlets?
that's honestly the most optimal approach for alto probably. wBlock is a safari ad blocker that's optimized for... well, Safari. it uses the content blocker/app extension apis which wouldn't be easy to port
also no
@serene olive this one you mean?
I have been working on porting the settings view to the latest version, should be ready to pr soon.(mb didn't see this yesterday)
I have also experimented with some onbordings
made entirely in appkit
with a little glow on the surroundings
(still 1st prototype lol)
oh god... onbording...
Do you like onboardings or no ?
i do but theyre so much work lol
I agree, took me quite awhile for just a glowing window floating with the background darkening
I wanted to get like dia-style onbording
0.0025% there
but our onboarding is hot...
literally
bed time but ad blocker works well (kinda still breaks some video sites...)
its also called "AD" block as AltoBlock ๐ i know, very imaginative name
tim would be proud
wait onboardings have to be done programmatically ? it cant be a video sequence
how good can an icon picker be lol
I mean it can be but it's not very adaptive
Plus it means you need to package the video in with the download
it could delete itself after but yeah i get your point just thinking from a perspective of which is easier to do
true if it can be done with code its better
@dim hazel fyi im gonna rewrite OpenADK to keep it as a toolkit and move more of the Alto specific stuff into Alto
Which placeholders are needed? Rn I only have the ui for working settinngs
Also how do I make a pr to the repo now that it is just a xcodeworkspace
i'l send a video but the main thing is you just click on the project file of the one you want(they are the blue icons) then you do push i think
I know i've asked and you've told me this before, the current code im making is inside of alto.
thats a yummy animation ngl
I just fixed the main issue where the tabs would expand when moving from sidebar to topbar mode. it should look even more delectable now
Looks sick, but man, do I need to make that Command Palette animation look better it's "blinking" too much
Gah damn ๐ฎโ๐จ that look good
theres something i dont like
I CALLED IT
god fucking damn it im banning jace
dumb ass doesnt understand shit
just have the tabs move upward and appear in the side bar from the side
would b cleaner
suggestions
nah
fuck it
no animation
just fucking swaps
@serene olive cant complain about that
oh i do
the fuck you wont
When you woke me up 5 hours ago I saw it and I was like "eh... I'll wait"
did i, or did i not call it
man, this is what happens when you know jace for too long
he starts rubbing off on you
hey hey hey i never rubbed anything
i knew you couldn't help yourself...
<3
im so done
idk how hard set you are on it, but i can think of something
this is nothing
this project is so fucking dumb
tf was your inital soluiton
gonna mock it one min
only the sidebar ๐ซก no animations needed
this what i said
damn that looks good . Do you make the anomation in figma with some pluginm or just samrt animate ?
jitter
sry I was crashing out since I hadnt slept in 48 hours
dw babes
did this thread die ๐
no we all moved to a server
so yea the thread died but the project is still going
cool very cool
o i like to join how do i
lemme in
invite?
me three
me four
me five
me six
Me seven :3
me ten
7 ate 9 i guess
give a minute
fixed
you have to dm me that bc thay say no links
my brother in christ i did like a few minutes ago ๐
je gave me the link
how do u know i bove in god i do'nt say on dc
bro what
u said brother in christ and i know what it meens
and asking why
it was a joke ๐ญ
oh i didn't get it sarry โค๏ธ
I need a status update! Wait what is there a discord server for this now?