Skip to content

mikeofree/homepage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

I've been looking for a custom api widget I could use on my homepage to display my location and WAN IP. Doesn't have a huge use case but if anyone else was interested, here it is. json formatting applies and it only works on services.yaml. Here's a link to the api to see the custom fields you can also apply. icons

image

    - Wan IP:
        icon: {insert-icon.png} #edit this if you want a icoon
        widget:
         type: customapi
         url: http://ip-api.com/json/
         refreshInterval: 10000 # optional - in milliseconds, defaults to 10s
         method: GET
         mappings:
         - field: 'city' 
           label: City 
           format: text
         - field: 'regionName'
           label: State
           format: text
         - field: 'query'
           label: WAN IP
           format: text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages