Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Depreciating My First Package
Ray Arayilakath
Ray Arayilakath

Posted on • Edited on

     

Depreciating My First Package

Update: Thereplapi-it package has been passed on to a new owner!@PikachuB2005 now hastheir own package on the v3 line and chooses to maintain it. It is not related to the previous ReplAPI.it or the ReplAPI.it Project.

Some time ago, I created a post on Dev.to about creating my first package, a NodeJS API for the online IDE Replit. Over the years my skills increased, the knowledgebase increase, and ReplAPI.it got better. We shifted from adding every part of the APIs to creating a package that allows for users to get the data they need without struggling through documentation and ideologies.The package was depreciated.

Why?

The Replit API is crazy and constantly changing, and in our efforts to put every part of it at the disposal of our users we set ourselves up for failure. Every week there was some new error, some change to the site, some new query that threw a wrench in our plans. The situation wassomewhat similar to that faced by the Discord.py devs. We were blind to everything unless someone asked on theDiscord Server. In fact our project was never sponsored (or acknowledged for that matter) by anyone on the Replit team. It became a bit of a pain to manage the package, and attempts to make the process easier andDRYer only made the codebase shift more insane.

Now What?

Well at the current state, the package is unusable and there are no plans by myself to update it. Some community members have used it as a base to create their own versions which I whole-heartedly support. I don't intend on passing the package itself on NPM over to just anyone, but if you update the package to work with the current problems faced by developers then feel free to shoot me an email.

If you want to use the Replit API at it's current state there are a few hurdles. Firstly you needan HTTPS package because the staging domain that allowed HTTP is down and the main site requires HTTPS. The API endpoint is athttps://replit.com/graphql. Secondly, you need a schema. You can find some of it by look in DevTools in Network Requests, reverse-engineer the ReplAPI.it package, or obtain a copy of the schema from some benevolent member of the Replit Team (or Replit Mods). With these two in hand you can create your own projects with the API.

Top comments(2)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
whippingdot profile image
Sanjaay R.
I am a kid who likes coding. I know C++, Python, and HTML. I am learning CSS, JS, and advanced C++. I am going to learn Ruby in the future.
  • Location
    Internet and Replit
  • Joined

Well I haven't learned GraphQL or APIs yet so I am yet to understand the article but good job anyway continuosly working on ReplAPI cause most projects die off afters some time but you continuosly improved it.

CollapseExpand
 
rayhanadev profile image
Ray Arayilakath
swe 🪴 | technological humanist
  • Email
  • Location
    Dallas Fort-Worth Metroplex, TX
  • Education
    Purdue University
  • Joined

Thanks dude, I'm still intent on helping those who want to make something with the API so if you have a great idea lmk.

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

swe 🪴 | technological humanist
  • Location
    Dallas Fort-Worth Metroplex, TX
  • Education
    Purdue University
  • Joined

More fromRay Arayilakath

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp