Gamer Giveaways Fetcher
unlistedby abduznik
Fetches gaming giveaways and organizes them by platform in a collapsible format.
Obsidian Game Giveaways Plugin
This plugin for Obsidian fetches the latest game giveaways from various platforms and organizes them into neat, easy-to-read notes.
Features
- Automatic Updates: Keep your giveaway list fresh with automatic updates.
- Customizable Categories: Giveaways are sorted into categories like Epic Games, Steam, PlayStation, Xbox, and more.
- Detailed Information: Each giveaway entry includes the title, value, description, and instructions on how to claim it.
- Flexible Scheduling: Choose between daily updates or a special weekly schedule that syncs with the Epic Games Store.
How to Use
- Install the plugin:
- Go to the releases page of this repository.
- Download the latest release, which contains
main.jsandmanifest.json. - In your Obsidian vault, go to
.obsidian/plugins/. - Create a new folder named
obsidian-game-giveaways. - Copy the downloaded
main.jsandmanifest.jsonfiles into this new folder. - Restart Obsidian and enable the plugin in the settings.
- Configure the settings:
- Open the plugin settings in Obsidian.
- Folder Name: Choose where you want the giveaway notes to be saved.
- Auto Update: Enable this to have the plugin fetch giveaways automatically.
- Update Schedule:
- Epic Games Weekly Schedule: If you want to sync with the Epic Games Store's weekly giveaways, enable this option.
- Custom Interval: If you prefer a different update frequency, you can set an interval in hours.
- Fetch giveaways:
- The plugin will fetch giveaways automatically based on your settings.
- You can also manually trigger an update by running the "Refresh Game Giveaways By Platform" command from the command palette.
Screenshots
(You can add screenshots here to show the plugin in action.)
For Developers
This plugin is built with TypeScript and Rollup.
main.ts: The main entry point of the plugin.manifest.json: The plugin manifest.package.json: The project dependencies.
Build
To build the plugin, you'll need to have Node.js and npm installed.
- Clone the repository.
- Run
npm installto install the dependencies. - Run
npm run buildto build the plugin.
This will create a main.js file in the project root, which you can then use to test the plugin in Obsidian.
Development
To develop the plugin, you'll need to have Node.js and npm installed.
- Clone the repository.
- Run
npm installto install the dependencies. - Run
npm run devto generate the plugin.
If you get permissions error:
sh: line 1: /home/retro/packages/Obsidian-Game-Giveaways/node_modules/.bin/rollup: Permission denied
Add permission, then try again:
chmod +x node_modules/.bin/rollup
- You should have
main.tsandmanifest.jsongenerated now. - In your Obsidian vault, go to
.obsidian/plugins/and create a new folder namedobsidian-game-giveaways. - Copy
main.tsandmanifest.jsonthere. - Restart Obsidian Vault, should find the plugin now.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.