Skip to content

adguy360/my-awesome-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-awesome-template

my-awesome-telegram

Git-based bookmarking tool powered by GitHub actions, integrated with Telegram, built with Hugo and hosted on GitHub pages

why ???

How it works

TODO for now you must have your own bot

Rules:

  • every multi-line text is evaluated independently
  • the order of the content doesn't matter
  • a message must contains a valid url or it will be ignored i.e. a word that starts with http
  • if a line contains a word starting with ampersand it will be used as source e.g. &hackernews
    • optional, default path is unknown
    • you can define one source: only the first one is used
  • if a line contains a word starting with underscore it will be used as path e.g. _folder_subfolder
    • optional, default path is /random
    • you can define one path: only the first one is used
  • if a line contains a word starting with hash it will be used as tag e.g. #mytag
    • optional, default is empty
    • you can define multiple tags

Setup

TODO

  1. Use this template
  2. create telegram bot
  3. save env (show how to retrieve user_id)
  4. diagram

Development

See my-awesome/actions

Hugo

Resources

sudo snap install hugo --channel=extended

# generate hugo skeleton
hugo new site . --force

# run locally
# http://localhost:1313
hugo server -D

Packages

No packages published

Languages

  • HTML 100.0%