I stopped working on the terminal after a lot of API changes which caused a lot of issues. It does not work anymore. I started working on telegram bots and snipers, join my discord or DM me on twitter for access.
Author: https://twitter.com/webby_the_dev
Discord: https://discord.gg/grmQhZBwWP
Live version: https://friendtech-terminal.com/
Stars highly appreciated ⭐️⭐️⭐️
My friend.tech link
Project was made in few hours because of the friend.tech hype. That is why its code quality isn't the best.
I just wanted to quickly make a simple terminal for getting recent users, buying and selling their keys and fetching some users data.
- first of all it could have a separated backend that will make all user updates and just pass it through websockets to be fast (also more scalable)
- could change hardcoded private key to metamask for example, minus of it would be that user will have to accept transactions every time which is time consuming
- I don't have much experience with next.js so probably there is a lot of refactors in that aspect
- better UI
- separate index.ts file into more small components (it is too big now)
- make a lot of code refactors (it definitely can work much faster and be better optimized, I just made it fast so didn't pay that much attention to it)
- more error handlers
- my websocket provider was sending duplicated events for some reason so I had to make a process event queue to manage this and do not make multiple duplicated requests
- there are many "tricks" for managing the state and fetching data so it also could be changed or refactored
- more filters could be added, basically it should filter out all fake accounts, bot accounts, OF accounts etc.
- show more tooltips for all of the actions
- code documentation
NEXT_PUBLIC_FRIEND_TECH_AUTHORIZATION_TOKEN=
: friend.tech token for authorization of search/users?username=
endpoint
NEXT_PUBLIC_BACKEND_URL=
: url for backend responsible for fetching last users
NEXT_PUBLIC_WEBSOCKET_PROVIDER=
: Base network websocket provider
@Update
- Clone the repository.
- Run
npm install
to install the dependencies. - Set up the necessary environment variables by creating
.env.local
file in root folder, copy pasting.example.env
file content to it and filling all of the variables. - Launch the application with
npm run dev
This project is licensed under the GNU Affero GPL v3.0.