AyudaPy.org: From Weekend Project to Key Civic Movement During the Pandemic w Marcelo Elizeche Landó
Transcript
By Speaker 1, Speaker 2, Speaker 3. From DjangoCon US 2022. Published November 24, 2022.
Watch the video Markdown version 5,835 words · auto-generated · en
Summary
Marcelo Elizeche Landó describes how he built AjudaPY during Paraguay’s strict COVID-19 lockdown, when many people in the informal economy had no income, food, or medicine and government aid systems were failing. Starting with a Django, GeoDjango, PostgreSQL, and OpenStreetMap MVP of under 200 lines, he created a simple map-based service where people could request help and others could find nearby requests; volunteers and organizations quickly added translations, mobile apps, features, and support, including adoption by the Paraguayan Red Cross. He argues that simple, timely open-source software can have substantial civic impact, while stressing the emotional cost of maintaining a platform tied to urgent human needs and the importance of sharing responsibility and protecting one’s own wellbeing.
Transcript
Automatically transcribed, so expect mistakes in names and technical terms. Filler words are removed.
0:00 Introduction and Pandemic Context
Speaker 1
Today I'm going to talk about a project of mine called Ajuda PY or Ajuda Pi. That's it doesn't matter. I'm well first I this is my first talk in English, so I want to say sorry in advance to the lab live caption lady. It's going to be challenging for both of us. So first something about me. That's me. That's the best picture I have of me. And also my mom wants to show that to me to show it here. Well this is my handle in everything like melizeche It's easier usually than my name.
So I'm a developer and InfoSec consultant. I'm a Python Software Foundation Fellow. Currently I'm working at Moody 's as a software engineer. and I help to organize the Python Paraguay community. Well, that's the logo of Python Paraguay, that's the handle if you want to give some love there and especially if you speak Spanish. We do meetups and we do a streaming on the YouTube channel about the meetups with the with the talks Okay, so this is a slide that probably it's going to help a few of the of you. That is that is Paraguay, it's a country the size of California with a population of seven million
And the TLD is dot py, but you can't buy just that PY. Yeah, I know, I know, I know. That is why the project is called adjudapy. org and not adjuda. py But yeah, there is a reason for that. All the reasons are stupid, but well, that's for another talk. Cool, let's continue. Well I'm going to give you a little background here. This project occurred dur during the pandemic, during the lockdown. In Paraguay we have like at this really strict lockdown since I think it was March 11. It was even with mobility restriction, like you couldn't like go more than a few blocks from your home.
So Paraguay is a country where there is an insufficient social safety nets that so that you're like if you and also the c the informal sector of the economy it's something like more than the 50%. So there is a lot of people that live die day by day by day by day. So if they don't work one day, they don't eat that day. And when the lockdown occurred like that happened to a lot of people. Also, the government reaction was totally inefficient even when they tried to do some kind of help like they you know they pop up some website and at the minute the website went down
and also like it was insufficient also And as I said, like we had also my mobility restrictions. So in like in the light of this, you know everybody wants to help and I saw that a lot I saw that you know people trying to you know to do their best to help people and sometimes one thing that happened is that you know like you saw like in social media that you know this I don't know, like this old man doesn't have to eat and you know and there were like I don't know fifty people helping that old man and that's something really good but you know as a programmer I think like probably it's not the most efficient way to dist distribute help and thinking about that
4:10 AjudaPY’s Initial Platform
Speaker 1
well who really knows who really knows one's needs it's oneself so I try to with those two I try to create a platform where the people that need help can say what they need. and the people that want to help just can go there and see who is he's in who is in need. So I now in a weekend I start like doing something like start coding behind this idea and by the Monday I have something like it was like not it was something you know mm less than 200 lines of code
but it kinda worked. So that is the I just released that with a tweet. Like that is a the roughly translation. of the of the tweet with a gif of how to use the platform. So I think here is the gif Yeah, so basically you have only two buttons. You do one click, you put whatever you need, and you put your name, your phone, and your select your location. And you put some reference of or address and you can upload a picture if that's necessary. And well, that's the whole flow for the for the help requester and if you want to help you have the map
5:42 Community Growth and Adoption
Speaker 1
and you can see like who is like near you to that didn't help that didn't help. So I just released that tweet like you know it okay I did this and let's see what happened So what happened? The project like go it went like explosive like At the at the I had like the first help request like twenty minutes after that tweet. I had the first pull request from my repo two hours from that. And so people start getting involved, people start sharing the platform. And well like
you know like in the I think the second the second day I have like 200 help requests and the third day it was something like 1000 and it continued growing like that So a lot of people got help, like there's some tweets of people that it got help or they helped somebody and they were like really happy about that. Like most of the people really need like for me the idea initially was to create a platform for any kind of help. But slowly started becoming like a humanitarian platform. Most of the what people need was like food, supplies and medicine So also as I say
We have some community responses. This is like the date of my tweet that is the date of the first PR, so it's like just a couple hours or something of difference. So that's it was something that was amazing. And after that I after one hour I got another PR and so on. So You know, everybody really wants to help and you know the developers or whoever what whoever was had some skills or not, they try to help. Also the commun people that I don't know start creating some tutorials.
Speaker 2
de cómo apuntar. Necesito ayuda o quiero ayudar. Si necesitas ayuda, necesito ayuda, que es el She's
Speaker 1
explaining the whole process of how to use the platform. So that was something that was like pretty great to have like people that you don't know like creating tutorials for your platform. So and even like also another thing like paraguay is a bilingual country We speak Spanish and Guarani. Guarani is a native language that 90% of the population speaks both. And in some parts like people only like their mother tongue is Guarani and the I will say like the school and work language is Spanish. So they are like
they think en guaranà and speaking Spanish. So people start like creating tutorials in GuaranÃ.
Speaker 3
O hasuba kon ara cuera rupi, do ho putisho pe cuera tenbi u, a bein dohutisho pe cuera pirapire, upevare, dere putu sino, ayeta nede ko arape pagina katu hape e ke putuhangwa, ha avei dere ko te menohina ekatu. He started like doing the whole tutorial in Guarani. So that
Speaker 1
was something also cool. I got another tutorial in Guarani here. But this doesn't have subtitles, so. Yes. Also regarding the community response something that was really cool is that from one week that the project was launched somebody create an Android app and start sharing like because I create an API for this. And after one week of that, so the second week, we have like an iOS app that somebody did because I don't know how to program for iOS. And it was like even nicer. The UX and the everything was nicer.
10:29 Red Cross Expansion
Speaker 1
But yeah, like we have like for the two major platforms we have like an app in two weeks. So after this catch-up, the Paraguayan Red Cross come to us And they wanted to use the platform as their official platform for helping people in the in the during the pandemic. So I have to make the app more complicated. So instead of two buttons, now I have four buttons. So I one is donation centers and the other I want to be a volunteer. So good thing it is that in Django I could separate that with the core features and the organization
11:16 Technology Stack and Architecture
Speaker 1
features like in different apps But yeah, I'm going to get there. Well, so here is open source and our tech stack So I created this with Django and GeoDjango using Postgres and Postgres OpenStreetMap Lizlet JS and I was strongly an advocate for vanilla JS because I don't know how to program in React. But yeah, it was But I think it was the good the a good decision because it lowered the bar for anyone to wanted to help like yeah you just need JavaScript and yeah don't put jQuery or whatever here
so Many people like I learned some stuff and many people learned some other stuff of how to do stuff in Vanilla. js At first like it was just only templates and I was writing Django templates, but you know after that people that knew JavaScript joined the project so we had like a nicer I was there and a nicer code. So probably I know this is going to red but the project is pretty simple. It basically like it's one form and one map and the form the it's the model is there is called help request it has a title a message the name the phone the address and the location
here you can see this is a field for from Hio Django that is a point field so it's easier to geolocate something it's just like one more field like So it's pretty easy. And in the left you have the administration panel and you are going to see that You know, funny stuff happened when you put your loc locale in Spanish, but you program in English and so you have some categories here. So yeah, like I didn't put the plural correctly there, but yeah, some stuff that happened. So but yeah, as I was saying, like this is the core. And this is the for organizations in this case was the Red Cross, but we are after I'm going to plant I'm going to talk about
there is other organizations. So for Paraguay like that is kind of like the population is not very big having an open source project with I will say for me it's a lot of contributors like there start like you know, everybody was like creating issues, cre you creating like solving issues, getting PRs, like I think these stats are from like two or three two months from the beginning. So yeah and without knowing I became an open source maintainer. Like that wasn't the idea initially, but yeah that happened. And well, I'm going to talk a little about the architecture.
14:21 Deployment and Scaling
Speaker 1
Probably if you have DevOps people here, they're going to hate me. But yeah. No Docker, just vibes. So but initially it was just five dollars per month BPS. I did git deployed scripts, like really, you know, source, activate, blah, and pull, and it worked. I use Unicor as and it was like so good, like I know that is like it's not the probably the cool way to do it now, but it's so reliable and so predictable regarding the use of memory, so that was good. And yeah, I was like, you know,
we already have Sysn D because we were running Linux, so we use that for the process monitoring. And yeah, so everybody is going to, but this will scale? Yeah, you know, you need to ask that question that question. So yeah, when we needed it was like three twelve dollars BPS, Nginx as a lot balancers and NFS mount and fs tab for file storage. Again, sorry, DevOps people You know, like I could do like some cool stuff with S3 and block storage and stuff, but I don't know how to do that and I'm good at Linux. So this happened and it worked.
15:53 Media Reach and International Forks
Speaker 1
And also usually you don't need for you know like this got like a lot of traffic. I will say like the third VPS it was just for Yeah, for flexing that I could do that, but yeah. So I'm going to talk a little more the repercussion of the project So as I say like the project like explode like we had a lot of media covering like not only local media, also media from other places. Here's the guardian. Like you know, like the news itself is not like really good, but yeah, the project got mentioned as a solution. We have like I think this was screenshot it was like from one week from the project.
We have like accessing we got like from everywhere basically this is like for this kind of platform maybe it's not a lot, but yeah, yeah, for Parai I think it's a lot. And we the one of the good things that happened that for me was like totally something that I wasn't expecting is that you know as a People start talking about the project and they want to replicate it. So in Argentina they created this that is called Argentina por vos, like it's Argentina for you And I will say that probably it's you know the UI is nicer. They have you know designers and stuff, but yeah, but after that I'm going to talk about the UX and why I
try to keep it keep it simple but yeah I really like this. Unluckily in Argentina the project didn't take the same I would say like explosion but yeah it was a cool thing that it happened Also, this was totally something unexpected. The project got fork in Indonesia So yeah, I don't speak Bahasa Indonesia or Indonesian language. But no, I but because I know that because of those buttons I know that one say like I need help and they're I want to help because those are the buttons that we you have in the platform. And yeah, and they created like everything like that's Jakarta and they start using
18:10 User Experience Design
Speaker 1
I think the at this moment the project is down, but I think it worked for a while there. And well, I'm going to talk a little more about the user experience because I think for this project was something that was I will say like essential. We have to have some UX decisions because we have some challenges. Because especially our users, like we have two users, basically the help requester and the one the person that wants to help. And I will say that the I will say neither of those users necessarily were you know a tech-savvy user. And especially the help requester, probably
most of them were people of lower income. or even unhouse people. So for that I we have to take some consideration that it got like pros and cons, like not having no user accounts Like you don't you can't ask for somebody that is like having a really bad time to create an email and all the process that got there for creating an account We use like everyday language pretty direct, like nothing that usually see in a site, like everything was like a call to action like hey you press here I'm going to try to find you and something like that. We in every input we use examples
so people knew what kind of information they could they can put there. And we did it mobile first because most people that is the only way to access to the to the internet And as I talk about the two kind of user that we have, we have like the help requester and the people that want to help. We try to focus all the things first in the help requester because that is that's the beginning of the flow. So sometimes we need to took some decisions that you know like it will be better for the people that wanted to help, but it's going it will impact in the people that needed help. We have to take those decisions.
Also vertical flow that's maybe nothing that could I will say like how the attention but what happened like this is was a site when it was launched and everything is like from top to down and you only have one thing per row. That's that's the idea like nothing confusing. I have like this long discussion with when we were like a lot of developers with one of the front-end guys that really want to put a hamburger menu there. And yes, it wasn't like a long decision, but it was a good, you know, because I had to write like several paragraphs like explaining why. And everybody like I think and everybody agree
after that. And yeah, so Everything is like top down and vertical flow. This is how it looks now. Like it got you know a little may makeover. Yeah, we have a logo, but we still use the same thing. Like we have like these two buttons that say I need help and the and have and the subtitle there it says publish your request so people can see and the other one says i want to help and it says like find someone that near you that need to that need that so you can help him also as I say there like on the right you can see it's like the first button of all it says like Press here I'm going to try to find you
because we realized that one of the most difficult tasks that people had was using a map And that's not the only thing. People many people didn't know their address. That's something that happened. Many people didn't have like a proper address because they were unhoused people. So also you can see there, like I probably I don't know if you're going to notice, but like in the inputs you have like these examples of the text But yeah, everything is pre-defined and why you need to do that. Like in this description you say like here you can put more details on that. How better you tell your situation, it's more probable that people wanted to help. So it was like giving a motivation why I'm asking this information for you.
I tried to keep them most simple as I could this to have the less steps as I could Oh, here is another thing that I said like before. Like when you click the first the button on the top that is click here, I'm going to try to find you. It automatically if the location is working selects the point and also It selects the we create inverse geolocation service to get from a point to get the address. Yeah Google Maps wasn't good for that we need to use OpenStreetMaps because it were more detailed like in Paraguay So you have like the direction, the area, the city, the department that is like
ours kind of like a state there And also like and also it automatically feel this the address field because if you know there is something wrong they can change that so in like this is the view when you look at one help request. And you have like a few things here. Like we you have the phone number there. And if you click it, like this is more for the people that want to help. So If you click on that on that, you know, your phone app opens with that phone number if you click on the WhatsApp button because everybody is WhatsApp outside the US.
And so you click on WhatsApp, it opens WhatsApp with a defined like a default message like hey, I don't know like the name of this person, hey Vero. I saw your I saw your request in a Juda PY with the title of the request and the URL. So people know like doesn't even need to text to type anything. So also you have like this button to open on Google Maps. So we can you know it's easier for navigation. Like if you get the people the whole flow is more probably they're going to help than if they need to I don't know go out open Google map search for the address and stuff And also, as I said, like one of the problems that we have is that
Because we didn't have user accounts We didn't have a practical way to set a request as that it was help or that it was attended. So we rely we rely on people telling us. So you have after that a button for WhatsApp, another for Twitter that say like let us know that you have this request. So And it does the same, like it also just put the name of the number of the request and all the stuff of the information there so we can mark that manually as done or a ten. So thus were good decisions. So I'm going to
26:00 Impact and Project Support
Speaker 1
say some numbers Here but it the thing is like it's the numbers are not important and I know that many people hate that. Everybody want to know hey how many people God help with that and i the answer is i don't know but we have fifteen f fifteenk help requests 3,000 of them they're manually marked as attended and done, but you know, a lot of people just help another people and didn't let us know, you know, because it didn't matter. It's like the important thing was done. So the impact I can say like is immeasurable. I can I can measure that. Thank you. And also like this is like
I need to translate this like it this person said that another thing that when we were having the UX thing that of no ha having accounts and not marking the you know the request as done it was like and what happened if you know many people like people that are ready help got another hell and so on And this lady it says on Twitter like that is the nice thing of the sincerity of the people, you know, and there's three people that they she asked like hey you already received help and they say like yeah we already received help. You know, and these are people that probably aren't going to need help like one week from there. But you know, sometimes people are nice
So probably in this thought in this conference doesn't make any sense this slide, but I also have because people asked me like how you plan to monetize like no fuck no. I'm going to the especially it's especially the thing is like the initial cost was five dollars so it was something that it wasn't something really costly and I that you know it's easier to cover that and also I put like I try to put everything to be unmonetizable. The license is Aferro GPL3, it's open source, like even like the
The data itself is pretty restri it's the data itself it's I forgot the name of the crap did commons but a restricted one so any so for people can't use that. So I want to talk a little more about the support receive. What one good thing it was that DigitalOcean and New Relic got us like some credit so we got like to for at least for one year the platform was cost free because they give us to us this so that was really good and shout out to those companies and well this probably should be in the repercussions part but well
The United Nations Developed Program used the data from Ajura P Ajura PY to get some data and they publish a paper. about the social capital in Paraguay as an asset for combating vulnerability during COVID-19 pandemic. So that was something pretty cool And here are some graphs that so sociologists understand and but they look pretty cool and they I for I w for what I understand it help they it help a lot to for them to make decisions on stuff. Yeah, more cool grabs. Well now I want to talk a little it's a little more
29:51 Emotional Cost of Civic Software
Speaker 1
in a personal way about this talk, about this project. One thing that is complicated when you everything you know like everything that you heard recently looks you know it sounds great But you know, the difficult part of this platform is that you say, oh, I have like 15,000 requests, but Those are 15,000 people or families that are having like a really bad time. So the success of the platform it's it's bittersweet, you know It's not something that it's good and it was totally different to any project that I had
Because you know, like probably you're not going to read this, but it's it's a help request, it's the view of the help request. And you know like sometimes I want to, I don't know, hey What happened if I mute move this button here and I try to I don't know to see how it looks in the in the website and the data like it says like yeah I don't have anything to eat for today or I don't know I was trying to I will say to optimize an a query and when I was testing that I have like I got the you know like the information that I got is like my baby doesn't have anything to eat today. And that is something that when
you start working on that, it's it starts really affecting you. And for me it was I didn't realize at the beginning but it was pretty difficult because I was one of the lucky people that I that I was already working remote. So I didn't lose my job, but you know, the lockdown got declared and for me it was Tuesday. The world f was falling apart and I still need to work and after that I still need to I create something that was helping people. So I couldn't take, you know, like a lot of time off because For me it was like, okay, we found a bug and yeah, if I don't solve that bug, maybe somebody is not going to eat.
So it like it put a lot of pressure on me on me And was something that was like really difficult. I had a really hard time. lost my job at that at that moment because I not I don't want to responsize the this the platform I want to it's myself who I need to responsize, but I was under a lot of a lot of things and I didn't get the support and help that I needed at that time. So my recommendation is that if you are embarking in these kind of projects oh if you are embarking in this kind of projects, I don't know, yeah, we're back.
I have like 20 developers that could took charge. I have many people trying being involved, but you know like I wanted to solve everything and Sometimes that is not the best idea because sometimes you need to put your oxygen mass first before helping others. And also this is just like a unsolicit unsolicited advice you should like everyone should treat therapy like the dentist. Like if everything is okay, just go like one or two times a year. Like not going to hurt.
33:43 Future Plans and Contributions
Speaker 1
So what's next? Well, like last year we associated with un dÃa para dar that is a giving tuesday here in the states it's like in every part of the world you they have like a giving tuesday in this case like last we try to do you know for people to try to help their neighbors. So Given Tuesday Paraguay used the Ajuda PY platform as their own. So they were promoting. So in that date you help somebody. So and that was pretty cool. And
the other thing is that now I'm working, it should have been done, but I still need to create. It's a part for the firefighters because we have especially in this time of the year we have a lot of for forest fires And well so the idea with this is that the what the firefighters struggle the most is in getting their tanks refill, especially in rural areas. So for this is the idea ever to the people to can If you have like a pool or some kind of water reservoir, you can register there and
the firefighters will know where they can recharge their trucks. So, how to contribute? Because it's an open source project. We have issues and we have the localization guide We have the GitHub issues. At this moment I would say that it's a little stale the project, but yeah, if you want to check there. You can do it and most of the issues is are in English, so that is a good thing. Also for the especially for the people that fork our project in indonesia what we did is like to translate all the strings to english first So they can create new localizations.
35:59 Lessons and Closing Reflections
Speaker 1
So it's it's kinda easy like if you want to replicate this project it's kinda easy like you just can use and change the strings and everything works. Pretty cool. Well so now I want to for closing I want to some learnings that we have as because the thing is like it was a personal project first but after that it became a community project so that is why i changed from i to we so we have some learnings One was that quick actions sometimes like the timing is necessary and it doesn't need to be perfect. You know, now is better than never as the Sen of Python says.
Like the MVP was like 20 hours of development, less than 200 line of code in one weekend, three bottles of Fernet, but yeah, in general It worked, you know, like it was like the less performant side ever. Like it just like in the it wrote all the all the stuff all the locations in the template as a javascript. It was horrible, but it worked. And after that I have smart people to join to fix my mess. So another lesson here is that something simple can generate a lot of real impact. I will say simple is better than complex from the scene of Python
And here I will say that probably this is the reason why I decide to have like a software career. Like for me it was almost magic that you can create something from almost nothing and it works and in this case that can affect real people's life and I have this it's This mother wrote to us saying that when she had only two cartons of milk for their baby And saw the tweet talking about the UWIs. She just created a help request and look at now. So for me it's you know
That baby could eat that night. That's something that I don't know like I never realized that that's something that I like we can do like coding. It's insane So for closing up, I'm a really big fan of punk, but religion is one of my favorite bands. And since I was a kid, this phrase of the this part of the song always stuck on me got stuck on me and it said hey man of science with your perfect google measure can you improve this place with the data that you gather And with this project, I hope that I can answer that question with a yes. Thank you.