Comments (1)
Hi, Ben!
I gave this idea a thought or two and to some extend, it would be doable, but with some implementation limitations of course.
- Network lagging – agreed, at least for the initial load as the Tampers structure could be (very preferably) cached, although that brings another factor of invalidation and refreshing. Not impossible to balance to some extend of usability, but definitely not an easy task. 😅
- Compliance with Apple's policies – not really a concern I'd be afraid of here, basically the local storage would need to be stored in application's cache folder rather than being selectable anywhere on the file system, plus the syncing mentioned above, but it's actually easier to maintain as the app's cache folder requires no user-acked permissions. ☝️
- Directory listing – this is my greatest concern here, the scripts processing pretty much depends on listing directories and its contents to filter specific files to inject, which would be pretty problematic in combination with HTTP. Even if you allow Dir listing on custom HTTP server, GitHub repo listing is another story with a different format – there's no unifying “API” here to support nicely.
To summarise things up, I'd pretty much prefer the app being KISS and delegate the folder syncing task to another client. As you noted, I personally use git
for certain things in my HOME directories, Tampers folder included ✅ which allows me to be very flexible to even manage things to be present on all machines I use and having separate branches with machine-specific stuff – I use the same repo for multiple Mac and single Linux profiles – having zsh
synced while keeping Tampers on Mac only is easily doable that way.
As an alternative – and I guess this would be very usable for people out there wishing to sync the same Tamper contents on all machines, as well as people tend to use same AdBlock rules consistently – I'd definitely go with simple Dropbox/Google Drive syncing here, it's pretty convenient, scalable to specific folders and works well with content pushing/syncing, probably way better than any side-implementation in this app (which would additionally need very alternative approach to support both local and remote sources) would work. 😄
from tamperish.
Related Issues (9)
- Restarting Mac / quitting Safari breaks file opening from popup HOT 16
- JS context cannot be escaped HOT 1
- Crashes Safari on launch in macOS Monterey beta 9 (21A5543b) HOT 3
- Question: Is the actual extension code open source?
- Scripts & styles are injected multiple times on many sites including YouTube, Google HOT 2
- Unable to use custom font HOT 3
- Can't create the proper folder name HOT 7
- Excluding domains HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tamperish.