{"id":13734421,"url":"https://github.com/BTS-CM/beet_api","last_synced_at":"2025-05-08T10:31:48.479Z","repository":{"id":194315853,"uuid":"690554621","full_name":"BTS-CM/beet_api","owner":"BTS-CM","description":"An ElysiaJS based API for generating Bitshares Beet wallet deeplinks","archived":true,"fork":false,"pushed_at":"2024-04-02T22:42:12.000Z","size":1802,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-04T03:03:45.098Z","etag":null,"topics":["api","astro","bitshares","bun","elysiajs","html","javascript","swagger","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/BTS-CM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2023-09-12T12:24:31.000Z","updated_at":"2024-08-02T13:18:56.000Z","dependencies_parsed_at":"2023-09-12T21:37:28.268Z","dependency_job_id":"97d52af0-3535-4937-97c9-87b062c85ac3","html_url":"https://github.com/BTS-CM/beet_api","commit_stats":null,"previous_names":["bts-cm/beet_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BTS-CM%2Fbeet_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BTS-CM%2Fbeet_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BTS-CM%2Fbeet_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BTS-CM%2Fbeet_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BTS-CM","download_url":"https://codeload.github.com/BTS-CM/beet_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224720949,"owners_count":17358485,"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":["api","astro","bitshares","bun","elysiajs","html","javascript","swagger","typescript"],"created_at":"2024-08-03T03:00:55.578Z","updated_at":"2024-11-15T02:32:40.526Z","avatar_url":"https://github.com/BTS-CM.png","language":"TypeScript","funding_links":[],"categories":["Libraries"],"sub_categories":["Tools and Scripts"],"readme":"# beet_api\n\nAn ElysiaJS based API for generating Bitshares Beet wallet deeplinks\n\nFirst [install Bun](https://bun.sh/docs/installation) on your computer.\n\nThis API was developed using Linux on Windows via [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).\n\nBefore running this Bitshares Beet API, you need to install the required packages:\n\n```\nbun upgrade\nbun install\n```\n\nYou then need to fetch the required data for the API to serve to the constructed UI.\n\nYou can either fetch it all in the one go (which might fail):\n\n```\nbun run refreshData\n```\n\nOr you can manually run each script:\n\nFor erasing existing data:\n```\nbun run eraseChainData\n```\n\nFor fetching new data:\n```\nbun run fetchPools\nbun run fetchAssets\nbun run fetchDynamicData\nbun run fetchIssuers\nbun run fetchBitassetData\nbun run fetchOffers\nbun run fetchDeals\nbun run fetchFees\n```\n\nWith the required chain data in place, you can then fetch the example [Astro UI](https://github.com/BTS-CM/astro-ui) for the public folder:\n\n```\nbun run constructUI\n```\n\nThe above UI is optional, you can create your own application UI which queries the elysia server.\n\nYou can now run the dev server:\n\n`bun run dev`\n\nAnd you can now compile the beet_api into a linux executable:\n\n`bun run compile`\n\n---\n\nOnce the elysia server is running, navigate to:\n\n`http://localhost:8080/` to view the hosted web app\n\n---\n\nTo run the compiled executable, run: `./beet_api` in the WSL/Linux terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBTS-CM%2Fbeet_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBTS-CM%2Fbeet_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBTS-CM%2Fbeet_api/lists"}