Una web para todo en HiveCuba ¿Se logrará?

in Hive Cuba3 months ago (edited)

Un frontend para HIveCuba.png


ENGLISH VERSION (click here!)

Since I learned about HiveSQL, I became interested in doing something with it and also learning a new programming language. That's how I started studying a bit of Python as I went along, doing something that came to mind. First, I learned how to do the basics and gradually managed to create a script that allowed me to calculate the curation rewards of the Cuban community and send them to those who delegate to it.

SPAM: Delegating to @hivecuba you obtain 100% of the rewards generated according to the size of your delegation on a monthly basis.

But now I'm trying to evolve from that simple script to a website where I can do more than just the same function, but also have various statistics about @hivecuba. I had that idea for a while, and it's a preliminary step to something bigger that I want to do. However, I hadn't found the simplest way to do it until now.

One day, after seeing a tweet from a Cuban developer about Streamlit, I decided to use this Python Framework to create the website. This library promised to be the simplest way to develop and share data applications. Considering that Hive is a great database and I wanted something that wouldn't take too long, it seemed like a good option. I'll know for sure once I finish making the app. Yes, I'm already working on it. Some may already know about some previews I've been sharing on Twitter, Inleo, and the community on Telegram.

Let's see a preview

For now, I will divide the statistics into:

  • Delegators: it will allow me to calculate and send curative earnings to the delegators in a much more visual way than in a terminal.
  • Curations: it will show me how effective @hivecuba's curation is and in the future maybe it'll be the way for me to curate since I can no longer depend on Peakd lists. The information it's providing right now is not entirely correct; I need to refine the calculation further.
  • Witness: you can imagine it beyond its statistics, perhaps I can update some fields from there, but that's very long-term.
  • Top Users: here I will have the best users of the community in different areas, whether in the number of comments, publications, and more. Maybe we can even create some competitions or reward the top users.

Screenshot 2024-03-06 at 1.47.24 PM.png

Screenshot 2024-03-06 at 1.48.03 PM.png

I'm showing you just a part of the two tabs I have previewed so far. There is still much left, and I will try to keep you informed. The final idea is that anyone can enter and view the statistics. Especially the Top Users, which can be very useful as the community grows. I also consider the possibility of someone logging in with Keychain and voting for Cuban posts from the Curation tab. Perhaps each post could even have a quality meter, although for that, I would need to use some AI, and I don't want to think about something I can't do yet.

As soon as there is something viable, I will release it so that anyone can access it and provide their opinions. Although suggestions are already welcome. You can suggest features, statistics that can be added to each tab, or even new tabs. Let your imagination run wild, and I will take note.

Waiting for your comments

Desde que conocí sobre HiveSQL me interese por hacer algo con ello y de paso aprender un lenguaje de programación nuevo. Fue así como comencé a estudiar un poco de Python a la medida en que iba haciendo algo que se me ocurriese. Primero fui aprendiendo a hacer lo básico y poco a poco logré crear un script que me permitiera calcular las recompensas de curaciones de la comunidad cubana y enviarlas a quienes le delegan.

SPAM: Delegando a @hivecuba obtienes el 100% de las recompensas que se generen según el tamaño de tu delegación de forma mensual.

Pero ahora estoy tratando de evolucionar de ese simple script a una web donde no pueda hacer la misma función, sino que pueda tener distintas estadísticas sobre @hivecuba. Tenía esa idea desde hace un tiempo y es un paso previo a algo más grande que quiero hacer. Pero hasta ahora no había encontrado la vía más sencilla de hacerlo.

Fue así como un día, tras ver un tweet de un desarrollador cubano sobre Streamlit, decidí usar este Framework de Python para crear la web. Esta librería prometía ser la vía más sencilla para desarrollar y compartir aplicaciones de datos. Tomando en cuenta que Hive es una gran base de datos y yo quería algo que no me llevara mucho tiempo, pues parecía una buena opción. Lo sabré cuando termine de hacer la app. Pues sí, ya ando haciéndola. Algunos quizás los sepan de algunos adelantos que he ido dando en Twitter, Inleo y la comunidad en Telegram.

Veamos un adelanto

