ejfox
Hacker-journalist based in New York ![](https://ejfox-canvasvalcontributionchart.web.val.run)
Joined February 28, 2023
Public vals
26
ejfox
nasa
HTTP
* This program creates an HTTP server that fetches various data from NASA APIs
* and returns a JSON response with a collection of interesting information about today.
* It uses multiple NASA APIs to gather diverse space-related data, including real-time imagery
* and additional interesting data points.
0
ejfox
eclipsetoday
HTTP
NAME eclipsetoday - Determine if a solar or lunar eclipse is happening right now DESCRIPTION The script checks if there's a solar or lunar eclipse
currently occurring anywhere on Earth. The script
utilizes a hardcoded list of known eclipses for the
years 2024-2026.
It will return a JSON response indicating whether an eclipse is happening
at the time of the request, along with details about the eclipse if applicable. USAGE The script is designed to be run in a server environment, responding to
incoming HTTP requests. Upon receiving a request, it will return JSON data
in the following format:
```
{
"isEclipseHappening": true/false,
"eclipseDetails": {
"date": "2024-04-08T00:00:00Z",
"kind": "solar",
"type": "total",
"place": "partial: North and Central America; total: northern Mexico, central U.S., and eastern Canada"
},
"checkedAt": "2024-04-08T00:00:00Z"
}
```
If an error occurs during processing, the script will return a JSON error
message with details about the failure.
0
ejfox
githubcollabgen
HTTP
GitHub Collaboration Suggester This tool analyzes the recent GitHub activity of two users and suggests potential collaboration opportunities. Features Fetches the last 3 months of GitHub activity for two users Summarizes activity including event counts, repositories, commits, issues, and pull requests Uses AI to generate collaboration suggestions based on the activity summaries Usage To use it, make a GET request with two GitHub usernames as query parameters: https://ejfox-githubcollabgen.web.val.run?user1=<username1>&user2=<username2> Curl Compare two specific users: curl "https://ejfox-githubcollabgen.web.val.run?user1=ejfox&user2=stevekrouse" Response The API returns a plain text response with AI-generated collaboration suggestions, including: Potential collaborative projects Technologies to explore or learn Ways to complement each other's skills Opportunities for knowledge sharing or mentoring Possible open-source contributions
0
ejfox
githubactivitysummarizer
HTTP
GitHub Activity Summarizer This val.town script fetches a user's recent GitHub activity and generates a summarized narrative overview using OpenAI's GPT model. Features Retrieves GitHub activity for a specified user from the past week Summarizes activity using OpenAI's GPT-3.5-turbo model Returns a concise, narrative summary of the user's GitHub contributions Usage Access the script via HTTP GET request: https://https://ejfox-githubactivitysummarizer.web.val.run/?username=<github_username> Replace <github_username> with the desired GitHub username like https://https://ejfox-githubactivitysummarizer.web.val.run/?username=ejfox
in the past week Note Ensure you have necessary permissions and comply with GitHub's and OpenAI's terms of service when using this script.
0