ideas/README.md

213 lines
16 KiB
Markdown
Raw Normal View History

2014-08-13 19:57:29 +00:00
>There's no such thing as an original idea. Every idea worth having has been had thousands of times already.
> - [swombat](https://news.ycombinator.com/item?id=250793)
2016-11-03 20:33:42 +00:00
**Table of Contents**
2014-08-14 14:24:51 +00:00
2015-04-14 18:41:33 +00:00
- [NoFollow Enforcer](nofollow.md)
2015-10-17 05:09:59 +00:00
- [PyPi Notifier](pypi-notifier.md)
2016-11-03 20:33:42 +00:00
- [OpenBook](#openbook)
- [Expectations](#expectations)
- [Features](#features)
- [Interface](#interface)
- [Backend](#backend)
- [iStalk](#istalk)
- [Idea](#idea)
- [Interface](#interface-1)
2017-03-28 20:28:50 +00:00
- [Distributed Privacy conscious TrueCaller Alternative](yellow-pages.md)
2016-11-03 20:33:42 +00:00
- [Collaborative Bookmarking](#collaborative-bookmarking)
- [Lightspeed for Chrome](#lightspeed-for-chrome)
- [Facebook Analytics](#facebook-analytics)
- [API for Workflowy](#api-for-workflowy)
2016-11-21 20:40:58 +00:00
- [Onion Cannon](onioncannon.md) (E2E encrypted communication for machines)
- ~~[Lettersafe](#lettersafe)~~
2016-11-03 20:33:42 +00:00
- [Email on top of keybase](#email-on-top-of-keybase)
- [Newsletters for GitHub](#newsletters-for-github)
2016-11-03 20:33:42 +00:00
- [Hacking via OAauth tokens](#hacking-via-oaauth-tokens)
- [But OAuth tokens can be revoked](#but-oauth-tokens-can-be-revoked)
- [Procedure](#procedure)
- [Pluggable Notify Daemon for linux](#notify-daemon-for-linux)
- [Telegram Channel to RSS](#telegram-to-rss)
- [Disable Local Fonts Extension](#disable-local-fonts-extension)
2017-03-26 15:13:29 +00:00
- [Community Browser Extension](communities-browser-extension.md)
- [Card Game Modelling (Research)](card-game-modelling.md)
2017-08-03 13:10:47 +00:00
- [Arch Linux Package Build System](#arch-linux-package-build-system)
2017-10-23 06:15:16 +00:00
- [Hacker News Research Bot](#hacker-news-research-bot)
2016-11-03 20:33:42 +00:00
- [Licence](#licence)
2014-08-14 14:24:51 +00:00
2017-08-08 21:29:10 +00:00
## Introduction
This is a open repository of personal ideas. Some of these are based on personal interactions, bug reports, and discussions I've had with lots of people. I've tried to give credit wherever possible. I also try to reference similar/existing projects that might relate to the idea, so if you know of something that is interesting in that space, file a PR or send me a link.
2015-10-17 06:24:10 +00:00
## OpenBook
2014-08-13 19:57:29 +00:00
This is a privacy-awareness application that relies on the TrueCaller data-sharing model. It is meant to teach users that their privacy is not in their hands, but in the hands of those that they trust.
The idea itself is to let people browse facebook as someone else. This is done by note of the following points:
1. Facebook allows OAuth API access that allow your application to perform tasks as any user whose token you have.
2. To start using the service, you must "hand in your data" first. Just like TrueCaller uploads _your entire phonebook_ before you can use the app, openbook requires you to give us access to _your facebook account_ before you can use openbook.
2015-10-17 06:24:10 +00:00
### Expectations
2014-08-13 19:57:29 +00:00
This has massive privacy implications. People assume their facebook data (such as information on your about page) to be available to only people they have friended on facebook. However, it is also accessible to all applications you authorize, which is what we are exploiting basically. I expect the application to be banned and have its keys revoked within a day or two. If I were to make this, I'd rather not use my own facebook account for fear of getting it suspended.
2015-10-17 06:24:10 +00:00
### Features
2014-08-13 19:57:29 +00:00
Since the idea is to teach users about privacy, openbook will not ask for access to all data. It will probably use a harmless data-property that will essentially be made public to all users of the app. Currently, I'm thinking "No. of Friends", which is not always available to public if you've hidden your friend list. It is harmless enough to not cause any mayhem, and yet vital enough to just show that such _attacks are possible_.
2015-10-17 06:24:10 +00:00
### Interface
2014-08-13 19:57:29 +00:00
1. Homepage will be a simple FAQ on privacy-related matters and what the app does.
2. A login page
3. A search interface to search amongst all users using the app.
4. A profile page of any user, where you can see their data using someone else's token.
2015-10-17 06:24:10 +00:00
### Backend
2014-08-13 19:57:29 +00:00
Unlike facebook, which can directly access _any data_ on their servers, we are limited to using their API. Which means getting data for any user has now become a mapping problem. You need to know which tokens can access data of which user. This could be made possible by pre-mapping the users accessible via each token, and refreshing each token's list every week or so (as you make new friends).
This idea probably breaks lots of point in Facebook's ToS, but that doesn't mean it can't be built.
2015-10-17 06:24:10 +00:00
## iStalk
2017-03-26 15:13:29 +00:00
This is essentially a unified profile mechanism, where a user's identity is defined by all of their activity on various networks. While this has some cool sub-ideas (like correlating activity between various networks), the most important implication that arises is that it can be a perfect tool for stalking. However, you can easily add in consent from the original profile owner to clear that concern.
2014-08-13 19:57:29 +00:00
2015-10-17 06:24:10 +00:00
### Idea
2014-08-13 19:57:29 +00:00
iStalk lets you "follow" a person across various networks that they belong to. Some networks, like twitter are mostly public, and can be followed very easily. But other networks (like Facebook) are harder to follow by virtue of them requiring a "connection" between the two users. iStalk makes it easier for you by using your account on that network as a proxy-connect mechanism.
Basically, you give us your access tokens, and we use them to stalk someone for you.
2015-10-17 06:24:10 +00:00
### Interface
2014-08-13 19:57:29 +00:00
A profile creation page allows you to specify as much information as you have on the person. This includes their facebook, twitter, last.fm, github usernames for eg. Each integration you want has to first be verified by you granting us (iStalk) access to your account (via OAuth).
Once a profile has been created, we will continuously long-poll the service to fetch new information as and when it becomes available. Real-time notifications are delivered to you as the person's activity is tracked.
2016-09-22 19:27:06 +00:00
## Collaborative Bookmarking
2014-08-13 19:57:29 +00:00
There are a dozen bookmarking services out there, many of them quite well done. However, most services are focused on the idea that bookmarking is a lone-person habit, which someone does in isolation.
I've often described the idea as "dropbox for bookmarks". The core concept is to allow a bookmarking "tag/folder" to be shared with another user, two-way. This means any of the shared members can add/remove bookmarks from that folder.
All updates (addition/deletion/edits) are notified to every member in the group.
Bookmarking for Teams, in essence. Some good alternatives are [listed in this quora answer](https://www.quora.com/Hello-What-are-the-best-web-apps-for-sharing-bookmarks-across-a-team), which you should read and follow if you're interested in this.
2016-09-22 19:27:06 +00:00
I've described this idea somewhat better in a chat log at [collaborative-bookmark.md](collaborative-bookmark.md)
2017-03-26 15:13:29 +00:00
Google Spaces did some nice work here, but the product was shut down within an year of launch.
2016-09-22 19:27:06 +00:00
2015-10-17 06:24:10 +00:00
## Lightspeed for Chrome
2014-08-13 19:57:29 +00:00
[Lightspeed](https://www.youtube.com/watch?v=wLnSLFrQDG8) is an experimental UI design (not implemented) for Firefox that focuses on making the New Tab page more functional by giving the browser a decent way to search across bookmarks, open tabs, and history.
It is a pretty neat idea (see the video linked above). My first thought on seeing the video was that most of that stuff could be done using the Chrome APIs for Chrome as well. Chrome does offer a way for an extension to override the new tab page, after all.
2017-10-22 14:54:34 +00:00
The discussion on [HN](https://news.ycombinator.com/item?id=8151271) is also very good.
*Update*: There is some progress on the WebExtension porting of Lightspeed, given the recent Firefox updates. With this in place, it should be relatively easier to port the webextension version to Chrome itself.
2014-08-13 19:57:29 +00:00
2015-10-17 06:24:10 +00:00
## Facebook Analytics
2014-08-13 19:57:29 +00:00
I like the analytics that WolframAlpha provides for Facebook. Except that they are not really that useful. I'd like an easy query interface that let me "filter" data points, and get back open-data via the Graph API. This means, for eg, getting the most liked music artist among a subset of my friends. The interface I'm thinking of right now is like Gapminder, which allows you to "play" the dataset as it evolves over time.
A recommendation engine built on top of my facebook data is a good idea, I think.
2015-10-17 06:24:10 +00:00
## API for Workflowy
2014-08-13 19:57:29 +00:00
Workflowy is a cool tool that I use for note-taking. It allows infinitely nested lists with @mention and #hashtag support. One thing it lacks currently is API for me to access my own data. I think workflowy is a great tool that could become a lot better if there were a way for developers to hook into it. (For example using workflowy as a data-backend for a todo-app).
2015-10-17 06:24:10 +00:00
## Lettersafe
2014-08-13 19:57:29 +00:00
My notes for lettersafe are on [workflowy](https://workflowy.com/s/5439f7a9-3762-f247-3e96-4d047b5d4ce0).
The idea was to build a zero-knowledge email storage. Kinda like lavabit, with a few minor changes. After thinking about it for months, and working on it for a few days, I gave up on the idea. I understand now that server-side email encryption can never be a good idea.
2015-10-17 06:24:10 +00:00
## Email on top of keybase
2014-08-13 19:57:29 +00:00
Keybase has a cool API. I wonder if its possible to build an actual email service on top of keybase?
2015-10-17 04:59:36 +00:00
## Newsletters for GitHub
A lot of github project owners would like to send out newsletters to all of their
stargazers. However, GitHub doesn't provide anything for that. An easy way would
be to integrate StarGazers with MailChimp, making sure that people can unstar
a project to unsubscribe from the mailing list.
Only the repo owners and collaborators (maybe) should have access to sending out
newsletters. For bonus points, you can replace mailchimp with your own solution.
This could even be monetized slightly for paying off your server costs: newsletter
access for projects with >1k stars (the mailers that would cost you money) cost
money to the repo owner as well.
So a tiny python package pays nothing to update its users about a new release, but
if Angular team wants to send out an update, that gets paid.
And finally, this should automatically subscribe you to any new GitHub releases in
any project you have starred. This is a missing feature that I think can be best
implemented by a third-party for now.
2015-10-17 06:24:10 +00:00
## Hacking via OAauth tokens
2014-08-14 14:21:50 +00:00
While pen-testing, once you've gained access to the target, it is often necessary to install a backdoor to mantain the access. While this is easily done in case of root access to the machine, this is not that easy if the target is an email account, lets say.
Many online services today (with data of considerable value) offer developers programmatic access to their data by use of APIs, which are usually authenticated via OAuth tokens. What I intend to build is a suite of applications (or a single large one) that allow you to use the application as another user, just by setting up an access token.
While this is certainly possible with existing tools (such as the Facebook Graph API Explorer), it is cumbersome and not user-friendly. The application will mimic the interface, usability, and looks of the actual application to let you maintain access easily enough.
2015-10-17 06:24:10 +00:00
### But OAuth tokens can be revoked
2014-08-14 14:21:50 +00:00
That is a good point, but one that fails in practice. A password change in most services does not trigger an automatic token revocation because that would leave a lot of developers and users unhappy. However, neither does any service warn you to check your approved applications (especially after a hacking attempt).
2015-10-17 06:24:10 +00:00
### Procedure
2014-08-14 14:21:50 +00:00
1. You gain access to someone's account.
2. You create an application (using a fake account or the victim's own account, so its not tied back to you)
3. You setup our app (direct deploy to Heroku)
4. You configure the app with the application credentials (app id, secret key)
5. You authenticate the victim's account against the app
6. You use the application to access the user's account
The account access will continue till the victim checks his/her approved applications.
2015-10-17 05:04:54 +00:00
## Notify Daemon for Linux
Not another window manager daemon, because lots of them already exist and there
are already good APIs in almost all languages that make it easy to integrate with
all of them. However, Linux DEs are still missing an easy way for me to get notifications
about the thousands of little different things (such as build notifications).
The idea is to have a simple config where you can connect your bazillian accounts
via OAuth, and we will poll all your accounts and give you "clickable" notifications
for each of them. (GMail notifications might open your mail client if you click reply)
Keep it pluggable, otherwise its of no use.
2016-07-07 06:38:32 +00:00
## Telegram To RSS
There are quite a lot of Telegram channels that are popping up these days that I really like using.
Except there are lots of issues with telegram channels:
1. They are inside a closed network by-default. In order to access them you need to use the Telegram client
2. They are not linkable
3. No sharability without their client, and even then the content is duplicated.
The idea is to create a generic website that does these 2 things:
1. Publish an RSS Feed of every telegram channel it knows about.
2. Provide a direct link for every feed item on the RSS, so users without RSS readers can also browse through the listings.
Since `web.telegram.org` is taken already by the web client, maybe something like `opentelegram.in` should work fine.
2016-11-03 20:28:20 +00:00
## Disable Local Fonts Extension
A simple browser extension for web developers that disable local fonts from loading. Alternatively, it raises a grave warning if a web-font was bypassed for a local font.
Based upon this [chrome bug request](https://bugs.chromium.org/p/chromium/issues/detail?id=472136), which asks for this feature.
I came to know about this because [of a comment](https://github.com/captn3m0/disable-web-fonts/issues/1#issuecomment-143665811) on my "disable-web-fonts" extension, which does the opposite. This might be handy for people who want to make sure that web-fonts are working fine for all users.
2017-08-03 13:10:47 +00:00
## Arch Linux Package Build System
The Arch Linux User Repository is great. Except, a lot of packages rely on building-from-source since no binary releases are available. However, the build steps for these packages work very well, resulting in a working build. The idea is to create a AUR build server that takes in a AUR package name as input (it can have a whitelist of such packages), runs it in a docker container, and outputs a generated package file (`tar.xz`) that can then be directly installed on any machine.
This has some security concerns, mainly how do you trust a binary package an external server built?
Planning to solve this with attempting reproducible builds, and publishing everything. You can audit any build artifact whenever you wish. I'll likely just use the Docker ArchLinux image and build against that.
Moreover, the primary audience for this would be me. I would really like to get packages that can be installed much faster because I don't have to build them. I can just have a script that instead downloads the latest build from the server instead of AUR and then just installs the package instead of building it locally.
Take a look at https://github.com/Foxboron/arch-auto-build, which is a very similar attempt at this idea.
2017-10-23 06:15:16 +00:00
## Hacker News Research Bot
A bot that posts paper abstracts and links to PDF whenever a paper referencing a research paper is posted to Hacker News. Most scicomm posts that make it to HN almost always have a primary paper reference, and someone ends up posting the paper abstract along with a link to Arxiv or SciHub usually. A bot that automates this for all HN submissions would be a fun project.
2015-10-17 06:24:10 +00:00
## Licence
2017-10-22 15:08:28 +00:00
This work is licensed under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). Feel free to contribute via Pull Requests, or discuss ideas in Issues. Also feel free to use these ideas in making the Next Big Thing. I promise to send you a postcard if you ship one of these.
2016-11-04 06:47:27 +00:00
2016-11-04 06:50:19 +00:00
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](http://creativecommons.org/licenses/by/4.0/)