{"id":40574742,"url":"https://github.com/yammmt/last-date","last_synced_at":"2026-01-21T02:02:59.385Z","repository":{"id":39920289,"uuid":"257209949","full_name":"yammmt/last-date","owner":"yammmt","description":"ToDo based on last date I did","archived":false,"fork":false,"pushed_at":"2025-12-14T03:47:44.000Z","size":1847,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T03:55:52.109Z","etag":null,"topics":["bulma","diesel","rocket","rust","tera","todo"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yammmt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-20T07:53:31.000Z","updated_at":"2025-12-14T03:47:47.000Z","dependencies_parsed_at":"2023-02-14T01:31:25.505Z","dependency_job_id":"c9dfdec1-1cd1-48ba-b44d-bab9d23876d0","html_url":"https://github.com/yammmt/last-date","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yammmt/last-date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yammmt%2Flast-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yammmt%2Flast-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yammmt%2Flast-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yammmt%2Flast-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yammmt","download_url":"https://codeload.github.com/yammmt/last-date/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yammmt%2Flast-date/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28622472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulma","diesel","rocket","rust","tera","todo"],"created_at":"2026-01-21T02:02:59.331Z","updated_at":"2026-01-21T02:02:59.377Z","avatar_url":"https://github.com/yammmt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# last-date\n\n![Rust](https://github.com/yammmt/last-date/workflows/Rust/badge.svg)\n\nSimple ToDo list based on last date I did.\n\n![index page image (light)](./img/index_light.png)\n![index page image (dark)](./img/index_dark.png)\n\n## Purpose\n\nThis app's purpose is to remind **me** of forgotten daily tasks like cleaning in specific places (window, shoe case, bed cover, ...).\n\n## Run\n\nFirst, we have to install `sqlite3`.\n\n```bash\ngit clone https://github.com/yammmt/last-date.git\ncd last-date\ncargo run\n```\n\nYou can access your site by accessing `http://localhost:8000`.\n\n### Production environment\n\nIf you want to run this in production environment, for example, run following commands.\n\n```bash\nexport ROCKET_SECRET_KEY=\u003cyour secret key\u003e\ncargo run --release\n```\n\nYou can access your site by accessing `http://\u003cyour machine address\u003e:8000`.  \nNote that you can generate secret key with `openssl rand -base64 32`.\n\n### For developer\n\n#### Database\n\nTo use [Diesel](https://github.com/diesel-rs/diesel) from command line, diesel-cli is needed.\n\n```bash\ncargo install diesel_cli --no-default-features --features sqlite\nexport DATABASE_URL=db/mydb.sqlite # if needed\n```\n\nTo use database file different from one defined in `Rocket.toml`, set environment variable.\n\n```bash\nexport ROCKET_DATABASES='{sqlite_database={url=\"db/mydb.sqlite\"}}'\n```\nNote that this setting is common between `cargo run` and `cargo test`.\n\n#### CSS\n\nThis repository uses the CSS framework [Bulma](https://bulma.io/) and Sass.\nThe procedure to generate css files is the following:\n\n1. Clone submodule repository by `git submodule update --init --recursive`.\n1. Move to `static` directory.\n1. Update `static/mystyles.scss` file.\n1. Generate `static/css/mystyles.css` file by `sass --no-source-map mystyles.scss:css/mystyles.css --style compressed`.\n\n#### Formatter\n\nUse clippy for code lint.\n\n```bash\ncargo clippy\n```\n\nIf you want to work with DB directly, you can use SQLite3 (`sqlite3 db/dev.sqlite`).\n\n```sql\nsqlite\u003e INSERT INTO tasks(name,description,updated_at) VALUES (\"Eat sushi\",\"Essential to my life!\",\"2020-04-20\");\nsqlite\u003e SELECT * FROM tasks;\n110|Eat sushi|Essential to my life!|2020-04-20\n```\n\n## Links\n\n- [Rocket todo example](https://github.com/SergioBenitez/Rocket/tree/master/examples/todo)\n    - This app is based on this example :bow:\n- CSS framework [Bulma](https://bulma.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyammmt%2Flast-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyammmt%2Flast-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyammmt%2Flast-date/lists"}