C/C++ Developers for ReplAPI.it
Hey there Replit! You may have heard of ReplAPI.it or the ReplAPI.it Project in whispers across ReplTalk. Recently I've been looking for more contributors and maintainers for the project, and with a few others started transpiling the biggest Replit API package to other languages. Right now we're working on:
and I'm interested in getting a C/C++ package up as well! I'm not familiar at all with the language and I don't want to overwhelm anyone on the team so I'm looking to ReplTalk for anyone who is interested in helping out! If you're interested in helping make sure you meet the following requirements:
- Advanced Experience in C (or C++)
- Has time to work on transpilation and maintaining the package
- Willing to work with a team
Also if you have any noteworthy projects that use C/C++ for fetching that would be ✨ awesome ✨. I'll evaluate anyone who comments below and get back to you with the team's Top 2 picks. Thank's for reading and be sure to share this out with anyone who would ❤️ you for sharing!
Also, if you have experience in the above except for C/C++ but are proficient in another language feel free to let me know as well and I'm remember you when drafting up Phase 2 :D
I'm good with C++, and some C, but I don't know JS :(
However this sounds really interesting, and I really want to help! So you want to create a C++ API that can access parts of Replit?
I could definitely help, maybe not as an official maintainer, but I could contribute to the repo a bit and potentially work with issues and PRs if needed.
Also, how "official" is this? Does the Replit team know about this? Cause this seems like a really goooooood feature for Replit :)
@DynamicSquid heya! I can add you as an outside contributor so you can pop in when you want. We don't really have anyone working on this yet :(.
It's kinda a transpilation of the JS ReplAPI.it but some minor differences here and there because of the changes in the languages.
It certainly not official and never will be. The Replit team "likes" people using the API but will never endorse it.
If this sounds like I typed it up really fast, it's cause I'm supposed to be cramming. More info later this week.
I'm probably not good enough with C++ to contribute :(, but I'll totally make something with ReplaAPI.it if a C++ lib for it is released.
I have some extensive C and NodeJS background, but how exactly are you planning to port a node package to C/C++?
i know you, hmm but from where...
anyways it's transpiliation converting all the code written in NodeJS to C++ code. Just rewriting the whole thing from top to bottom while preserving the structure and usage so it should feel similar using it in either lang (plus or minus language differences).
You I definitely know would make a great addition to the team, if you're interested I'll talk about it with the rest :D.
@RayhanADev I made this, a fast user info API, just make a GET request to https://replit-user-info-api.epiccodewizard.repl.co/@USERNAME. It will return a lotta info in a short time. Add ?count=true for the number of posts, comments, and repls.
(Came because of the "C++" in the post)
Are you trying to do a full rewrite into every language? That's an awful idea and will make maintainability of the ReplitAPI as a whole terrible!
Not to mention how the implementations across languages will quickly fall out of sync with each other...
I'd suggest setting up an API similar to how Discord sets up their API, it's all done through HTTP, users only implement wrappers that make HTTP connections/requests to their server.
@xxpertHacker that actually is an idea I've been thinking about, but then it'd end up being a wrapper than fetches the custom api that fetches the graphql. Not very efficient although I do see how it would be easier for everyone. And having as native as possible implementations in most (it's not going to be every language) is better for maintainers once the main setup is created because the API functions are more-or-less the same, the only change being the Request body.
I'll definitely take this in mind for some other languages though...
@RayhanADev They aren't that slow and creating the same thing in a ton of different languages is just pointless when a simple wrapper can be done instead.
A few milliseconds is not worth maintaining many versions of the same thing
Not sure why the login part of original package has a whitelist either, since its open source and can easily be removed by anyone that didn't want it.
Wrong ping, it's JBloves27 now.
Me: sees word c++
Me: Sees word advanced