De momento voy a dividir las estadísticas en:

  • Delegadores: me permitirá calcular y enviar las ganancias de las curaciones a los delegadores de una forma mucho más visual que en una terminal.
  • Curaciones: irá dado a mostrarme que tan efectivo está siendo la curación de @hivecuba y en un futuro quizás sea la vía que yo tenga para curar visto que no puedo depender más de las listas de Peakd. La información que está dando ahora mismo no es del todo correcta, toca afinar el cálculo aún.
  • Testigo: se lo deben imaginar, más allá de sus estadísticas, quizás logré actualizar algunos campos desde ahí, pero muy a largo plazo.
  • Usuarios Top: aquí tendré los mejores usuarios de la comunidad en distintas áreas, ya sean cantidad de comentarios, de publicaciones y más. Quizás hasta podamos crear algunas competencias o premiar a los más Top.

Screenshot 2024-03-06 at 1.47.24 PM.png

Screenshot 2024-03-06 at 1.48.03 PM.png

Les muestro solo una parte de las dos pestañas que hasta ahora he adelantado. Me queda mucho aún y trataré de ir informando. La idea final es que cualquier persona pueda entrar y ver las estadísticas. Sobre todo los Usuarios Tops que puede tener un gran uso a medida que la comunidad crece. Sin dejar de pensar en que alguien pueda loguearse con Keychain y votar publicaciones de cubanos desde la pestaña de Curaciones. Quizás incluso cada publicación pueda tener un medidor de calidad, aunque para ello tendría que hacer uso de alguna IA y no quiero pensar en algo que aún no pueda hacer.

Apenas haya algo viable, lo soltaré para que cualquiera pueda acceder y me puedan dar sus opiniones al respecto. Aunque desde ya se aceptan. Puedes sugerir funciones, estadísticas que se puedan añadir en cada pestaña o incluso nuevas pestañas. Deja volar tu imaginación que yo iré anotando.

Espero sus comentarios

Translated and formatted with Hive Translator by @noakmilo.

Puedes contactarme y seguir mi trabajo aquí

Instagram
Telegram
Twitter

Contact me and follow my work here

manuphotos_ln_v4vapp_address (2).png

Apoya mi contenido con Bitcoin Lightning

Sort:  

How can I learn this skill?

You can go to Streamlit website to know from their Docs, they are quite well explained.

But you will need to learn a way to connect to HiveSQL or with Hive Apis in case you want to connect your website with Hive

Okay thank you very much.
I’ll check out the site

I might do a tutorial or at least explain the code but it will be after i finish and share the code with everyone

Thank you very much🙏

Después veré esas cosas de curar y demás cuando tenga más HP y conocer poco a poco la comunidad hive, es verdad que @hivecuba apoya mucho el contenido de los cubanos mis saludos 👏

Gracias bro, vamos a ver que tal me va.

Papi ponte las pilas que te coge el tercer lugar 🤣, me parece super increíble esto que has logrado, era algo a lo que queria tener acceso para ver como iban mis delegaciones. Creo que es bastante útil, incluso motivante de cierta manera para los futuros delegadores de la comunidad. Leí también en el artículo una parte de premiar al top en diferentes áreas, eso me parece interesante, siempre y cuando la comunidad se lo pueda permitir. Saludos muchas felicidades por esta nueva iniciativa, espero que la tengas disponible pronto para todos.

Vamos a ver que tal evoluciona todo, de momento sera lento pues solo sere yo tirando código y mas con el poco tiempo free que me queda en el día. Pero de ideas hay muchas, se puede lograr mucho.

Mis mejores deseos para este emprendimiento 🙌🏾

Gracias bro

De hecho soy mujer😅, el nombre de mi usuario es lo único masculino 🤣. En todo caso sería : Gracias amiga ꒰⁠⑅⁠ᵕ⁠༚⁠ᵕ⁠꒱⁠˖⁠♡

Jajaja eso eso, gracias 😂

Excelente amigo justamente algo parecido tenía en mente jjj, eso luce genial tomaré ideas para mí proyecto 😅👀 aunque es en php. Saludosy que tengas éxito con este proyecto

Que bien, ojalá te ayude.

Muy buena idea. Ojalá se pueda llevar a cabo y sirva para potenciar las publicaciones cubanas que tienen gran calidad.