{"id":28287121,"url":"https://github.com/web3bio/efp-indexer-achive","last_synced_at":"2026-02-12T20:02:55.897Z","repository":{"id":287163543,"uuid":"963821063","full_name":"web3bio/efp-indexer-achive","owner":"web3bio","description":"efp-indexer-achive","archived":false,"fork":false,"pushed_at":"2025-04-10T09:02:19.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T23:50:01.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","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/web3bio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-10T09:01:36.000Z","updated_at":"2025-04-10T09:02:24.000Z","dependencies_parsed_at":"2025-04-10T09:47:49.770Z","dependency_job_id":"b48c0484-1bed-447a-bf00-297587d01c3d","html_url":"https://github.com/web3bio/efp-indexer-achive","commit_stats":null,"previous_names":["web3bio/efp-indexer-achive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/web3bio/efp-indexer-achive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3bio%2Fefp-indexer-achive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3bio%2Fefp-indexer-achive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3bio%2Fefp-indexer-achive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3bio%2Fefp-indexer-achive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3bio","download_url":"https://codeload.github.com/web3bio/efp-indexer-achive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3bio%2Fefp-indexer-achive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29379682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-05-21T22:11:06.531Z","updated_at":"2026-02-12T20:02:55.849Z","avatar_url":"https://github.com/web3bio.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003e [!NOTE]\n\u003e The project is under active development.\n\n\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ethfollow.xyz\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg width=\"275\" src=\"https://docs.ethfollow.xyz/logo.png\" alt=\"EFP logo\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pr.new/ethereumfollowprotocol/indexer\"\u003e\u003cimg src=\"https://developer.stackblitz.com/img/start_pr_dark_small.svg\" alt=\"Start new PR in StackBlitz Codeflow\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.ethfollow.xyz\"\u003e\u003cimg src=\"https://img.shields.io/badge/chat-discord-blue?style=flat\u0026logo=discord\" alt=\"discord chat\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://x.com/ethfollowpr\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/ethfollowpr?label=%40ethfollowpr\u0026style=social\u0026link=https%3A%2F%2Fx.com%2Fethfollowpr\" alt=\"x account\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\" style=\"font-size: 2.75rem; font-weight: 900; color: white;\"\u003eEthereum Follow Protocol Indexer\u003c/h1\u003e\n\n\u003e A native Ethereum protocol for following and tagging Ethereum accounts.\n\n## Important links\n\n- Documentation: [**docs.ethfollow.xyz/api**](https://docs.ethfollow.xyz/api)\n\n## Getting started with development\n\n### Prerequisites\n\n- [Bun runtime](https://bun.sh/) (latest version)\n- [Node.js](https://nodejs.org/en/) (LTS which is currently 20)\n\n### Installation\n\n```bash\ngit clone https://github.com/ethereumfollowprotocol/indexer.git \u0026\u0026 cd indexer\n```\n\n\u003e [!NOTE]\n\u003e If vscode extensions behave weirdly or you stop getting type hints, run CMD+P and type `\u003e Developer: Restart Extension Host` to restart the extension host.\n\n```bash\n# upgrade bun to make sure you have the latest version then install dependencies\nbun upgrade \u0026\u0026 bun install\n```\n\n### Environment Variables\n\n```bash\ncp .env.example .env\n```\n\n### Database\n\n- [PostgreSQL](https://www.postgresql.org/)\n- [dbmate](https://github.com/amacneil/dbmate) (for migrations)\n\nMigration files are located in `./db/migrations`. `dbmate` commands:\n\n```bash\nbunx dbmate --help    # print usage help\nbunx dbmate new       # generate a new migration file\nbunx dbmate up        # create the database (if it does not already exist) and run any pending migrations\nbunx dbmate create    # create the database\nbunx dbmate drop      # drop the database\nbunx dbmate migrate   # run any pending migrations\nbunx dbmate rollback  # roll back the most recent migration\nbunx dbmate down      # alias for rollback\nbunx dbmate status    # show the status of all migrations (supports --exit-code and --quiet)\nbunx dbmate dump      # write the database schema.sql file\nbunx dbmate wait      # wait for the database server to become available\n```\n\n#### Setup\n\nAssuming the `efp-database` container from `compose.yml` is running, run the following command to create the database and generate TypeScript types for the database schema:\n\n```bash\nbun database:up\n```\n\nThe command creates the database (if it doesn't exist) and runs migrations (see `./db/migrations`).\n\nWhile still in development (i.e., no production database yet), any database schema we make go directly into this single file: `./db/migrations/20231205052550_init.sql`. See next section for updating the database schema.\n\n#### Updating the database schema\n\nYou've updated the `sql` schema in `./db/migrations/20231205052550_init.sql` and want to reflect that in the database container and update the TypeScript types. Run:\n\u003e [!NOTE]\n\u003e Make sure you're not connected to the database through any GUI or client while running this command. Otherwise you will get `Error: pq: database \"efp\" is being accessed by other users`.\n\n```bash\nbun database:reset\n```\n\nThis:\n- runs `dbmate drop` which nukes the `efp` database, then\n- runs `dbmate up` which creates the database and runs migrations (aka the single migration file we have in `./db/migrations`), then\n- runs `kysely-codegen --dialect='postgres' --type-only-imports --log-level='error'` which generates TypeScript types for the database schema and writes them to `./src/database/`.\n\n____\nTODO: Continue documentation\n____\n\n\u003cbr /\u003e\n\nFollow [**@ethfollowpr**](https://x.com/ethfollowpr) on **𝕏** for updates and join the [**Discord**](https://discord.ethfollow.xyz) to get involved.\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3bio%2Fefp-indexer-achive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3bio%2Fefp-indexer-achive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3bio%2Fefp-indexer-achive/lists"}