#SwiftUI Webkit Alto Browser
1 messages · Page 2 of 1
bird > birb
looks Fire
lol we realy gotta find a way to make the window look good in light mode
its fine
it looks like it would eat mashed potatoes, macaroni and cheese, white bread sandwiches, and casseroles
( its white as fuck )
ty!! I spent forever yesterday comparing the settings from different macos apps to make it look as native and good as possible but it's worth it đ„č
@dim hazel here you go
try adding a bit more of the transperency gradient on the bottom
idk if it will look cooler
but i kinda want to see
You mean the image?
Cuz I sorta just took the image from the figma
Yes please!
Just the bottom part
So I can expand the gradient
Rn im abit constrained by the logo needing to be in the centre
looking at figma docs rn, why is the cursor so goofy lol
yeah i noticed and fixed the figma lol
alr should be good
idk just mess with that
alr im gonna take a 20 minute break cuz ive been coding for almost 20 hours
take a rest, dont burn out !
im gonna finish getting OpenADK intigrated first
once Ive done that yall wont have any issues with compatibility and the project will no longer be in a transitional state
meaning I can take a nap and yall can test things, make bug and featur listings on the goofy notion, then make Pr's for fixed without it all needing to be reintigrated
Wen iOS
uhhhh ngl
This is my favorite Discord thread
I mostly made the backend browser agnostic so i can check but maybe its posible with some tweeks
Is it open source?
I would currently describe it as "jumbled and barely functional" since we just swapped to our new OpenADK package
People hate spaghetti code but forget that it tastes good (with cheese on top)
sry for spelling mistakes Ive been coding for 22 hours strait
@idle bobcat @dim hazel @empty drift @dreamy dome I have now migrated code over to working on OpenADK feel free to fix the things I left out
I did the bare minimum since im so tired anything I so will suck
both Alto and OpenADK should be updated now
Okay đ
I will probably work on improving the sidebar layout
Okay. We should only merge PRs that strictly follow the architecture so we keep things tidy
If something doesnât follow it should be revised until it does
ngl rn most everything is kinda botched
most of it isnt commented but at this point any more code I add will be low quality since im on 0 hours of sleep
if yall refactor it that would be a good first step
I will document stuff with DocC as I use them
since i basicly just made sure that OpenADK intigrated fine then dipped
let me know if you have any questions about some of my dumber code
pov i'm actually just one of jace's many alts
i cloned the repo and tried to build in xcode but i get No such module 'OpenADK' . Its probably doing something wrong does anyone know how to fix it
i need to make an install guide
but basicaly all you do is copy the github link and past it here:
just past it in the search bar
then in the Add to Project part select Alto
or what would most likely be better is you make a workspace file
then just drag the project file for OpenADK cloned from the github
ohh okay mb im slow
nah I had to look it up the first time
i get some errors could not be resolved and stuff
just install it from source
it will be better anyways
i watched this to understand https://www.youtube.com/watch?v=l7KnJfDiWns&t=3s
In this video, I would like to introduce you to Xcode frameworks and how to apply these to projects and workspaces. This is a follow up to the video that I have already released on Xcode terminology that introduces Workspaces so if yo have not watched that video, I recommend you watch it first.
If you want to support my work, you can buy me a...
how workspaces and frameworks work together
browser now supports picture in picture
oooooo glassss
ass
do i include a file in the app
?
i mean i kinda like it its fancy
i meant to install the framework from source
nah we will task one of the devs to make there own at some point
just clone OpenADK repo
then make a new workspace
then drag JUST THE PROJECT FILE so the blue icon fucker
just drag the project files form both
im gonna see if I can fix the bug with favicons then ill make an issue on the old BeamLegacy repo to say thanks
like the entire header file for the ObjC is from them
alr ive intigrated @dim hazel 's favicon fetcher so now they should cache
i tried the @silent thing so if I @ ed Kami then sorry!
You did
succeed or @ you?
either way the main thing is that the browser is in a mostly functional state.
it needs a bit of logic to decide which tab you get shifted to when you close the current one and it needs tab saving so im gonna work on that
Silent my ass I still got it.
Itâs fine I wasnât trying to sleep at all
lol i might end up with amost 24 hours of screen time cuz of the all nighter
all the stuff the have old infront of them like oldshortcuts should be implemented in another way ?
honestly it was just stuff that I didnt have time to impliment and wasnt integeral to the browser running
I was realy just focusing on getting the browser to compile with the new OpenADK framework so i just labeled them old so I new I shouldnt mess with them
should we move them to adk or just make sure they work with the new framework in place
both the DOM ones and the context manager are kinda on hold
they essentialy recreate the HTML of the webpage in the form of a Markdown DOM I was designing
this would allow the browser to display notes with the markdown DOM in native swiftUI + convert html pages into a more LLM readable format while maintianing the structure of the HTML
the shortcuts file seems to work fine
in the future we will make a shorcuts Manager and move it to OpenADK
give it support to allow user inputs and whatnot
and also be eddited in settings
wait @dreamy dome your a JS guy right?
nevermind i can't fully read
i was reading this as a new workspace and was like eww what
but for local packages yea, you can also open it in any vscode esk item with a swift compiler to make less xcodes open
which is what i end up doing because i hate xcode
lol I just use a workspace so I can edit both at the same time
Real
I can do some js why?
the project will most likely require significant JS intigration (since a lot of the browser reacting to the webpage requires JS injection)
and idk js
I can do my best
ngl il make a list
I think pasword fill will definatly need it
auto pip will
ad block
a boosts esc system as well
ngl we are gonna need a shit ton of JS
Boosts would be so hype especially if we integrate with AI
Since itâs WebKit we can easily integrate with iCloud Keychain, Passwords and Passkeys
We just need to ask Apple for a special, browser entitlement
And as long as the browser adheres to the minimum spec (defined in the Apple Docs) theyâll give it to us
Great progress on migrating the Command Palette to the new OpenADK. It'll require a PR to both Alto and the OpenADK package.
with url detection
when arc or dia can support passkey with touchid
That's something they need to figure out with Apple
For example Zen supports it cause they contacted Apple and got the special entitlement that allows it to work
Arc also has that same âspecial entitlementâ that just never used it.
why?? đ
If they already went through to trouble to get it
Why would I know. Theyâve done so many stupid things I canât keep count of.
Okay, that makes sense. I hope they'll actually use it for Dia.
BOOSTS
hell ya
Cool ripple effect I made (not shipping it)
I wish webviews could have metal shaders applied to them
How did I never notice that it's in Dia too? It's such a cool effect
not to the extent and amount it used to be before
it use to be everywhere and there was a minor tint it was so nice
Dude we use private apple APIs
Shouldnât matter for the entitlement. Private apis arenât allowed if you wanna upload to the app store
Oh good
You just need to comply with those 4-5 requirements and youâre good
I assumed that we wouldn't be allowed bc of it
Btw we are complying with almost all of them
Idk send me them
I'm going to a VR convention tonight so I won't be able to help as much today
And I slept in cuz of the all nighter last time
Here me out can one of y'all wix tab closing?
I at least now have it so you can click the close button but the actual code I have isn't working and I don't have a chance to fix it
Might fix that tomorrow morning if it's not by then
(ik you posted it)
I think they are right on this part
having a simple browser but having hidden complexity seems like a good idea
Yea
Ngl now that I understand drag and drop system in swiftui I can 100% make the thing where you re arrange buttons if we want it
CHAT we need to have built in OCR as a tool
like OCR is my goat
just make it like part of the search in place and notes feature like what Beam has but it could add a ton of web tools
ya know like the camera in arc
but it gives you usfull tools and shit
Yes that would be cool
@empty drift how good are you at regex?
fyi ive set up a dev branch so we can all commit to that first
for now any PRs for the main branch will still go through to that one
do not use regex if you do not need to use regex
Decent (I think)
I will rewrite that though cause I think I can do it without regex and I think I can offload that process a separate thread too
I just needed it to function
Thank you đ
Ngl I can read it so I don't have a problem
I'll take a look tho to see how necessary it is
This !!!
Fuck I hate regex I can make and read it but itâs so much work to make it 100% hell even 90%
You should! It might be a little overkill
Is the alto todo list up to date?
god no
im working on it rn actualy
i just fixed tab closing
so now im doing shit like comenting
yup
If you've got an up to date todo i can do some things on it
lol just updated it
im mostly working on backend stuff rn so if you can fix the entire mess that is the frontend it would give us something to work off of
yeah lol
if its on the list rn feel free to do it lol
quick question can this: https://github.com/Alto-Browser/Alto/pull/9 be merged?
im not a front end dev
i can do front end, but not fancy shit
well we need a tab saving system
thats why i have Kai doing it
for like saving shit
zamn
oh easy, just a coded json like arc đ«Ą
ngl Kai Hard caried by answering some of my questions
are we planning on adding profiles and shit
noice
kais an actual legend at all of it
ikr
oh yea that pr is it going to be merged soon or now, because if it is i need to stash my code before i do anything more
ypu
no code review just merge
yup
love to see it
If anyone has any bug with the command palette hit me up, and I'll try to fix it ASAP
but since its lingering on the main branch i decided to merge it just to get off the old system
now everything should go on the dev branch
my god the whole of the alto xcode project needs to be remade
if i see one more adk error im going to lose it
lol
which ones
i havent got any
girl can't code đ
we had this issue with Hunor
its cuz at one point I was trying to get the fucking Obj C working and it refused to scan the directory for headers
or not, I don't remember
I tried hardcoding them at as a test and nothing was working, but i forgot to remove that part
if it can't scan it, you need to quit xcode and reopen it
common issue when developing packages
dont ask me how i know
weird cause the code from upstream works for me
im using upstream
damn it that would have been good to know
ik đ
i see you're getting some use of it
would be somewhat helpfull
yes lol
I am the master of commit messages
cuz I dont have anything on my side there
Showing Recent Messages
target 'OpenADKObjC' has invalid header layout: umbrella header found at '/Users/user/Library/Developer/Xcode/DerivedData/Alto-eqoxukrvshcfmkgituokuvcflfgo/SourcePackages/checkouts/OpenADK/Sources/OpenADKObjC/OpenADKObjC.h', but directories exist next to it: /Users/user/Library/Developer/Xcode/DerivedData/Alto-eqoxukrvshcfmkgituokuvcflfgo/SourcePackages/checkouts/OpenADK/Sources/OpenADKObjC/OpenADKObjC.docc; consider removing them
eqoxukrvshcfmkgituokuvcflfgo my goat
yea xcode gen'd junk
for now just remove the docc file
or shift is somewhere else
yea need to clone it locally
since it looks like I alr removed the hardcoded paths
not adding a git ignore to the package is insane work
if i saw this commited anywhere id shoot you
ngl I didnt realy expect people to work on the project
shit, I made one just forgot to commit it with the search stuff
its easy enough anyways
like I pulled a single all nighter to get it here
i just dont wanan fork another thing đ
yall hopped on while I was in the middle of learning how to transition it to its own framework
i was too busy learning how the fuck Xcode workspaces worked lol
this is all you need
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
in the git ignore
just use another code editor like vscode or cursor and have it handle the build use only 1 xcode instance or i find a lot of issues
real
like im 17 idk what the fuck im doing im in hs
me too
m1 8gb mac btw
oof
im not a figma designer so i dont get a jacebook
istat menus
thanks
its paid but there's "free" versions
as long as it doesn't cost a fortune I'm okay
theres free versions like Stats which is FOSS and Euel also foss
who in the adk team can't spell
Is that the kai of the Mr variety
same kai who made loop kai
Cool app but what the fuck is spotlight doing with 14gb of mem?
damnn
always fucking siri
idk kill it
indexing, it likes to do this every once in a while
omfg if i see more errors the more i fix im going to lose it
No clue why its 14gb tho might be a bug
where is that đ?
the openadk
im actually going to crash out
its part of the package algorithms
if its not installed that would be a problem (I may not have got a chance to add it to the package file)
it's added
swift-numerics is not added though
i think its included as part of it
is it in the package file im not sure if it needs to be listed there as well
good question can't answer it though
hi what
thats why its having the issue
nah the fix is this
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "OpenADK",
platforms: [
.macOS(.v13),
],
products: [
.library(
name: "OpenADK",
targets: ["OpenADK"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-numerics.git", from: "1.0.0"),
],
targets: [
.target(
name: "OpenADKObjC",
dependencies: [
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Numerics", package: "swift-numerics"),
],
path: "Sources/OpenADKObjC",
publicHeadersPath: ".",
),
.target(
name: "OpenADK",
dependencies: [
"OpenADKObjC",
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Numerics", package: "swift-numerics"),
],
path: "Sources/OpenADK"
),
.testTarget(
name: "OpenADKTests",
dependencies: ["OpenADK"]
),
]
)
lol i alr fixed it
but thx
random man on internet explaine it lol
has no one fucking built this package from source?!??
ngl ive had like 2 days with the package
and 2 of them were one day since I pulled a all nighter making it so yall could work
clean all caches, and start fresh, see how many errors you get
AGAIN yall guys join in the middle of me trying to move to a package system
ive never made a package before
@Observable is a macOS 14+ framework, the package is built for lower, you update the swift tooling, than you get
OpenADK/Sources/OpenADK/Managers/PreferencesManager/PreferencesManager.swift:10:23 Static property 'shared' is not concurrency-safe because non-'Sendable' type 'PreferencesManager' may have shared mutable state
so you need to fix this, in all files to make it concurrency-safe and a whole lot of other junk
legit @dim hazel rn: https://youtu.be/GgOtAQbA34E?si=j88dsp3mr6SCOCOc&t=25
(C) 2005, 2006 The Weinstein Company, Kanbar Entertainment, Kanbar Animation, Blue Yonder Films
again alr fixed
that won't fix it
this is gonna suck isnt it
holy shit it built
It was a tough delivery
update this as 5.9 is the version macOS 14 was released with, swift 6 introduces con issues
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "OpenADK",
platforms: [
.macOS(.v14),
],
products: [
.library(
name: "OpenADK",
targets: ["OpenADK"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-numerics.git", from: "1.0.0"),
],
targets: [
.target(
name: "OpenADKObjC",
dependencies: [
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Numerics", package: "swift-numerics"),
],
path: "Sources/OpenADKObjC",
publicHeadersPath: ".",
),
.target(
name: "OpenADK",
dependencies: [
"OpenADKObjC",
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Numerics", package: "swift-numerics"),
],
path: "Sources/OpenADK"
),
.testTarget(
name: "OpenADKTests",
dependencies: ["OpenADK"]
),
]
)
or i can pr it if you need
legit this line
version x.x is version number the newest is what 6.2 currently
higher it is, less it supports more "features"
And 6+ is a concurrency error nightmare
correct
can you only handle one version?
yes
yeah so my question was how that works
like do you have multiple files or all in the same but with diferent comment lines
So, the tool's version dictates what it builds the lowest to, right? But it can build higher than itself, not lower. There is where the trick is. If you need a specific newer method, you can add an #if check or an @available(macOS: version, *) to denote this is a newer version of the method.
also pr'd
should be fixed to the right branch now
im gonna finaly build from source with the new branches to test shit
okay, finally i can start building some features on the actual browser
also someone broke my fav icon fetcher
JavaScript error: Error Domain=WKErrorDomain Code=5 "JavaScript execution returned a result of an unsupported type" UserInfo={NSLocalizedDescription=JavaScript execution returned a result of an unsupported type}
enjoy that
Btw, we need to fix that creating too many tabs just makes the window wider and instead it should make the tabs narrower
yeah ive got no clue what the fuck did that since I had got it working for me
and had made a pr im preaty sure
yeah no its an old issue i fixed it got messe up at some point
any good way to fix this?
Select a team
like I can swap it easly but it feels like we should make it not have the problem in the first place
yeah no shit sherlock
this is because people commit with their name, i don't do it because of this same issue
it's pretty annoying
yeah ill just leave it
you need to make a commit yourself, with the change so we can get the updated team id
Sorry, my bad
there may be a way to do a pre hook but idk about this so don't quote me
what all do i need to do
@devout shore are u a registered apple dev? If so, we can easily do build checks at every commit or PR and Xcode cloud can automatically manage that team thing.
uhh im working on it
in hs i dont think she is
my dad is doing it lol
aahhahah
he is pissed of at apple but is willing to split the cost cuz he is a sucker for the AVP
also whoever made the icon doesnt know basic macOS
I also registered in hs the first time
bro sounds like "I reeeeally hate apple but DID YOU SEE AVP V26? its got some sweet features"
im broke lol
me I slaped it together with the shity icon builder apple made
dont tell me new icons are bigger? @serene olive
theyre the same but new radius
i had a feeling
so did I fuck up again kami?
a little, yes
what do I need to do to fix it
cuz I just strait up exported from the icon maker then droped that into the assets file
nothing rn because its not a massive issue
yeah but your gonna bitch about it
just bigger than a normal icon, so theres something wrong in the sizing
nahh
hey, @empty drift you made the arc search thing right?
Yeah
fix this, it's called on each search
Failed to fetch suggestions: Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://suggestqueries.google.com/complete/search?client=firefox&q=kamidevs.c, NSErrorFailingURLKey=https://suggestqueries.google.com/complete/search?client=firefox&q=kamidevs.c, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <3D906836-EDA2-4C46-851E-1A88AF6D9303>.<10>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <3D906836-EDA2-4C46-851E-1A88AF6D9303>.<10>, NSLocalizedDescription=cancelled}
That should be normal
Itâs basically fetches the suggestions each search and if a fetch is in progress and cancels it
If I swap to this when I commit will it fix the issue with the teams?
I donât think it does cause the entire task gets canceled
We just need to remove that print and that will disappear
Or make it ignore cancellations
you're right it's "fine" because it does get canned, but it can add up, more so in dev phase as the console is spitting out that "error" it will load excess ram from the app to xcode
observe
working for me
what is?
ouch
oh fav icon
alr
jaces it does, it's some sites in particular
I just realised the command pallet hasnt been added to the dev branch
i need to update that
it may include issues as well
can't be called a dev if it doesn't merge with at least 1 bug
and fixed the fav icon now
also, the window for alto needs to be fixed
it returns a random id it should return the name
Iâll debug that with instruments when I get home and fix it
not a massive thing it just adds up if you search fast enough and a lot
sry that was from early window testing
it needs to pull the current tab but before it was about comparing the id of the view in it and the windows view to make sure it matched
it's fine you can do
#if DEBUG
action
#endif
if you wanna keep it in a dev release
make sure to pull the newest version
I think its what is having the issue with favicons partly
love to see
fixed ill release a pr in a bit
also, you didn't use the swiftformat right but i also fixed that
I didnât see this before. Itâs hilarious đ
and on each tab and result you were looking for a pip element, i also fixed that to find only on an element with a video
ngl the pip part is a test
remove it
jace was just asking if we would be able to do auto pip so i tried it
Itâs super annoying though. Yesterday I was testing stuff on the apple site and it put all the background videos to pip and left half of the page black
bruh this is the first time the PR folder has actualy worked when i got a pr
yea its spotty isnt it
yeah it was a test
to see
if it worked
holy fuck we need an ad blocker
It works too well lol
ikr
i just went on youtube and its BAD
I never realise how much I relly on one till I dont have one
also cmd+w NEEDS to close the tab
i cant tell you how many times i clicked and it poof browser gone
curretly we need to fix tab close lol
add it to the list đ
its on there
not spelled correctly
but its on there
fuck need to nuke the commit
cant spell for shit
what happens when rushing messages đ«Ą
gonna pr that who cares
Same that should be command shift w
It's a part of the testing framework you added to both the package and app. It means we only need to include this import if it's a testable file or function, as it is not imported automatically in a test.
đ€·ââïž it's easy to forget
lol i remeber running into this issue with my version
cuz some websites dont store it at the url
i know, but it's nice to look as it handles 99% of websites
yup
i allway check the url first
sure
also can hide my mistake đ«Ą
that ill show up as a second commit assumadly?
if you've not merged it yes
yeah i was still reviewing
only like 1 or 2 files purely changed
lemme know when you commit đ©·
also, do we wanna make a keybind to toggle the border?
like compact mode or like the full border?
if so both cases yes
i mean full borderless, just show the content of the site
and awesome
if i make this well enough i may be able to move over from arc ...
yea
once we get extentions working đ
thats gonna be a slog
ad blocking, anda. lot more its long away from that but thats the goal, unless dia is like arc but with ai...
ngl the plan i just to be Arc + a topbar for peeps who want it plus fix some of the minor issues
yeah if Dia turns out to be good and not be a subscription model i may need a bit more lol
yea
i think its gonna be paid
free would have like 50 daily requests or something
and paid has more and more
(this is not insider info im just taking a shot)
For adblock, can this be used as a base? https://github.com/brave/adblock-rust
thats rust iirc
we're making it in swift, so we need to make our own or make an engine
Ah, I see.
we can inject JS to do adblock assumadly?
i hope so, but i don't know
before i look into it, question, do you want it in the adk or the app
most likely the app
i assumed so just making sure
OpenADK is mostly non browser specific stuff
okay, pushed some optimisations
should be good now
added some doccstring too so should be easier to read
nice
Also, I always use emojis in my commit messages; it makes them look nicer. You can blame Kai for making me do it all the time now.
@empty drift some nice things to add to the thing would be support for cmd and opt left/right
alr
but i can pr if need be
let me know if you want that as im about to pack up
its 00:07 for me
will this fix the team issues?
is that the shortcut to jump to the end and start of the line?
what all do i need to do for that
correct
give me your team id and i can fix that
np thx for the pr!
it works with option + arrows
yea it does but not cmd which i use a lot
I'll look into it
@idle bobcat any update on the setting system?
dia who
I'm having some issues with the latest build.. any idea how to fix it?
uninstall
and reinstall from scratch
we changed some stuff and you need to move to the dev branch
most of that is just adding swift algorithms as a package tho
HAHAHHAHA
dont even show me that error
i did not spend my time fixing it at all
are you on a dev branch for both?
?
yep
not seeing target member tho
Unrelated but is battery decent on 26
mb here you go
god no
check the other tabs
your on the not goofy beta so its dif
other tabs are empty, there is only the commit history
other tabs from othe r place also has nothign
I'll try researching about this target mebership thing
what is that arc icon in your menubar?
arc
its from raycast
@devout shore did you say alto the app needed to be rewritten or reoptimised?
yes
it mostly hasn't been updated in a week and needs a restructure
I recently updated OpenADK so it should now support the window renaming based on the active tab
it ended up being more of a pain than expected since i needed to make sure it would work for split view tabs down the line
I also went back in and commented what I could for at least some of my OpenADK code
also technically Jace is our designer so ive been laying of the front end to handle the framework part till he has a design and branding
also I fixed the goofy bug with no tab
ive done this like 5 times now and it always get overwriten somehow đ
in the morning I will probably do some R&D on the whole cookie store system so I can add user profiles
he did say
if you look at my fork i optimised some app code
let me know if those files are being changed
needs a fix for light mode, lack of contrast
BIG ONE
nice
prob because the bounding thingy
nah man
prob the new icon maker from tahoe exporting them in 1024
and in default the box is 1024 but the icon is 824
like just the icon and not the box
ah i see what you mean
ublock in webkit
also if you really really wanted to fix the icon
Okay, here's my offer: I'll kill myself, but before I do so, I'll go ahead and commit this because I cannot for the life of me debug why this isn't loading. Testing it individually works fine; it, as a whole, nada, nothing, no loading for your JS.
is this actually loading in a Chrome extension?
yes
Bro did you not just here me say we have a redesign in the world đ
Lol
sorry, missed that one.
this on 26?
where the fuck are you getting these numbers from
yeah I tried to kinda deal with it and gave up since I just need to do i properly and do a version check in the compiler
cuz like rn if your not on tahoe the corner radius of webviews must look shit
I benchmarked the isValidURL function before/after that, and used that to make estimates.
that's why the gap is so big between them, cause the benchmark data wasn't saturated enough to be 100% accurate
ngl like I said a week ago the light mode is kinda only there as a setting
it still needs actual design attention since it was kinda just something i added to test settings
ah okay, I use light mode on everything so that's why I noticed
hold up im gonna take a look at why its not loading if thats ok?
i feel like there may be some things I can check
@dim hazel at some point could you make a commit on the extention thing, i'd love to take a look at it!
i have one for ff on my github somewhere
tho idk how kami would have gotten the ubo apis working
(just downloading extensions and showing their screen is simple enough, its the apis that are murder)
yeah no
unrelated but...
you want to watch porn durring any browsing session? try our new patented incognito browsing process! every time you load a webview its a new cookie store with a random UUID! so you have a 1 in 2^128 chance of getting the one your thinking of!
From what I remember,
- Change user agent to what the web store expects (eg. chrome)
- Hook onto webkit download apis, bc the âinstallâ button is actually a download button. Also unzip the file
- Create a custom protocol overload to securely expose extension code to its pop up window
- Inject any apis via js (iâm too cowardly to touch webkit source code)
yeah no if your not injecting it via JS you would have to do some insaine shit to make that work
Be careful with this, your storage space might explode if you donât delete the cache it generates
Lol orion ios uses the js inject method bc apple doesnât let you touch webkit there
Its so kneecapped
it is not a serius solution đ
Loll
also i would recommend against trying to get webkit extensions working. It isnât easy and you will get nowhere near the level of stability or completeness you want.
(if you can, try and steal sigmaosâs webkit binary)
yeah we already agreed that the safari extention store was a nonstarter
ngl looking at this that may be an issue. how would I clear the cache
Safari adblock rules are probably the lowest hanging fruit actually
tho that fruit is still hanging off a metaphorical redwood
nah its just the fact that there is nothing good on the store
like no one would want to use it for anything other than maybe an adblock wich we will be built in anyways
Oh lol
like dark reader is PAID đ
oh yeah, if they're implemented in swift you can't do jack shit about it
XPC is pretty darn secure
The Safari extension store is the worst. When I used Safari I just always downloaded the source for the Chrome variant and run in through safari-web-extension-converter and in 90% of the time it spit out a working Safari variant. It was annoying to do this though.
safari-web-extension-converter
is this what orion does đ
Orions was kinda shit
weirdly enough SigmaOS's was better
i reeeeeaaaly hate saying that dumb name lol
i wonder how advanced of an ad blocker we could implement for youtube ads for example might need something more than a block list
please let me press tab to search extensions like arc đ
Yes yes
making this browser has raised an issue for me lol
"if every browser does the same thing, what makes me pick one over the other"
im using Dia now and like... im happy,,, less happy than arc... but not as depressed as i thought id be
aesthetics community features "aura"
pretty much
uhhhh the one that can generate a new UUID based cookie store every time you load it, duh???? so you can hide you porn adiction jace
UI is mostly what i care for if we have a command bar
#1377040391622234223 message
lfg
gooner browser
marketing genius
"have YOU ever wanted to JACK OFF?"
tbf it means there is a 1 in like 8 billion chance of opening the browser and getting your old profile data
easteregg
"meeting? no! freshly waxed ponani!"
As stuff gets implemented I wanna expose more and more to be accessible from the command bar
It's convinient
also new logo soon (im suffering)
get ready for people to complain about the old one being better
its nice but also too siimialr to dia
true
the project has like 16 stars
like abandoning the userbase would not be detremental to the success of the browser lol

nlg if jace does a redesign we should make a video titled "why we abandoned our core userbase" then explain how our 16 github stars were not enough and we needed to get the number of users chrome has
Alto 2.0
if i knew how to draw this would be so easy
this is immensely real
"i should get an ipad"
ipad wont let me draw better
i learned this the hard way
unrelated but do yall have a list of stuff you think needs to be included in the profile data?
not all of settings but definatly some stuff
profile data like alto account or profile profile
uhhhh like the Arc ones. the account stuff will be future me problems since that needs to be stored on the cloud
so Browser profiles
yup
like i will steal this stuff
lol
lol the plan was just to make a simple system for cookie profiles but now i am basicly coding the entire data store system đ
:)
do wat?
semi-boring settings, but i know how to make tjem less boring
raycasts is boring+
this reminds me of windows acrylic for some reason
bruh i just found out that convenience initializers exist and they are fire
and class func wth this is hype
We should just tell the user to install a password manager.
we will handle it at some point
I dont have a password manager
are there any recomendations from yall for free pasword managers?
1pass w/ GH student

ngl im not sure I can get student stuff since my studdent email is .org not .edu
only one way to check
uuhhhhggg
@devout shore really nice project! As the developer of wBlock, a fully-native SwiftUI ad blocker for Safari, I'm wondering if you've considered implementing content blocking support yet? I've had someone try to port my app to work with generic webkit with decent success, and I'd be happy to help figure out a solution for alto if that's something you're interested in
here's a link to wBlock:
https://github.com/0xCUB3/wBlock
LMAO
?
was alr planing to
I stuck it under my list of stuff when I scaned your github stuff
I don't know the status of the other guy's attempt to integrate wblock into his webkit browser because he disappeared
like 2 weeks ago
but I think he got a decent amount of stuff working
oh AXmalvon?
I wish I got more involved but at the time I was busy with finals so I was sort of annoyed that he was bugging me with questions about wblock
malvon yeah
I am working on browser profiles rn but after that I will take a look! đ©·
nice
wblock's alpha version which isn't released on github yet also supports userscripts now so you could have stuff like bypassing paywalls or returning the youtube dislike button
i literally saw a msg about your adblock in this server and thought the same exact thing lol
ngl i didnt even see the message, I just judge a persons worth based on github stars
skull emojing your own msg lol
i was searching around because it would have been a pain in the ass to make an advanced adblocker from scratch
its sorta a /j but it is like half joking since it shows i am not taking myself too seriously when I say it
#about-you message
mostly you just needed to find the scripts
then do the work of actualy intrgrating them
the only additional thing that goes with an adblocker we could add would be a zap but that should probably go with boosts
low key valid
1k stars isn't that many in today's day and age but I appreciate every one of my users
even the ones who make these sort of issues
lol
is there a way I can test it?
the pfp pic is sending me
I'm not sure how to integrate it into alto rn, but if you want to try the latest alpha (which is a few weeks out of date so there are some bugs that I have since resolved but haven't pushed to testflight yet) then here's the link:
the UI is kind of basic too atp because I'm not a designer
but I tried to make it minimalistic
thx đ©· r
oh it's also available on ios and ipados for those interested
that wasn't the case before -- it used to be mac-only
totally random question but do most safari extension also work with webkit or do you have to look out for something ?
you can use them
they are just shit
so apple is a whiny baby and doesn't let you install them normally. you have to integrate them into your codebase
like most stuff on the safari store sucks
I wish the orion devs were more open about their reverse engineering of webextensions
but they are kind of hostile
yeah I asked one of them
i was wondering if i build an extension to be intergrated into alto can i test with safari thats why i was asking
bruh what do the safari extensions have to do with chrome/firefox webextensions
lmao
like they are literally not the same
i think you can port them with a converter
should need some troubleshooting most of the time i would imagine
there is a converter, but that alone wouldn't work for ~50% of extensions
including ad blockers
oh shit I didn't realize safari has new webextension apis
yeah i would imagine not even chrome to ff works that well
which ones do i use
all of them. safari is a poopy face because for "security" you can only have 150k rules enabled in a single content blocker extension, so that's why I have 5 (plus advanced for script-based)
so this lets us have up to 750k rules instead of just 150
thanks tim apple!
thanks for nothing
sorry for the puerile language; my hatred for apple's treatment of safari extensions knows no bounds
I just hate apple in general lol
you need to enable wblock advanced on all sites
and restart
as well as apply filters in the main app (it should force you to before quitting the app)
there should be like 5-6 defaults enabled which are pretty good and should block everything
these are the hoops I have to jump through to get ts working
should I wait for them to finish counting?
um that shouldn't be happening
can you click the cycle icon in the menubar
or is it grayed out
@devout shore you can just close the app actually and it should say "hey you have unapplied changes" and then you click apply and it will do everything for you
that would be the easiest
and if it doesn't do that... d'oh
sameeeee just save the .csv in the downloads twin
alr got it working
nice
works on yt
I need to fix the onboarding experience. it can be confusing. the hardest part of development is developing onboarding
but it's super important because otherwise I'll get a million github issues saying "ab bolker not woorking on YOUTUBE"
lmao yeah
do you have any suggestions to make the UI more... aesthetic
it's basic af rn
alto just makes my blood pressure drop by simply looking at it
it's so soothing
uhhhhh ngl im not a designer
i just do shit
and it looks alr
hmm neither am I
I need to put some effort in
every time I try to change stuff it stops looking native
so I just went for the basic layout
nah not realy, its a fucking safari extention. most people dont even know they exist
true
at least 1k people know mine â€ïž
the best part of having a lot of github stars is that there is literally no benefit except more people making issues
like 17 know my browser
hey those 17 people are very active tho
lots of PR action going on
I wish people helped me at all with wblock rather than just complaining about it not working lmao
ngl me and jace kinda came to the understanding that github is mostly useless because of the amount of noise
yeah lots of traffic confers more harm than good tbh
good docs can cut down issues by at least a half
the only benefit is those few times when people are like "wow you're github famous"
that's true, but many people are stubborn and ignore that
yeah true , im one of them sometimes lol
I think the rapid growth of Zen is what will kill it in the end. that and the fact that if the single dev that runs it gets board its over
i think the whole idea was to make it very basic with lil sprinkle of pretty
I would hate to be the zen dev
holy shit the polarization
the funny thing is the code is literally there working code to add at least ten features to Zen but nobody is gonna actually integrate it instead you have to follow some obscure guide
trust me it was hell
like the moto is basicly just "figure it the fuck out and read the docs"
(the docs are wrong)
yeah maintaining code and docs simultaneously as a solo dev is impossible
the docs are so ass from random rules to wrong or incomplete instructions
I didn't even make a landing page for wblock yet... well it's in beta but it's so ass:
https://skula.netlify.app/apps/wblock/
on windows you have to do a shit ton to even get it to work and you have to go in blind since the docs aren't for windows
I think the main confusing thing is the border
it is not that bad just basic with a few layout changes can be pretty good
yeah I haven't fine-tuned it
Must feel like balancing rocks stacked on top of each other đ
what would you suggest?
while a tornado is coming through
I mean jace would probably just send you this link https://tryalcove.com
other than that idk
lolll I was going for this aesthetic
I kind of failed
but it's sort of there
well make sure to set the bg color since it shows white when you scroll up
of the top of my head bring the top menu bar up remove the werid blue border
I almost nailed the hover anim
oh yeah idk why that's there
sorry I should stop polluting this channel with wblock stuff
I can make my own thread for that, which I will once I get 0.3 out
the icon is very adobe-y was that the idea adobe+ terminal app
@unreal grove whats the file size on wBlock?
yeah this is pretty peak
yeah the icon is pretty random
Same is but less effort
i think
9.6mb đ„
alr im down for that
and most of it is the UI elements for the actual app proper
does that inlcude the blocker files?
yeah intigrating it will be cheep on storage
I store them in a group container so that macos doesn't flag the app as malware
wanna be apple so bad
the icon on its own is a few MB.
Which would obvs not be there in your version.
yeah no it should be a problem especialy since mac apps aready take up like 4 mb by default
and the ui would probably be integrated into the settings
Exactly.
yeah no its not a problem
ngl the only stuff that will realy get you when it comes to the mb is big libraries and media
It's so fucking stupid that adguard for safari is like half a gig lmao the memory leaks there are so godawful that I cannot believe the world has not revolted yet.
lol
And wipr is a crime against humanity because the only way to update filter lists is for the dev to push an app update.
Which is a huge bottleneck.
Not to mention that the user has zero control over the blocklists.
@dreamy dome ngl what would be nice is if you could figure out boosts
just a general plug in system for it
at least the editing page part will be JS
okay yeah i will try i would work on alto or on adk
alto
like an extension or half swift ui half js
probably half swiftUI half js
okay okay i will try and see what i can do
noice
im not sure what the best way to detect the hovered element in webkit is but if its js then use js
im not sure if there is like a swiftUI for that
like for zap already done that and it finds the class and stuff
good for them
sure do that then
the website kinda generic but i like their project in general but ig its swift discord so it makes sense
hope the boosts will have css and js too like userscripts
js to apply the boosts and swift for the interface
definitely
at least i will try
in the future we could even have a git repo for boosts
like a marketplace
yeah lets not the be that crazy
the arc incident lol
sharing code snippets to stranger not a good idea
yes lol
css is harmless maybe allow sharing js with a disclaimer and allow only open source code
but popularizing css and js customizations for websites like extensions would be a huge win
I need to figure out element zapping in wblock too. I do not really know how to do it but one day I will implement it.

I might be able to get it to work with boosts anyways
Cool.
element zapping is really cool
and also adding snippets of js and css at times
but zapping makes the shitty sites usable
what I realy want is a zapper that lets me hold a modifire key then scroll in order to go up a layer
so that i dont have to keep clicking the same fricken empty divs