{"id":20049022,"url":"https://github.com/unlock-protocol/locked.fyi","last_synced_at":"2025-05-05T11:30:35.420Z","repository":{"id":56020402,"uuid":"239192044","full_name":"unlock-protocol/locked.fyi","owner":"unlock-protocol","description":"A basic notes application where notes are stored on IPFS and only visible by members of a lock","archived":false,"fork":false,"pushed_at":"2020-11-30T20:30:30.000Z","size":2578,"stargazers_count":21,"open_issues_count":12,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-10-17T02:47:53.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://locked.fyi/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unlock-protocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://donate.unlock-protocol.com/?r=unlock-protocol/unlock/"}},"created_at":"2020-02-08T19:25:45.000Z","updated_at":"2023-10-17T02:47:53.529Z","dependencies_parsed_at":"2022-08-15T11:31:30.786Z","dependency_job_id":null,"html_url":"https://github.com/unlock-protocol/locked.fyi","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Flocked.fyi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Flocked.fyi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Flocked.fyi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Flocked.fyi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlock-protocol","download_url":"https://codeload.github.com/unlock-protocol/locked.fyi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224444089,"owners_count":17312126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T11:48:00.651Z","updated_at":"2024-11-13T11:48:01.155Z","avatar_url":"https://github.com/unlock-protocol.png","language":"JavaScript","funding_links":["https://donate.unlock-protocol.com/?r=unlock-protocol/unlock/"],"categories":[],"sub_categories":[],"readme":"# locked.fyi\n\nLocked.fyi is a new kind of platform, completely decentralized! Its code is open source and you can run it locally (no backend needed), or deploy your own versions of it, but, more importantly all of the data is stored on IPFS, a decentralized file storage protocol.\n\n# What are locks?\n\nWe believe the **web needs a better business model**. We also know that \"free\" too often means that great ideas eventually suffer from the tragedy of the commons, or that the user's privacy and attention get abused.\n\nFor this reason, locked.fyi comes with a business model, built-in. Each application and each piece of content can be monetized with [Unlock](https://unlock-protocol.com/), a decentralized protocol for memberships.\n\nCreators using the platform can of course decide of the terms of their own memberships (including duration, currencies, prices... etc). But they can also use the **community lock** which is a lock whose membership costs a little more than \\$1 per year (actually less than that right now...) and whose proceeds will get shared between all creators.\n\nWe will soon write more about how this works!\n\n## Running locally\n\nThis code is Open Source and available for anyone to fork, and improve (please send your changes). More importantly, you are free to run this code on your computer as well, so that you do not even have to trust _us_ to run it forever. You need a node + yarn environment!\n\n1. Check out the code using git: `git clone git@github.com:unlock-protocol/locked.fyi.git`\n2. Install dependencies: `yarn`\n3. Run it: `yarn start`\n\n✅ Follow instructions given in the terminal and open your web browser!\n\nYou can also deploy this code if you want to access it from an endpoint you control. We are currently deploying it using Cloudflare's worker infrastructure, but since it's a stati HTML application it can run anywhere!\n\nThere are 2 important environment variables to set:\n\n- `PUBLIC_URL` which is the base url (we use `https://locked.fyi`)\n- `BASE_PATH` which is the base path for relative URL if you are not deploying the application at the root of a website.\n\n### Fission\n\nTo deploy using [Fission](https://fission.codes/), follow these instructions and make sure you set the `BASE_PATH` environment variable if you are deploying this inside a sub-folder of your fission space.\n\n1. Build the project: `yarn build`\n2. Deploy: `fission up build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlock-protocol%2Flocked.fyi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlock-protocol%2Flocked.fyi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlock-protocol%2Flocked.fyi/lists"}