Skip to content

Top 5 winner of 𝕏 Developer Challenge 2024: A scripting language embeddable in 𝕏's posts to generate dynamic content.

Notifications You must be signed in to change notification settings

joonyoo181/X-ecute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

55 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

image

Top 5 winner of 𝕏 Developer Challenge 2024 (see X's post)

Top 5 winner of 𝕏 Developer Challenge 2024: A scripting language embeddable in 𝕏's posts to generate dynamic content. Designed to be user-friendly and intuitive for users without prior coding experience while being sophisticated enough to handle intricate logic.

image

Problem: Static Content

Currently, posts on X.com are static, meaning they remain unchanged after publication and cannot adapt to different audiences or evolving contexts, such as increased engagement. We aim to develop a feature that allows posts to be dynamic, enabling a single post to fulfill multiple purposes.

Solution: Dynamically Programmed Posts

To enable dynamic posts, we introduced integrated code blocks within the posts themselves. This feature allows users to apply programming logic that can modify posts in real-time, creating a unique experience for different viewers and over various time periods. To ensure it remains user-friendly and intuitive, we developed a straightforward programming language called 𝕏-ecute. This language is designed so that even individuals with minimal or no coding experience can easily enhance their posts.

Motivation

We aimed to democratize the power of computer programming for all users of X by creating a simplified coding language. This language strikes a balance between being intuitive enough for anyone to experiment with enhancing their posts and being sophisticated enough to handle intricate logic. This fusion results in a feature that empowers every user to craft an experience that precisely aligns with their vision of the interaction between the poster and the reader.

Implementation

Our client frontend is built using Next.js and Tailwind CSS to replicate 𝕏’s feed page and facilitate user-generated interactivity. On the backend, we employ Flask, Tweepy, and Grok to handle server-side operations. The compiler, which includes a lexer and code generator, is developed in Python and integrated within the Flask app for simplicity in file management.

image

image

About

Top 5 winner of 𝕏 Developer Challenge 2024: A scripting language embeddable in 𝕏's posts to generate dynamic content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published