frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Digital Carrot – Block social media with programmable rules and goals

https://www.digitalcarrot.app/
23•newswangerd•7h ago
Hi Everyone,

Digital Carrot is a programmable and pluggable app blocker. It lets you block websites and apps on iOS, Mac and Windows until a set of conditions or goal is met. For example you can block Reddit, Instagram and Steam until your Apple Watch reports that you have walked 5000 steps.

The app works by collecting data via plugins that you can use to create goals for yourself. Goals are all represented by expressions that return true or false based on the data you provide. For example, if you want to create a goal to finish all of the tasks in your to-do list you could do something like `data.apple_reminders.due == 0`.

The blocking system is also pluggable. That means you can block items via DNS with services as Pi-hole[3]. It also means that the app is not just limited to website blocking! In fact you could write a plugin to control anything that is available via a REST, such as locking a smart lock on your snack cupboard or cranking up the AC in your office until you go outside.

Keeping security and user privacy is a top priority for this app (given that it's literally designed to collect information about you). Because of that:

- We do not collect or share any information that the app gathers. - Our sync feature is fully end to end encrypted using AES256 and the secure remote password protocol. - All plugins are sandboxed. They cannot access data provided by other plugins and have no external access unless granted by the user. - The app is transparent about the data it has. All of the data that is available to use for goals is browsable in app.

Like many of you, I've been dismayed by big tech's lack of concern for our privacy, so keeping these guarantees is personally very important to me. One of the fun things about this project has been that I can kind of flip the script by taking all of the information that has been gathered about me and use it to help cut down on the distractions in my life :)

Anyway, I had to walk 4km to unblock HN in order to post this, so I hope you find it helpful!

[1] Technical overview: https://www.digitalcarrot.app/docs/overview/

[2] Plugin repository: https://github.com/digital-carrot-app/plugins

[3] Pi-hole plugin: https://github.com/digital-carrot-app/plugins/tree/main/piho...

Comments

newswangerd•1h ago
I would LOVE to be able to open source this project at some point, but I also want to be able to make a living off of maintaining it. I've been reading up on some source available licenses such as Polyform, which can contain clauses that trigger the code to go open source at some point. If I get some traction, I'd really like to make a similar commitment where we will open source this in X months/years. Does anyone have experience with this sort of thing? Is this a good idea?

I'm a former Red Hatter, so I'm all too familiar with the revenue hits a product can take when they go open source, but I have no ambition to turn this into a big business, so I think that should be acceptable (unless revenue dips to zero).

mrbluecoat•1h ago
> Create a 15 minute timed goal that you have to start as soon as you wake up.

Could this be automated to trigger on first device unlock after midnight?

newswangerd•1h ago
At the moment pretty much everything automatically resets at midnight, including any timers. It's not an issue for me since I rarely stay up past midnight, but I did notice one problem where my step goal reset on New Years eve and I wasn't able to watch my sleep videos on youtube because of it, so I'd like to find a way to make this more configurable.
cadamsdotcom•55m ago
It’d be neat to have a proxy that can just block the feeds, or block content from anyone with more than 5000 followers.
newswangerd•48m ago
I'm working on something like this for Android. My goal is to build a system where plugins can selectively block parts of apps based on a set of rules. I can't promise that this will end up making it into the final version because the Android documentation states that the accessibility APIs may only be used for accessibility tools, but it's what all of the other app blockers on android do so fingers crossed they let me do it as well.

This would also be possible for desktop, since I'm using browser plugins to block websites on Desktop at the moment. I don't think that this is possible on iOS, but there may be APIs that could enable something like it that I'm not aware of. As much as I like Apple's commitment to privacy, the way that they've locked down a lot of their APIs has been a real thorn in my side for enabling some of these more advanced use cases.

newswangerd•39m ago
I would also love to hear what kinds of plugins the HN Community would like to see. At the moment I'm thinking about the following:

- Github: this would allow you to set goals based on reviewing PRs, closing tickets, reading GH notifications etc.

- Homelab/Zapier/IFTTT: this would allow some kind of funny things like turning off lights or locking locks if you don't complete your goals. I don't have any smarthome stuff, so this would be hard for me to personally build.

- Notion/Obsidian/Jira/Trello

- Google/Apple Calendar: this could help people focus on meetings instead of (for example) scrolling HN

Johnny_Bonk•36m ago
Hahah love the idea of turning off lights etc lol

Show HN: WebTiles – create a tiny 250x250 website with neighbors around you

https://webtiles.kicya.net/
52•dimden•4d ago•4 comments

Show HN: Webctl – Browser automation for agents based on CLI instead of MCP

https://github.com/cosinusalpha/webctl
39•cosinusalpha•7h ago•6 comments

Show HN: Digital Carrot – Block social media with programmable rules and goals

https://www.digitalcarrot.app/
23•newswangerd•7h ago•7 comments

Show HN: A fast CLI and MCP server for managing Lambda cloud GPU instances

https://github.com/Strand-AI/lambda-cli
15•odedfalik•2h ago•2 comments

Show HN: Harmony – AI notetaker for Discord

https://harmonynotetaker.ai/
20•SeanDorje•2h ago•7 comments

Show HN: A 10KiB kernel for cloud apps

https://github.com/ReturnInfinity/BareMetal-Cloud
55•ianseyler•6h ago•8 comments

Show HN: HyTags – HTML as a Programming Language

https://hytags.org
51•lassejansen•1d ago•24 comments

Show HN: Xoscript

https://xoscript.com/history.xo
48•gabordemooij•6h ago•40 comments

Show HN: Claude Code Scheduler

https://github.com/jshchnz/claude-code-scheduler
3•jshchnz•35m ago•1 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
115•nativeforks•11h ago•36 comments

Show HN: Top Four – a directory of /top4 pages

https://topfour.net
2•peterspath•1h ago•1 comments

Show HN: Nori CLI, a better interface for Claude Code (no flicker)

https://github.com/tilework-tech/nori-cli
21•csressel•7h ago•4 comments

Show HN: Grsh – A high-performance shell for FreeBSD written in Rust

https://grimreaper.icu/
41•antomal•5h ago•21 comments

Show HN: 1D-Pong Game at 39C3

https://github.com/ogermer/1d-pong
65•oger•3d ago•13 comments

Show HN: The Tsonic Programming Language

https://tsonic.org
54•jeswin•1d ago•9 comments

Show HN: OSS AI agent that indexes and searches the Epstein files

https://epstein.trynia.ai/
199•jellyotsiro•20h ago•89 comments

Show HN: Repomance: I made a Tinder like app that you can discover & star repos

https://apps.apple.com/us/app/repomance/id6756920720
3•masterpos•3h ago•3 comments

Show HN: Skillshare – Sync skills across AI CLI tools

https://github.com/runkids/skillshare
8•runkids•7h ago•0 comments

Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

https://marketplace.visualstudio.com/items?itemName=Nogic.nogic
126•davelradindra•1d ago•49 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
4•code_brian•4h ago•0 comments

Show HN: Cachekit – High performance caching policies library in Rust

https://github.com/OxidizeLabs/cachekit
44•failsafe•19h ago•7 comments

Show HN: An iOS budget app I've been maintaining since 2011

https://primoco.me/en/
154•Priotecs•1d ago•59 comments

Show HN: Lazypg – A simple terminal UI for PostgreSQL

https://github.com/rebelice/lazypg
2•bluehuman•5h ago•0 comments

Show HN: Seapie – a Python debugger where breakpoints drop into a REPL

https://github.com/hirsimaki-markus/seapie
18•markushirsimaki•2d ago•9 comments

Show HN: AsciiSketch a free browser-based ASCII art and diagram editor

https://files.littlebird.com.au/ascii-sketch.html
45•schappim•23h ago•8 comments

Show HN: SnackBase – Open-source, GxP-compliant back end for Python teams

https://snackbase.dev
66•lalitgehani•1d ago•13 comments

Show HN: AwsmRenderer, a browser-native WebGPU renderer in Rust

https://dakom.github.io/awsm-renderer/
3•dakom•5h ago•5 comments

Show HN: Interactive Timeline of US Legislation (1975–Present)

https://www.chamberzero.com/
4•itta_e_ta•5h ago•4 comments

Show HN: Space Pong

https://pong.priyavkaneria.com/
4•diginova•6h ago•1 comments

Show HN: How NBA teams perform vs. prediction market expectations

4•helloiamvu•6h ago•4 comments